Help - Search - Members - Calendar
Full Version: Add ons for right click MY Computer
MSFN Forums > Customizing Windows and Graphics > Windows Tips 'n' Tweaks
Pages: 1, 2

   
Google Internet Forums Unattended CD/DVD Guide
maxXPsoft
Dug around through my stuff and came up with these.
You can pratically add anything you like but you have to play with the values to get it right. tongue.gif
QUOTE
Windows Registry Editor Version 5.00

;Adds Add/Remove to right click of MY Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Add/Remove\command]
@="control appwiz.cpl"


MyPC_context.reg
EDIT: Save this and right click it and choose merge. Should be instantantly added to the right click of your My Computer icon.
Edit the file and remove what you don't want with a ; at beginning
CODE
;[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Add/Remove\command]
;@="control appwiz.cpl"
BOTH LINES


Use this to restore your My Computer to Original. XP Only. Export that shell subkey for Vista, may be the same
Default for Windows XP My Computer.reg
Aaron
good job newwink.gif
maxXPsoft
Guess I should have added it to Tweak list but when I came across it I just added.
maxXPsoft
Added to above
integer
How can I add "Add to Restricted Zone" and "Add to Trusted Zone" to the
right click of IE?
diesel_98a
how nifty. pretty soon we won't need the control panel.
maxXPsoft
QUOTE (integer @ Jan 26 2004, 10:41 AM)
How can I add "Add to Restricted Zone" and "Add to Trusted Zone" to the
right click of IE?

Have to dig around on that one
EDIT;
I've added stuff there before quite some time ago and if I recall right thats a call to a dll.

However OK - Control Panel
;Adds Control Panel to right click of MY Computer
Added to above
diesel_98a
there is a program called rjhextenstions that will add the following to a right click:
Path to clipboard:
Copies the path of the selected folder or file to the
clipboard.

Shred File(s):
Overwrites and then deletes the selected file or files.
WARNING: Shredded files cannot be recovered.

Rename Files:
The Rename Files extension allows you to quickly and
easily rename multiple files in multiple folders.

Encrypt File:
The Encrypt/Decrypt extension allows you to easily
encrypt and then decrypt any file using a modified
version of the powerful Blowfish encryption algorithm.

Duplicate File(s):
Creates a copy of the selected file or files in the
same directory. The duplicate files will maintain the
properties of the original.

Copy directory list to file:
Creates a file named "dir.txt" in the selected directory
which contains a list of all files, their dates and sizes,
in the selected directory.

Print directory list:
Sends a list of all files, their dates and sizes, in the
selected directory to the default printer.
find it here: rjhsoftware.com
Stix
Heres a couple more :

Add Device Manager....

CODE
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Devices]
@=hex(2):44,00,65,00,76,00,69,00,63,00,65,00,20,00,4d,00,61,00,6e,00,61,00,67,\
 00,65,00,72,00,00,00
"SuppressionPolicy"=dword:4000003c

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Devices\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,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
 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,20,00,2f,00,73,00,00,00


Add Registry Editor...

CODE
REGEDIT4

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
"LocalizedString"=hex(2):25,55,53,45,52,4e,41,4d,45,25,27,73,20,43,6f,6d,70,75,74,65,72,00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\regedit]
@="Registry Editor"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\regedit\command]
@="C:\\Windows\\Regedit.exe"


Enjoy.
maxXPsoft
QUOTE
pretty soon we won't need the control panel.

lol exactly, but the list will get large like a second Start Menu.

diesel_98a I already have most those things except Shred, encrypt without another program. Just a little reg editing.

Stix Nice additions. As I've said you can add anything. I use my Jump2Reg for all my Reg editing. You can save entries with it.
But as much as I'm in there its on Quick Launch smile.gif)
maxXPsoft
I'd still like to know how to add something to right click on Desktop without extra program..
ljones2
QUOTE (maxXPsoft @ Jan 9 2004, 12:33 PM)
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\[LogOff]\command]]
@="shutdown -l -f -t 5"

Just thought I would point it out..typo...it should read...

CODE
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\[LogOff]\command]
@="shutdown -l -f -t 5"


Thanks for the tweaks, they are very helpful.

Thanks.
maxXPsoft
ljones2
K thanks I fixed it.
Yes these beat Start then Turn off Computer then Turn off again? good grief...
gosh
I made an inf adding to the my network places context menu. Since i posted it i've majorly revised it, but there seems to be no interest so i won't post the updated file.

http://www.MSFN.org/board/index.php?showtopic=14733

