neo Posted January 18, 2007 Share Posted January 18, 2007 (edited) 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\CLSIDcreate 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 picGo to TOP to DOWN mannerValues 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}\DefaultIconSet the value of the (Default) is path for Icon of folder or shortcut-like %SystemRoot%\system32\SHELL32.dll,46Values under the HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\InProcServer32Set the value of the (Default) is C:\Windows\system32\shell32.dll create a string value named ThreadingModel and set the value ApartmentValues under the HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\Shell\Open\commandSet the value of the (Default) is explorer /root, D:\BackUp\Softwaresset the command according to folder or shourcut-like for cpls rundll32 shell32,Control_RunDLL "sysdm.cpl" and the path of exe for applicationsrest of (Default) leave blank.Values under the HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\shellexleave blank the value of the all (Default) under the key.Values under the HKEY_CLASSES_ROOT\CLSID\{00000110-0000-0010-8000-00AA006D2EA4}\ShellFolderleave blank the value of the (Default) under the keycreate DWORD value named Attributes and set the value 0.GUID creataion completed andNow navigate the registryTo add to My Computer HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpaceTo add to Comtrol Panel HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpaceTo add to Desktop HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpacecreate the key under the above category named as GUID-like {00000110-0000-0010-8000-00AA006D2EA4}My custom folders and shortcuts. Edited January 22, 2007 by neo Link to comment Share on other sites More sharing options...
possy_99 Posted January 22, 2007 Share Posted January 22, 2007 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 More sharing options...
neo Posted January 22, 2007 Author Share Posted January 22, 2007 As U mention the problem of "Access denied"Use the reg code : temp.rar Link to comment Share on other sites More sharing options...
possy_99 Posted January 22, 2007 Share Posted January 22, 2007 thanks again Link to comment Share on other sites More sharing options...
neo Posted January 23, 2007 Author Share Posted January 23, 2007 thanks again U r welcome. Link to comment Share on other sites More sharing options...
possy_99 Posted February 2, 2007 Share Posted February 2, 2007 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 More sharing options...
possy_99 Posted February 12, 2007 Share Posted February 12, 2007 bump Link to comment Share on other sites More sharing options...
neo Posted February 12, 2007 Author Share Posted February 12, 2007 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.dllI 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.dllIt may helps U. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now