Adapting .REG Files.

Page 2 of 13 FirstFirst 123412 ... LastLast

  1. Posts : 18,044
    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. Posts : 18,044
    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. Posts : 18,044
    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 15:57.
      My Computer


  4. Posts : 18,044
    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. Posts : 14,022
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #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. Posts : 18,044
    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. Posts : 17,838
    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. Posts : 17,838
    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. Posts : 5,330
    Windows 11 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. Posts : 989
    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


 

  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 12:57.
Find Us




Windows 10 Forums