-gosh
maxXPsoft
Gosh, Probably most are at home and don't have the network thing going. I want to eventually do the home network here so I'm adding your stuff to my personal list. Thanks.
ljones2
I do have one question.

How come my computer got renamed after applying the tweaks. I can manually rename it. I'm just curious.



Thanks.
maxXPsoft
QUOTE
How come my computer got renamed after applying the tweaks. I can manually rename it. I'm just curious.

I saw that once but after a reboot or refresh it disappeared without me doing anything. Normally the key you write to change the My Computer name is this

CODE
Change name of "My Computer"
yn = "%USERNAME% on %COMPUTERNAME%"
Reg_Write HKEY_CLASSES_ROOT, "CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}", "LocalizedString", yn, REG_EXPAND_SZ
   Else
yn = "@%SystemRoot%\system32\SHELL32.dll,-9216"
Reg_Write HKEY_CLASSES_ROOT, "CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}", "LocalizedString", yn, REG_EXPAND_SZ

Perhaps too many entries on this key? I'm not sure, I have every one of them thats listed here and mine says MY Computer.
ljones2
Doesn't work on mine. I've even edited the registry manually and it doesn't make any difference. The only way I have found to change the name is to right click my computer icon>rename and type in the new name. hmm...weird.

Thanks.
maxXPsoft
Has anyone else seen this?
Check the entries carefully ljones2
It could be just one of them doing that and be nice to figure out what but I have them all and nothing. Don't remember when I saw that and after doing what. Is strange.
christopher
CODE
;Adds Drive Cleanup to right click of MY Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Drive Cleanup\command]
@="cleanmgr"


i get up to the \shell\... but i don't have a "Drive Cleanup" part there. sad.gif. which may be a problem? (look at my post in the windows xp section).

realmad.gif
maxXPsoft
QUOTE
i get up to the \shell\... but i don't have a "Drive Cleanup" part there.

Not going to be there till you add them. Merge the reg as listed or what you'd like to have.
UglyBagofWater
I'd like to add Event Viewer to the context menu of My Computer.

Any of you awe-inspiring geniuses know how? newwink.gif
UglyBagofWater
QUOTE (UglyBagofWater @ Feb 26 2004, 09:45 AM)
I'd like to add Event Viewer to the context menu of My Computer.

Any of you awe-inspiring geniuses know how? newwink.gif

Hey! Maybe I can add my name to the list of MSFN geniuses. Nah, no where near the level some of you are! tongue.gif

But I did answer my own question: easier (in this case) then I thought. Next question is, how do you find out what value to add for the add-in? How would one know that for Services, it's multi-key and in hex?

Thanks!

CODE
Windows Registry Editor Version 5.00

;Adds Add/Remove to right click of MY Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Event Viewer\command]
@="eventvwr"
maxXPsoft
QUOTE (UglyBagofWater @ Feb 26 2004, 09:45 AM)
But I did answer my own question:  easier (in this case) then I thought.

Yes I said you can add anything just may have to play with the value.
QUOTE (UglyBagofWater @ Feb 26 2004, 09:45 AM)
Next question is, how do you find out what value to add for the add-in?  How would one know that for Services, it's multi-key and in hex?


Take a look at the command for services. Its a Reg_Expand_SZ key which allows commands to be carried out. Thats why its different. Some things are direct access due to their naming and they run as executables and others need something like that because they run with something else. See we're calling mmc first with value of services.msc. Do a find in your Win dir for all .msc, there are a bunch.
%windir%\system32\mmc.exe /s %SystemRoot%\system32\services.msc /s

Another example would be like this
%windir%\hh.exe ms-its:C:\WINDOWS\Help\ntcmds.chm::/ntcmds.htm
Which opens the Command-line reference A-Z. Place that in the RUN dialog and you'll see what it is.

Another which works in a shortcut but not directly in the Right click services. Can be added with the Reg_Expand_SZ and Hex and all. It opens NET Diagnostics
hcp://system/netdiag/dglogs.htm
maxXPsoft
I take that back
I can't get hcp://system/netdiag/dglogs.htm to run.
I'll get it eventually when I have time but if anyone have anything on getting hcp to run from registry?
christopher
CODE
;Adds Drive Cleanup to right click of MY Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Drive Cleanup\command]
@="cleanmgr"


mad.gif

i can't do a drive clean up on my computer no matter what i do... when i go to start menu.. accessories, and access it from there, i can do my d:/ real quick and easy.. but it won't let me do my c:/.. it just says it's scanning or checking or whatever.. but doesn't do anything, no matter how long i let it sit.

