Adapting .REG Files.

Page 2 of 13 FirstFirst 123412 ... LastLast
  1. Paul Black's Avatar
    Posts : 12,191
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #11

    Matthew Wai said:
    Code:
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Testing1]
    "Icon"="cmd.exe"
    "Position"="Bottom"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Testing1\command]
    @="Winver"
    I have just imported the above and see no impact.
    Thank you for testing that out Matthew Wai.
      My Computer

  2. Paul Black's Avatar
    Posts : 12,191
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #12

    Hello Edwin,

    Edwin said:
    Put the entries in either:

    Computer\HKEY_CLASSES_ROOT\DesktopBackground\Shell

    or

    Computer\HKEY_CLASSES_ROOT\Directory\Background\shell

    If you leave out SubCommands, cascading flyouts won't work.
    So are you saying that the Computer\HKEY_CLASSES_ROOT\Directory\Background\shell is where the Folder Context Menu resides and you can change the position to Top, Middle, or Bottom?
      My Computer

  3. Paul Black's Avatar
    Posts : 12,191
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #13

    Can someone answer this question please, how can I adapt the below REG in order to make it appear in the Top, Middle, or Bottom part of the Context Menu, and enter an Icon of my choice . . .

    Code:
    [-HKEY_CLASSES_ROOT\DesktopBackground\Shell\KillNotResponding]

    Why is there a MINUS in front of it?

    Thanks in advance.
    Last edited by Paul Black; 20 Feb 2020 at 14:57.
      My Computer

  4. Paul Black's Avatar
    Posts : 12,191
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #14

    I should have said that I have got ALL the shell32.dll and imageres.dll icons and their associated icon numbers. It is just a case of finding out how I can enter them into the REG files!
      My Computer

  5. Berton's Avatar
    Posts : 10,525
    Win10 Pro Versions 2004 and 2009/20H2, Win10 Pro IP_Dev, Win10 Home 1909
       #15

    Some versions ago one could Extract icons and put them in a new .dll file then point shortcuts to that file with Properties, Change Icon button, don't know if that procedure is still valid.
      My Computers

  6. Paul Black's Avatar
    Posts : 12,191
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #16

    Hello Berton,

    Berton said:
    Some versions ago one could Extract icons and put them in a new .dll file then point shortcuts to that file with Properties, Change Icon button, don't know if that procedure is still valid.
    I don't actually know, I haven't been using Win 10 that long.

    I have changed the Startup sound [imageres.dll.mun] on login to play the X-Files [.wav] using third-party software, so it is probably achievable!
      My Computer

  7. Edwin's Avatar
    Posts : 17,064
    Windows 10
       #17

    Paul Black said:
    Hello Edwin,


    So are you saying that the Computer\HKEY_CLASSES_ROOT\Directory\Background\shell is where the Folder Context Menu resides and you can change the position to Top, Middle, or Bottom?
    What I meant was, if you want custom reg entries to show in most folders, not just Desktop, then put them in there.
      My Computer

  8. Edwin's Avatar
    Posts : 17,064
    Windows 10
       #18

    Paul Black said:
    Can someone answer this question please, how can I adapt the below REG in order to make it appear in the Top, Middle, or Bottom part of the Context Menu, and enter an Icon of my choice . . .
    Middle is default, Top or Bottom must be specified.
    Icon example: shell32.dll,-3851

    Paul Black said:
    Code:
    [-HKEY_CLASSES_ROOT\DesktopBackground\Shell\KillNotResponding]
    Why is there a MINUS in front of it?
    To remove it.
      My Computer

  9. FreeBooter's Avatar
    Posts : 3,987
    Windows 10 Pro 64-bit
       #19

    Edwin said:
    It's a custom one...


    Code:
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties]
    "Icon"="%windir%\\system32\\systempropertiesperformance.exe"
    "Position"="Bottom"
    "SubCommands"=""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell]
    @="\"C:\\Windows\\System32\\SystemPropertiesPerformance.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\001flyout]
    @="Advanced System Properties"
    "Icon"="\"C:\\Windows\\System32\\SystemPropertiesAdvanced.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\001flyout\command]
    @="\"C:\\Windows\\System32\\SystemPropertiesAdvanced.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\002flyout]
    @="Performance-Visual Effects"
    "Icon"="\"C:\\Windows\\System32\\SystemPropertiesPerformance.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\002flyout\command]
    @="\"C:\\Windows\\System32\\SystemPropertiesPerformance.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\003flyout]
    @="Computer Name"
    "Icon"="\"C:\\Windows\\System32\\SystemPropertiesComputerName.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\003flyout\command]
    @="\"C:\\Windows\\System32\\SystemPropertiesComputerName.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\004flyout]
    @="Hardware"
    "Icon"="\"C:\\Windows\\System32\\SystemPropertiesHardware.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\004flyout\command]
    @="\"C:\\Windows\\System32\\SystemPropertiesHardware.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\005flyout]
    @="System Protection"
    "Icon"="\"C:\\Windows\\System32\\SystemPropertiesProtection.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\005flyout\command]
    @="\"C:\\Windows\\System32\\SystemPropertiesProtection.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\006flyout]
    @="Remote Assistance"
    "Icon"="\"C:\\Windows\\System32\\SystemPropertiesRemote.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\006flyout\command]
    @="\"C:\\Windows\\System32\\SystemPropertiesRemote.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\007flyout]
    @="Data Execution Prevention"
    "Icon"="\"C:\\Windows\\System32\\SystemPropertiesDataExecutionPrevention.exe\""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\ System Properties\shell\007flyout\command]
    @="\"C:\\Windows\\System32\\SystemPropertiesDataExecutionPrevention.exe\""
    Thanks, i have created batch script for this context menu.
    Adapting .REG Files. Attached Files
      My Computer

  10. KeithM's Avatar
    Posts : 794
    Microsoft Windows 10 Home
       #20

    MUIVerb is not required for a context menu item, but if it exists, it takes precedence as the display name of the item. If no MUIVerb is specified, Explorer's next choice will be the value of the (Default) value for the associated key. If there is no (Default) value, the KeyName will be used. So, if you start with:
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\KeyName]
    @="DefaultText"
    "MUIVerb"="MUIVerbText"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\KeyName\Command]
    @="Notepad"
    You get the MUIVerb on the context menu:
    Adapting .REG Files.-screenshot-614-.png

    If MUIVerb is deleted, DefalutText is used:
    Adapting .REG Files.-screenshot-615-.png

    And if there's no (Default) value. the key name is used:
    Adapting .REG Files.-screenshot-616-.png

    As far as the order pf appearance on the meunu, you first have the options of specifying Top, Middle or Bottom; with Middle appearing to be the default if none is specified. Then within those ranges, It seems that items with no MUIVerb specifed appear before items with a MUIVerb specified. Within those sub-categoriess, they appear to be sorted by KeyNam.

    Keith
      My Computer


 
Page 2 of 13 FirstFirst 123412 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 19:37.
Find Us




Windows 10 Forums