December 24, 200619 yr I m trying to add shourcut Group policy and device manger under right click of My ComputerI m using this reg code, some1 help to do right thing, I can't understand what is wrong with me.Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\devmgmt]@="@%windir%\\system32\\devmgr.dll,-4"[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\devmgmt\command]@="%windir%\\system32\\mmc.exe /s %windir%\\system32\\devmgmt.msc"[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\gpedit]@="@%windir%\\system32\\gpedit.dll,-1"[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\gpedit\command]@="%windir%\\system32\\mmc.exe /s %windir%\\system32\\gpedit.msc"when i click on menu the error comes up
December 24, 200619 yr Author some1 tell me how del the (default) or change the type of reg like REG_SZ to REG_EXPAND_SZmay be this trick helpful to overcome with this reg problem
December 24, 200619 yr [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}]@=-will delete the default value.Dunno how it should be done but I first create the key, then create a new expandable string value called @ with your command as the value, then export the key and remove the original @ value (which is the default) and use mine after removing the quotes to get something like this [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\devmgmt]@=hex(2):40,00,25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,\ 79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,65,00,76,00,6d,00,67,\ 00,72,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,34,00,00,00[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\devmgmt\command]@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,\ 00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,\ 65,00,78,00,65,00,20,00,2f,00,73,00,20,00,25,00,77,00,69,00,6e,00,64,00,69,\ 00,72,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\ 64,00,65,00,76,00,6d,00,67,00,6d,00,74,00,2e,00,6d,00,73,00,63,00,00,00[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\gpedit]@=hex(2):40,00,25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,\ 79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,67,00,70,00,65,00,64,00,69,\ 00,74,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,31,00,00,00[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\gpedit\command]@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,\ 73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,\ 00,65,00,20,00,2f,00,73,00,20,00,25,00,77,00,69,00,6e,00,64,00,69,00,72,00,\ 25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,67,00,70,\ 00,65,00,64,00,69,00,74,00,2e,00,6d,00,73,00,63,00,00,00
December 25, 200619 yr Can you not just make do with this?Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\devmgmt]@=hex(2):40,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\ 00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,\ 65,00,76,00,6d,00,67,00,72,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,34,00,00,\ 00[HKEY_CURRENT_USER\Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\devmgmt\command]@=hex(2):6d,00,6d,00,63,00,20,00,2f,00,73,00,20,00,25,00,73,00,79,00,73,00,74,\ 00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,\ 65,00,6d,00,33,00,32,00,5c,00,64,00,65,00,76,00,6d,00,67,00,6d,00,74,00,2e,\ 00,6d,00,73,00,63,00,00,00[HKEY_CURRENT_USER\Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\gpedit]@=hex(2):40,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\ 00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,67,00,\ 70,00,65,00,64,00,69,00,74,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,31,00,00,\ 00[HKEY_CURRENT_USER\Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\gpedit\command]@=hex(2):6d,00,6d,00,63,00,20,00,2f,00,73,00,20,00,25,00,73,00,79,00,73,00,74,\ 00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,\ 65,00,6d,00,33,00,32,00,5c,00,67,00,70,00,65,00,64,00,69,00,74,00,2e,00,6d,\ 00,73,00,63,00,00,00I've shortened the excessive commands a little!
December 25, 200619 yr Author thanks solution is working fine but i want to know what is wrong in My CODE.
December 26, 200619 yr they are showing you, @=hex(2):which creates a REG_Expand_SZ keyand actually you don't need but the 2 keys with the command[HKEY_CURRENT_USER\Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Device Manager\command]@=hex(2):6d,00,6d,00,63,00,20,00,2f,00,73,00,20,00,25,00,73,00,79,00,73,00,74,\00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,\65,00,6d,00,33,00,32,00,5c,00,64,00,65,00,76,00,6d,00,67,00,6d,00,74,00,2e,\00,6d,00,73,00,63,00,00,00[HKEY_CURRENT_USER\Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Group Policy Editor\command]@=hex(2):6d,00,6d,00,63,00,20,00,2f,00,73,00,20,00,25,00,73,00,79,00,73,00,74,\00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,\65,00,6d,00,33,00,32,00,5c,00,67,00,70,00,65,00,64,00,69,00,74,00,2e,00,6d,\00,73,00,63,00,00,00 Edited December 26, 200619 yr by maxXPsoft
Create an account or sign in to comment