MSFN Forum: Add ons for right click MY Computer - MSFN Forum

Jump to content


  • 7 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Add ons for right click MY Computer Add/Remove, Drive Cleanup, Services +++ Rate Topic: -----

#21 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,750
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 February 2004 - 08:39 AM

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.


#22 User is offline   UglyBagofWater 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 30-December 03

  Posted 26 February 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? :)

#23 User is offline   UglyBagofWater 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 30-December 03

Posted 26 February 2004 - 10:46 AM

UglyBagofWater, on Feb 26 2004, 09:45 AM, said:

I'd like to add Event Viewer to the context menu of My Computer.

Any of you awe-inspiring geniuses know how? :)

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

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!

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"


#24 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,750
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 February 2004 - 12:06 AM

UglyBagofWater, on Feb 26 2004, 09:45 AM, said:

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.

UglyBagofWater, on Feb 26 2004, 09:45 AM, said:

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

#25 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,750
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 February 2004 - 06:42 PM

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?

#26 User is offline   christopher 

  • cowboys fan!
  • PipPip
  • Group: Members
  • Posts: 199
  • Joined: 08-January 04

Posted 18 March 2004 - 10:38 PM

;Adds Drive Cleanup to right click of MY Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Drive Cleanup\command]
@="cleanmgr"


:)

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?

#27 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,750
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 March 2004 - 08:12 AM

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

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]
"RPLifeInterval"=dword:00093a80


#28 User is offline   pinion 

  • Group: Members
  • Posts: 8
  • Joined: 30-March 04

Posted 31 March 2004 - 05:12 AM

maxXPsoft, on Feb 27 2004, 12:06 AM, said:

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.

#29 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,750
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 31 March 2004 - 08:24 AM

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

#30 User is offline   DakeKasumi 

  • Group: Members
  • Posts: 4
  • Joined: 05-June 04

Posted 09 June 2004 - 11:32 AM

ljones2, on Feb 6 2004, 02:41 AM, said:

maxXPsoft, on Jan 9 2004, 12:33 PM, said:

[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...

[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?

#31 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,750
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 June 2004 - 03:03 PM

I see nothing wrong with the above look closer. Mine is same as yours except the first reg entry
;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]


DakeKasumi, on Jun 9 2004, 11:32 AM, said:

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.

#32 User is offline   DakeKasumi 

  • Group: Members
  • Posts: 4
  • Joined: 05-June 04

Posted 10 June 2004 - 10:57 AM

maxXPsoft, on Jun 9 2004, 03:03 PM, said:

[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?

#33 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,750
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 June 2004 - 02:45 PM

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.
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.

This post has been edited by maxXPsoft: 24 November 2008 - 05:38 PM


#34 User is offline   DakeKasumi 

  • Group: Members
  • Posts: 4
  • Joined: 05-June 04

Posted 16 June 2004 - 09:59 AM

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?

#35 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,750
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 June 2004 - 05:29 PM

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.

This post has been edited by maxXPsoft: 24 November 2008 - 05:38 PM


#36 User is offline   Rhino 

  • Newbie
  • Group: Members
  • Posts: 49
  • Joined: 12-July 04

Posted 14 July 2004 - 04:08 AM

Pretty cool stuff in this thread - thanx a lot :).

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' ?

#37 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,750
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 July 2004 - 05:47 PM

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
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

#38 User is offline   Rhino 

  • Newbie
  • Group: Members
  • Posts: 49
  • Joined: 12-July 04

Posted 15 July 2004 - 12:04 AM

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 :)

#39 User is offline   medhunter 

  • Emergency physician
  • PipPip
  • Group: Members
  • Posts: 189
  • Joined: 21-December 03

Posted 16 July 2004 - 07:08 PM

maxXPsoft, on Jun 17 2004, 01:29 AM, said:

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 :rolleyes:

wanna tell u the link is dead

keep on good work m8

:)

#40 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,750
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 July 2004 - 07:29 PM

Ok fixed that

This post has been edited by maxXPsoft: 24 November 2008 - 05:39 PM


Share this topic:


  • 7 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy