Windows 10: Context menu separator lines not showing in Windows 10 Solved

  1. Polo6RGTI's Avatar
    Posts : 418
    Windows 10 Pro WS x64 17134.320
       22 Jul 2015 #1

    Context menu separator lines not showing in Windows 10


    Hi,

    Since I started using Windows 8, I used a custom all in one context menu with separator lines between the subcommands menu items, but with Windows 10 the separator lines doesn't show at all.

    Any Ideas to how make the separator lines show again?
      My ComputersSystem Spec

  2. Brink's Avatar
    Posts : 33,086
    64-bit Windows 10 Pro build 18262
       22 Jul 2015 #2

    Hello Polo6RGRTl,

    If you like, you can edit the .reg file from step 2 in the tutorial below to see how I added separator lines in the context menu.

    https://www.tenforums.com/tutorials/6...dows-10-a.html

    I placed this DWORD value in the key that I want the separator to appear above.

    "CommandFlags"=dword:00000020


    Hope this helps, :)
    Shawn
      My ComputersSystem Spec

  3. Polo6RGTI's Avatar
    Posts : 418
    Windows 10 Pro WS x64 17134.320
    Thread Starter
       22 Jul 2015 #3

    Brink said: View Post
    Hello Polo6RGRTl,

    If you like, you can edit the .reg file from step 2 in the tutorial below to see how I added separator lines in the context menu.

    https://www.tenforums.com/tutorials/6...dows-10-a.html

    I placed this DWORD value in the key that I want the separator to appear above.

    "CommandFlags"=dword:00000020


    Hope this helps, :)
    Shawn
    Thank you Shawn, it works.
      My ComputersSystem Spec

  4. Brink's Avatar
    Posts : 33,086
    64-bit Windows 10 Pro build 18262
       22 Jul 2015 #4

    You're most welcome. :)
      My ComputersSystem Spec

  5.    27 May 2018 #5

    Brink said: View Post
    "CommandFlags"=dword:00000020

    It doesn't seem to work for certain menu items loaded over shellex or including some special commands.
    Last edited by zamar21; 27 May 2018 at 14:04.
      My ComputerSystem Spec

  6. Brink's Avatar
    Posts : 33,086
    64-bit Windows 10 Pro build 18262
       27 May 2018 #6

    Hello zamar,

    That registry entry still works for me.

    If you like, post the contents of your .reg file to see if anything may stand out.
      My ComputersSystem Spec

  7.    27 May 2018 #7

    Example - doesn't work since the command seems to be loaded over Shellex or the key includes a special command:

    [HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Change Current Display\Shell\Display Settings]
    @=hex(2):40,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,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,\
    69,00,73,00,70,00,6c,00,61,00,79,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,34,\
    00,00,00
    "Icon"="%systemroot%\\system32\\imageres.dll,-5374"
    "SettingsUri"="ms-settings:display"
    "CommandFlags"=dword:00000040

    [HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Change Current Display\Shell\Display Settings\Command]
    "DelegateExecute"="{556FF0D6-A1EE-49E5-9FA4-90AE116AD744}"
      My ComputerSystem Spec

  8. Brink's Avatar
    Posts : 33,086
    64-bit Windows 10 Pro build 18262
       27 May 2018 #8

    Since you only have one item in the context menu and it's not an expandable context menu, it won't add the separator line.
      My ComputersSystem Spec

  9.    27 May 2018 #9

    Its just a code snippet. I posted more here, as the solution is more complex than a typical beginner user would understand. However, using the same approach in a Reg key without @ command present works, as shown there. You're welcome to contribute, if you know how to fix remaining bugs.
      My ComputerSystem Spec

  10. Brink's Avatar
    Posts : 33,086
    64-bit Windows 10 Pro build 18262
       27 May 2018 #10

    Ah, I see.

    You would need to add the separator line registry bit in the item below where you want it inserted.

    In your example code posted there you would add it here below instead to show the separator between "Monitor 1" and "Monitor 2".

    Code:
    [HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\Change Current Display\Shell\Monitor 2]
    "Icon"="%systemroot%\\system32\\imageres.dll,-197"
    "MUIVerb"="LCD TV"
    "CommandFlags"=dword:00000020
      My ComputersSystem Spec


 

Related Threads
How to Add or Remove the New context menu in Windows 10 The New context menu allows users to quickly create new files, folders, or shortcuts in the current location. You can right click or press and hold on your desktop or in any folder window,...
How to Add Take Ownership to Context Menu in Windows 10 This tutorial will show you how to add Take Ownership to the context menu of all files and folders for all users in Windows 10. This will allow you to be able to instantly take...
How to Add or Remove Personalize (classic) context menu in Windows 10 Personalization includes your account's theme settings, desktop background, color and appearance, sounds, screen saver settings, desktop icon settings, mouse pointers,...
A .vbs file is a VBScript (Visual Basic Script) file written in the VBScript scripting language that can be executed within Windows or Internet Explorer via the Windows-based script host (Wscript.exe), and may also use the .vb file extension. The...
How to Add or Remove Extract All Context Menu for ZIP Files in Windows When you right click or press and hold on a .zip file, the Extract All context menu will extract all contents in the .zip file into a new folder and opens the new folder. ...
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 00:33.
Find Us