1.    22 Aug 2015 #1
    Join Date : Aug 2015
    Posts : 1
    windose 5

    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.


    Click image for larger version. 

Name:	aa.jpg 
Views:	20 
Size:	51.4 KB 
ID:	33093Click image for larger version. 

Name:	bb.png 
Views:	20 
Size:	23.1 KB 
ID:	33094
      My ComputerSystem Spec
  2.    22 Aug 2015 #2
    Join Date : Feb 2014
    Posts : 9,502
    Windows 10 Professional

    Quote Originally Posted by Fraad View Post
    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.


    Click image for larger version. 

Name:	aa.jpg 
Views:	20 
Size:	51.4 KB 
ID:	33093Click image for larger version. 

Name:	bb.png 
Views:	20 
Size:	23.1 KB 
ID:	33094
    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.

    Click image for larger version. 

Name:	000141.png 
Views:	2 
Size:	29.4 KB 
ID:	33099
      My ComputersSystem Spec

 


Similar Threads
Thread Forum
Customization Add or Remove Open with Context Menu to URL files in Windows 10
How to Add or Remove Open with Context Menu to URL files in Windows 10 A .url file is an Internet shortcut that opens with your default web browser. The Open with context menu allows you to choose an app to open the file with. By default,...
Tutorials
Solved Can't add shortcuts to start menu
I can't pin shortcuts to start menu , i tried drag and drop , but it won't let me. I also don't have a "Start Menu' tab in taskbar properties. 2727527276
Customization
Customization Open Win+X Quick Link Menu in Windows 10
How to Open Win+X Quick Link Menu in Windows 10 The Win+X Quick Link menu is a pop-up menu from the Start button that includes shortcuts of common management, configuration, and other power user Windows tools. Starting with Windows 10 build...
Tutorials
W10 Pro Start menu problems - can't pin and (almost) empty User menu
Hey. A couple of issues with W10 start menu ( - not sure if they're symptoms of the same thing. This is GA x64 W10 with all current updates installed 1) Pin to start menu doesn't pin anything to the start menu. I wanted to pin File History - R...
General Support
Pin shortcuts to Start Menu
What am I missing here? I can pin exe's with a right click but trying to do this with a desktop shortcut does nothing. If it is not allowed, why does the context menu have 'Pin to start' in it? Just wondering.
General Support
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 04:18.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums