Shortcuts to open power menu or user menu.


  1. Posts : 1
    windose 5
       #1

    Shortcuts to open power menu or user menu.


    Does anyone know if there's a command that can be pasted into a shortcut; That opens the power menu or user menu? I.e where you sign out or lock your computer.

    The shortcut is meant to be on the desktop.

    Some screenshots showing what menus I'm referring to.


    Shortcuts to open power menu or user menu.-aa.jpgShortcuts to open power menu or user menu.-bb.png
      My Computer


  2. Posts : 17,838
    Windows 10
       #2

    Fraad said:
    Does anyone know if there's a command that can be pasted into a shortcut; That opens the power menu or user menu? I.e where you sign out or lock your computer.

    The shortcut is meant to be on the desktop.

    Some screenshots showing what menus I'm referring to.


    Shortcuts to open power menu or user menu.-aa.jpgShortcuts to open power menu or user menu.-bb.png
    You could try the following, although 'Lock' will not show in this menu:

    Paste the following into Notepad and Save as power.vbs in your C: directory:

    Code:
    dim objShell
    set objShell = CreateObject("shell.application")
    objshell.ShutdownWindows
    set objShell = nothing
    now, create a shortcut for your desktop and name it whatever you wish.
    Right click on the shortcut chose properties, Change Icon, and give it a 'power' icon or something suitable.

    Shortcuts to open power menu or user menu.-000141.png
      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 16:21.
Find Us




Windows 10 Forums