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

Jump to content



  • 7 Pages +
  • « First
  • 5
  • 6
  • 7
  • 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: -----

#121 User is online   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 August 2011 - 04:22 AM

There is one more question: When I add things to the menu, are they sorted automatically somehow, or can I possibly change the order?


#122 User is offline   GrofLuigi 

  • GroupPolicy Tattoo Artist
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,196
  • Joined: 21-April 05
  • OS:none specified
  • Country: Country Flag

Posted 02 August 2011 - 07:17 AM

View PostTheWalrus, on 02 August 2011 - 03:21 AM, said:

I noticed that my computer right click menu can be configured in two different places:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell

and

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

What's the deal? Do I need to set both or?


[HKEY_CLASSES_ROOT] is a redirect (merge) of both [HKEY_LOCAL_MACHINE\SOFTWARE\Classes] and [HKEY_CURRENT_USER\SOFTWARE\Classes]

GL

#123 User is offline   maxXPsoft 

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

Posted 02 August 2011 - 09:11 AM

Sorted like file sort normally. You also have the "top" "bottom" on some

My right click .wim [HKEY_CLASSES_ROOT\WIMfile\Shell\.Wim] where the . makes it very top. Add Right click .wim Windows 7
I then wrote all my sub keys in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell
this key here sets the sort order for those with SubCommands

[HKEY_CLASSES_ROOT\WIMfile\Shell\.Wim]
"MUIVerb"="Windows Imaging Format (WIM)"
"SubCommands"="Mkdir zMountdir zPackage;.Wim Info;DISM log file;Mount # 1 R/W | if boot.wim is PE;Mount # 2 R/W | if boot.wim is Default;Mount # 3 R/W;Mount # 4 R/W;Mount # 5 R/W;Drivers Packages Features To Desktop;Add-Driver's;Add-Package *.cab *.msu;Unmount + Save zMountDir;Unmount NO SAVE zMountDir;Cleanup + Delete zMountDir;IMAGEX .Wim Info;IMAGEX compress export"
"icon"="isoburn.exe"

This post has been edited by maxXPsoft: 02 August 2011 - 09:13 AM


#124 User is online   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 August 2011 - 11:50 PM

Like file sort? So alphabetically? Doesn't seem so in my case. Also my items are in the "root" of the menu, so I do not think I can sort them manually like you do.

#125 User is offline   maxXPsoft 

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

Posted 04 August 2011 - 07:11 AM

Look at this. My right click on desktop and on the right is my reg entries. Open command window here is actually named cmd and is second
Depends on what they are named in this portion. I know programs throw things all over the place and I think that is from their clsid

Attached File  background.png (51.38K)
Number of downloads: 19

This post has been edited by maxXPsoft: 04 August 2011 - 07:13 AM


#126 User is online   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 August 2011 - 08:42 AM

Hm, in my case Device manager is before Add/remove programs even though the keys are named just like that in the registry already, so I really have no idea how it works.

Or actually now that I look at it the order seems to be descending, which really makes no sense at all.



#127 User is offline   maxXPsoft 

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

Posted 04 August 2011 - 09:45 AM

Device manager was a direct call
correct it by doing this

[HKEY_CLASSES_ROOT\Directory\Background\shell\DevMgr]
@=""
"Icon"="devmgr.dll,-201"
"Position"="Bottom"

[HKEY_CLASSES_ROOT\Directory\Background\shell\DevMgr\command]
@="control hdwwiz.cpl"


If you change all from "Position"="Bottom" to "Position"="Top" then all is at top of list

EDIT : Weird just notice that they are sorting up

Attached File(s)

  • Attached File  top.png (28.75K)
    Number of downloads: 0

This post has been edited by maxXPsoft: 04 August 2011 - 10:27 AM


#128 User is online   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 August 2011 - 02:44 AM

Yeah I tried to name the keys like 01devmgmt, 02eventviewer etc., but the **** things are still sorting up the way they want.

#129 User is offline   maxXPsoft 

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

Posted 05 August 2011 - 04:44 AM

http://msdn.microsof...28VS.85%29.aspx is how I created my right click .wim
It explains how this is sorted down about Specifying the Position and Order of Static Verbs

#130 User is online   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 August 2011 - 06:51 AM

Ouch, that is a bit too complicated for my skills I'm afraid. The key thing seems to be the MUIVerb item though. But do I need to use the subcommands key as well? I am really quite lost in this, although I feel it's no rocket science.

Should it look anything like this? (blind shot really)

Windows Registry Editor Version 5.00

;My Computer context menu
[HKEY_LOCAL_MACHINE\WIM_Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell]
 "SubCommands"="Add/Remove Programs;Device Manager"

;Add Event viewer
[HKEY_LOCAL_MACHINE\WIM_Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Add/Remove Programs]
"MUIVerb"="Add/Remove Programs"
"Icon"="imageres.dll,-161"
"Position"="Top"

[HKEY_LOCAL_MACHINE\WIM_Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Add/Remove Programs\command]
@="control.exe appwiz.cpl"

;Adds Device Manager
[HKEY_LOCAL_MACHINE\WIM_Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Device Manager]
MUIVerb="Device Manager"
"Icon"="shell32.dll,-13"
"Position"="Top"

[HKEY_LOCAL_MACHINE\WIM_Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Device Manager\command]
@="mmc.exe /s devmgmt.msc"





edit: I just tried it on my hope PC and what the hell... All the stuff was actually added to some weird key called wow6432node! It's getting worse and worse.
(I edited the keys for use on already system of course)

(edit2: Solved! After a bit of hopeless googling, I found this:
On 64-bit Windows the local machine software registry "HKLM\Software" is only supposed to contain registry keys for 64-bit EXEs. 32-bit EXEs store their data in HKLM\Software\Wow3264Node. This storage scheme is enforced by the Windows kernel – when a 32-bit EXE writes to "HKLM\Software" the operations are redirected to "HKLM\Software\Wow3264Node"

... after reading it 3 times I realized it was the **** Total Commander, which I am using all the time. Bloody 32bit application... I feel enlightened.
My previous question still remaisn though :P)

This post has been edited by TheWalrus: 05 August 2011 - 02:18 PM


#131 User is online   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 August 2011 - 01:42 AM

I googled like mad and still no results :( Maybe it's not possible to sort the "root" my computer menu?

#132 User is offline   maxXPsoft 

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

Posted 06 August 2011 - 05:39 AM

Think you better off place them on background like this. http://www.msfn.org/...post__p__894130
Background meaning any white space in any folder, desktop
Those are not 64 or 32 specific

Those keys HKEY_CLASSES_ROOT are mirrored here so can be added there
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell

#133 User is online   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 August 2011 - 05:47 AM

I guess that is an option. But I would like to avoid it if possible, because I am bloody sure it would cause a mess if users have those items at hand. Noone rclicks on my computer, but there are certain nosy guys who could screw a machine up digging into services and stuff. Unfortunately there are local admin rights set. Don't ask me why, I disagreeed from the first moment I found about it. Basically I want to have them easily available when I am fixing something remotely, because the connection is pretty slow and getting through lots of menus is pain in the behind.

#134 User is offline   maxXPsoft 

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

Posted 06 August 2011 - 06:30 PM

True, most don't do that, last place I worked was an Admin and all others was just users.

#135 User is online   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 818
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 August 2011 - 02:00 AM

So can you think of a way to sort this particular menu? Is the code I pasted wrong?

Share this topic:


  • 7 Pages +
  • « First
  • 5
  • 6
  • 7
  • 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 - 2011 msfn.org
Privacy Policy