disk cleanup doesnt work on my c:/.. i have no idea how to fix it or what to do. it just won't go.

any help?
maxXPsoft
I've read most your problem's in the other forum's man and about all I can say is FORMAT that dude and get it back to beginning. Then from there use system restore and watch very carefull what you do and if you see problem's, restore it. Install recovery console to make it easier just in case. Yes you can run system restore from the command prompt. I limit system restore and I know within minutes, an hour or even next day if something isn't right, I have an option cause the way I set Restore up it work's perfectly for me, now that's strange that MS got that right if it's limited. I limit my restore to 7 day's for one so you don't get the garbage and excessive disk usage, but who care's with a large main drive.. But limiting it, it work's for me.

Set system Restore to 7 day's, 604800 is decimal, below is hex
Basically its DAYS X 86400 in decimal

CODE
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]
"RPLifeInterval"=dword:00093a80
pinion
QUOTE (maxXPsoft @ Feb 27 2004, 12:06 AM)
Take a look at the command for services. Its a Reg_Expand_SZ key which allows commands to be carried out. Thats why its different. Some things are direct access due to their naming and they run as executables and others need something like that because they run with something else.

No, REG_EXPAND_SZ stands for expandable strings. It means it will process (expand) environment variables like %SystemRoot% prior to passing the resultant value to the caller. It has nothing to do with something being an executable or requiring another app to run.
maxXPsoft
QUOTE
No, REG_EXPAND_SZ stands for expandable strings.
Dang I didn't know that. Actually I just didn't go into techno babble cause its not my thing, least I try not to. Just don't want to confuse anyone. Guess I screw up calling it command's since it's carrying out several. First calling (MMC)Microsoft Management Console and then the services.msc. But you can call it from a REG_SZ key
C:\Windows\system32\mmc.exe /s C:\Windows\system32\services.msc /s
instead of
%windir%\system32\mmc.exe /s %SystemRoot%\system32\services.msc /s
Looks like a series of command's. You can't call C:\Windows\system32\services.msc /s direct though except from Command Prompt or RUN.

So to do this whole thing with a REG_SZ key;
QUOTE
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services]

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services\command]
@="C:\\Windows\\system32\\mmc.exe /s C:\\Windows\\system32\\services.msc /s"


Only thing is if someone spec's a different drive or root, then the Expand work's much nicer with less trouble. Gee thanks MIKEY
DakeKasumi
QUOTE (ljones2 @ Feb 6 2004, 02:41 AM)
QUOTE (maxXPsoft @ Jan 9 2004, 12:33 PM)
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\[LogOff]\command]]
@="shutdown -l -f -t 5"

Just thought I would point it out..typo...it should read...

CODE
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\[LogOff]\command]
@="shutdown -l -f -t 5"


Thanks for the tweaks, they are very helpful.

Thanks.

im a bit lost..i cant seem to get any fo them to work..am i missing a program to do this stuff or what? What am i not supposed to type, i get as far as making the new Keys all the way to command, but after that whatever i type in doesnt seem to work...but in the process of tryign these out i did accedentlly figure out how to add Program shortcuts to the right click. ...anywway...what is @= supposed to stand for?
maxXPsoft
I see nothing wrong with the above look closer. Mine is same as yours except the first reg entry
CODE
;Adds LogOff to right click of MY Computer.  I add the [] to group these
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\[LogOff]]   << double ] there, not on next line

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\[LogOff]\command]


QUOTE (DakeKasumi @ Jun 9 2004, 11:32 AM)
Thanks. im a bit lost..i cant seem to get any fo them to work..am i missing a program to do this stuff or what? What am i not supposed to type, i get as far as making the new Keys all the way to command, but after that whatever i type in doesnt seem to work...but in the process of tryign these out i did accedentlly figure out how to add Program shortcuts to the right click. ...anywway...what is @= supposed to stand for?

You probably need to copy and paste into a reg file and merge for them to work, the @ is probably your problem. That means default value and you can't change it unless by reg write or merge. There should be only 1 entry in these and its the default value. Go look at this key, HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell and you probably will see default with value of None. Don't change that as its supposed to be that way.
DakeKasumi
QUOTE (maxXPsoft @ Jun 9 2004, 03:03 PM)
[qoute]
You probably need to copy and paste into a reg file and merge for them to work, the @ is probably your problem. That means default value and you can't change it unless by reg write or merge. There should be only 1 entry in these and its the default value. Go look at this key, HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell and you probably will see default with value of None. Don't change that as its supposed to be that way.

So explain this to me step by step here..i go to Wordpad right, type the text in as seen here? And then save and Then Merge....what goes where and where do i stop, and do i have to go to the rgistry to finish or what?
maxXPsoft
If you wanted to add them all that I've listed then go into regedit and export this key. I'm running XP and I hope you are. I haven't tested with anything else.
CODE
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell
save that as MyPC_shell.reg somewhere for a backup.
Sometimes just pasting to wordpad don't work so I included. A better method for pasting is to make a copy of the shell.reg then paste what I have into it. Or here it is.

Save that and right click it and choose merge. Should be instantantly added to the right click of your My Computer icon.
DakeKasumi
ok kool...i managed to get the control panel on my right click, it was simpler then i thought, but how do i get folders there?
maxXPsoft

Save this as AnyFolder.reg.
It now points to C:\Windows\Inf folder and you can modify it to what you want. Note you need the double \\ in it.
Rhino
Pretty cool stuff in this thread - thanx a lot biggrin.gif.

Got 2 questions:

1. In what order are the options in the My Computer right click menu shown - it ain't alphabetically - seems more at bit random.

2. How do I make a horizontal line like the one between fx. Rename and Properties - is it possible to fx. make one so Reboot, Shutdown & LogOff have their own 'section' ?
maxXPsoft
You know I've noticed that but never thought nothing of it.
I group them now by adding _ .
_Logoff
_Reboot
_Shutdown

Ok I added this
CODE
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\_]
@="------------------"

Notice the underscore _ at end of Reg, same as my Logoff, reboot and so on.
Its Generic but works, any of the others i've looked at are a dll call.

Perhaps someone else may know how to add
SEPARATOR
Rhino
So this is a way to kind of build your own seperator, but not quite the same. I actually remember reading some post in another board about making these in the start menu - the first part of it that pops up - and the answer to that was somethink like having to use Resource Hacker. I'm not familiar working with that tool though.

Thanx maxXPsoft for givin' it a shot smile.gif
medhunter
QUOTE (maxXPsoft @ Jun 17 2004, 01:29 AM)
AnyFolder.reg
Save this as AnyFolder.reg.
It now points to C:\Windows\Inf folder and you can modify it to what you want. Note you need the double \\ in it.

thx for sharing biggrin.gif

wanna tell u the link is dead

keep on good work m8

thumbup.gif
maxXPsoft
Ok fixed that
maxXPsoft
Rhino,
Trouble with hacking a dll is tomorrow there may be an update to it and change the dll so you would then have to re-do your hack. I personally can do without. Yes you can use resource hacker and mod the shell32.dll
Rhino
OK, I can do without as well. It's not that important. I'll try making a folder instead - it's just to get those 'dangerous' shortcuts a little out of the way - but still easy to access.
Rhino
Hmm.. think I misunderstood the AnyFolder tweak - I thought it was in the My Computer right click menu. I'll figure something else out.

Thanx for now smile.gif

Edit: My final solutions is very close to your first example maxXPsoft. Just needed some more space in my opinion newwink.gif. So now it's [ Reboot ] & [ Shutdown ]. biggrin.gif
maxXPsoft
The Anyfolder is on right click Start, where Open, Explore is. Its just a simple shortcut to any thing you want. You can actually put the Reboot, Shutdown there also if you wanted. Just save's step's instead of Start, Shutdown (select option) Ok
good grief make it easy i wanna reboot test this tweak kind of thing.

Swap em which ever way you want, add it to My Computer also but mine's kinda crowded since i have so much there. With the CMenuExtender folder's and file's have their own bit of stuff also. The Right click context menu in my Sig.

It's just a matter of setting Window's to work the way you want it to.
Rhino
Allright smile.gif

I like it as it is now ... works well.

Thanx for your support biggrin.gif
snakefood
Wow...i thought i knew a fair bit about windows.....

You guys have got loads of pukka tweaks here, thanx to all of you.

I esp like the add/remove proggies and device manager.
maxXPsoft
add/remove is very useful from MY PC if you're working in Explorer so you can clean up any extra file's
newwink.gif
Echolomax
anybody knows how to make this tweak in every right click?
maxXPsoft
http://www.msfn.org/board/index.php?showto...=0&#entry155975
Might look at that.
DigeratiPrime
does ne1 know the reg key to rename it back to "My Computer", Ive tried search, but I couldnt find the reg key for it.
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.