Create Display Switch shortcut in Windows 10  

Page 2 of 2 FirstFirst 12

  1. Posts : 19
    Win 10
       #10

    Thanks for pointing. Updated the code - it was correct in the linked Tutorial anyway.

    I posted an upgraded solution here, since that thread is better suited for development. It allows to dynamically update icon of Change Main Display Desktop Context Menu option depending on what display configuration was chosen in the menu.
    Last edited by zamar21; 27 May 2018 at 21:14.
      My Computer


  2. Posts : 1
    Windows 10
       #11

    DisplaySwitch.exe /clone To Specific LG TV on Network


    What is the syntax to create a shortcut to point to a particular LG TV device?

    [LG] webOS TV UK6200PUA


    DisplaySwitch.exe /clone ?
      My Computer


  3. Posts : 2
    Custom WIndows 10
       #12

    This wont work for me because the displayswitch.exe is missing in my system32 dir. Is there anyother workaround.
      My Computer


  4. Posts : 16,946
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #13

    TH3H4Ck3R said:
    ... the displayswitch.exe is missing in my system32 dir
    That indicates that the system has been deliberately abused. Scan for malware then run a Repair install.

    Denis
      My Computer


  5. Posts : 2
    Custom WIndows 10
       #14

    Try3 said:
    That indicates that the system has been deliberately abused. Scan for malware then run a Repair install.

    Denis
    Actually it was a reduced custom windows 10 iso I downloaded from a third party website. So, Maybe the files were removed in the installation ISO.
      My Computer


  6. Posts : 16,946
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #15

    TH3H4Ck3R said:
    Actually it was a reduced custom windows 10 iso I downloaded from a third party website. So, Maybe the files were removed in the installation ISO.
    So scan for malware then consider installing a proper copy of Windows 10.

    Denis
      My Computer


  7. Posts : 6
    Windows 10 built 1903 x64 Enterprise
       #16

    zamar21 said:
    1. Run Regedit as Admin, go to key HKEY_CLASSES_ROOT\DesktopBackground\Shell\Display Settings .
    Export it to backup, then take ownership of the key in its Permissions, and delete the key.

    2. Save or download the script below as file ChangeMainDisplay.reg on your PC. Double click the file to run as Admin to add "Change Main Display" drop down menu to Desktop Context Menu. You can change in the script the monitor names in the menu (MUIVerb values) to your liking.

    3. Right Mouse Click on your Windows Desktop, and enjoy the new options. Now you have quick access to desktop shortcuts, Taskbar and System Tray from any monitor set as Main in Context Menu.

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display]
    @=hex(2):00,00
    "Icon"=hex(2):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,31,\
    00,00,00
    "Position"="Bottom"
    "SubCommands"=""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell]
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main 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"=hex(2):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,31,\
    00,00,00
    "Position"="Top"
    "SettingsUri"="ms-settings:display"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Display Settings\Command]
    "DelegateExecute"="{556FF0D6-A1EE-49E5-9FA4-90AE116AD744}"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Dual Monitor]
    "Icon"="%systemroot%\\system32\\themecpl.dll,-1"
    "MUIVerb"="Dual Monitor"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Dual Monitor\Command]
    @="DisplaySwitch.exe /extend"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Monitor 1]
    "Icon"="%systemroot%\\system32\\themecpl.dll,-1"
    "MUIVerb"="PC Monitor"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Monitor 1\Command]
    @="DisplaySwitch.exe /internal"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Monitor 2]
    "Icon"="%systemroot%\\system32\\themecpl.dll,-1"
    "MUIVerb"="LCD TV"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Monitor 2\Command]
    @="DisplaySwitch.exe /external"

    Here's my Tutorial on the subject.

    Attachment 189779

    Attachment 190294
    You are awesome! The windows 10 menu takes forever to launch and thats a great solution. You should upload this to youtube.

    The extended monitor setting is named dual monitor in your menu. I think that is wrong.
      My Computer


  8. Posts : 68,921
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #17

    stefanos46 said:
    You are awesome! The windows 10 menu takes forever to launch and thats a great solution. You should upload this to youtube.

    The extended monitor setting is named dual monitor in your menu. I think that is wrong.
    Hello stefanos, and welcome to Ten Forums.

    If you like, you might see if the "Project Display" context menu below may work better for you.

    Add Project Display context menu in Windows 10
      My Computers


  9. Posts : 1
    Win10 19043
       #18

    zamar21 said:
    1. Run Regedit as Admin, go to key HKEY_CLASSES_ROOT\DesktopBackground\Shell\Display Settings .
    Export it to backup, then take ownership of the key in its Permissions, and delete the key.

    2. Save or download the script below as file ChangeMainDisplay.reg on your PC. Double click the file to run as Admin to add "Change Main Display" drop down menu to Desktop Context Menu. You can change in the script the monitor names in the menu (MUIVerb values) to your liking.

    3. Right Mouse Click on your Windows Desktop, and enjoy the new options. Now you have quick access to desktop shortcuts, Taskbar and System Tray from any monitor set as Main in Context Menu.

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display]
    @=hex(2):00,00
    "Icon"=hex(2):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,31,\
    00,00,00
    "Position"="Bottom"
    "SubCommands"=""
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell]
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main 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"=hex(2):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,31,\
    00,00,00
    "Position"="Top"
    "SettingsUri"="ms-settings:display"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Display Settings\Command]
    "DelegateExecute"="{556FF0D6-A1EE-49E5-9FA4-90AE116AD744}"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Dual Monitor]
    "Icon"="%systemroot%\\system32\\themecpl.dll,-1"
    "MUIVerb"="Dual Monitor"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Dual Monitor\Command]
    @="DisplaySwitch.exe /extend"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Monitor 1]
    "Icon"="%systemroot%\\system32\\themecpl.dll,-1"
    "MUIVerb"="PC Monitor"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Monitor 1\Command]
    @="DisplaySwitch.exe /internal"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Monitor 2]
    "Icon"="%systemroot%\\system32\\themecpl.dll,-1"
    "MUIVerb"="LCD TV"
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Change Main Display\Shell\Monitor 2\Command]
    @="DisplaySwitch.exe /external"

    Here's my Tutorial on the subject.

    Attachment 189779

    Attachment 190294
    Hello and thanks for your Reg file. I downloaded and installed it and it was working fine, now when I try to switch to my TV it does not work, I have to use the monitor to switch to my TV and TV to switch to my monitor. Also while in TV if I switch monitor (TV) and turn TV off my monitor goes blank like I switched to TV. I tried to install it again but still doing same thing. Any ideas?
      My Computer


 

Tutorial Categories

Create Display Switch shortcut in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 13:48.
Find Us




Windows 10 Forums