Jump to content

Tutorial | Add a custom folder and shortcut to My Computer or the Desk


neo

Recommended Posts

Tutorial | Add a custom folder and shortcut to My Computer or the Desktop or the Control Panel

===============================================================

this trick create a custom folder and shortcut-like the Control Panel in My Computer, that can't be deleted or renamed.

Navigate the registry using Registry Editor or Registry Editing Tool (I m using Registry Editor)

HKEY_CLASSES_ROOT\CLSID

create a new key with a Globally Unique Identifier(GUID), usually generated by Windows.

Example of GUID:

My Computer {20D04FE0−3AEA−1069−A2D8−08002B30309D}

Recycle Bin {645FF040−5081−101B−9F08−00AA002F954E}

Administrative Tools {D20EA4E1−3957−11D2−A40B−0C5020524153}

We will use a random GUID:

{00000110-0000-0010-8000-00AA006D2EA4}

Now We will create the registry hierachy as the pic

post-92414-1169140733_thumb.jpg

Go to TOP to DOWN manner

Values under the HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}

Set the value of the (Default) is the name of folder or shortcut-like &Softwares & used to create underline character.

Values under the HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\DefaultIcon

Set the value of the (Default) is path for Icon of folder or shortcut-like %SystemRoot%\system32\SHELL32.dll,46

Values under the HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\InProcServer32

Set the value of the (Default) is C:\Windows\system32\shell32.dll

create a string value named ThreadingModel and set the value Apartment

Values under the HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\Shell\Open\command

Set the value of the (Default) is explorer /root, D:\BackUp\Softwares

set the command according to folder or shourcut-like for cpls rundll32 shell32,Control_RunDLL "sysdm.cpl" and the path of exe for applications

rest of (Default) leave blank.

Values under the HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\shellex

leave blank the value of the all (Default) under the key.

Values under the HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\ShellFolder

leave blank the value of the (Default) under the key

create DWORD value named Attributes and set the value 0.

GUID creataion completed and

Now navigate the registry

To add to My Computer HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace

To add to Comtrol Panel HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace

To add to Desktop HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace

create the key under the above category named as GUID-like {00000110-0000-0010-8000-00AA006D2EA4}

My custom folders and shortcuts.

post-92414-1169140765_thumb.jpg

Edited by neo
Link to comment
Share on other sites


Hi m8, first of all, thanks for the info. I have followed your guide but have a little problem.

I now have an icon in control panel for my app but when I try and open it from control panel I get "Access is denied".

I am trying to run the app from either the windows folder or program files folder, this is to try and keep the file out of view so it is not accidentally deleted by other users.

Here's what I have added to the registry:

[HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}]
@="V5 Updater"

[HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\DefaultIcon]
@="%programfiles%\\v5tools\\v5_updater.exe"

[HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\InProcSever32]
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\Shell]

[HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\Shell\Open]

[HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\Shell\Open\command]
@="%programfiles%\\v5tools\\v5_updater.exe"

[HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\shellex]

[HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\shellex\ContextMenuHandlers\{00000110-0000-0010-8000-00AA006D2EA4}]

[HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\ShellFolder]
"Attributes"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{00000110-0000-0010-8000-00AA006D2EA4}]

can you shed any light on the situation?

cheers ;)

Link to comment
Share on other sites

  • 2 weeks later...

ok m8, I have made improvements to the program and also changed the name. Can you explain more about this situation, your updated reg file with the additional hex code did work before I renamed the program, but obviously now it doesnt. How would I go about putting in the right hex values?

thanks yet again ;)

Link to comment
Share on other sites

  • 2 weeks later...
ok m8, I have made improvements to the program and also changed the name. Can you explain more about this situation, your updated reg file with the additional hex code did work before I renamed the program, but obviously now it doesnt. How would I go about putting in the right hex values?

thanks yet again ;)

If we convert the hex code in string it is %SystemRoot%\system32\shdocvw.dll

I don't know how to covert (Default) REG_SZ value to (Default) REG_EXPAND_REG. So then I convert the string into hex and set in .reg file with @=hex(2):

In my opinion U should try new application by changing the name and location of app exe. If the existing reg file not working try with %SystemRoot%\system32\shell32.dll

It may helps U.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...