1.    10 Jun 2016 #1
    Join Date : Jun 2016
    Posts : 6

    how to add sign out/log off to power menu using Group Policy

    Hi All,

    Could someone please provide some ideas.

    We have just upgraded a bunch of users to windows10. And we need to sign out/log off/lock screen from time to time. But this is not obvious in the default desktop layout and these options not available in the power menu. I would like to add the sign out/log off/lock screen options in the power menu and is this possible to add in the layout as well ? And since we have a large number of users I'm thinking of using the Group Policy to do a mass deployment. I'm using Windows Server2012R2

    I've been searching through the settings and policies and in the Group Policy tried enabling the "Add Logoff to the Start Menu" policy setting but that doesn't work. Tried anyway although it doesn't seem to support Windows10. Tried to do the same using the Local Policy Editor on my pc also didn't work.

    Please let me know how to add sign out/log off/lock screen to all users pc on their powermenu/layout using Group Policy in the Windows Server2012. Much appreciated. Thanks in advance.

      My System SpecsSystem Spec

  2.    10 Jun 2016 #2
    Join Date : Nov 2015
    Posts : 1,648
    64bit Win 10 Pro ver 1607 Build 14393.105

    Hello froydo,

    I know this doesn't answer your question but Lock is already in the start menu, you find it by right clicking on your account picture.

    Ctrl+ Alt + Del also works.
      My System SpecsSystem Spec

  3.    13 Jun 2016 #3
    Join Date : Jun 2016
    Posts : 6

    Thanks philc43.
    But I'm already aware of those commands. The issue is not me , but the whole bunch of users who don't know them. Short of lots of training sessions , I was thinking of just enforcing via Group Policy so they can see those options right away once they hit the power menu or desktop layout. Any ideas there ? Thank in advance.
      My System SpecsSystem Spec

  4.    13 Jun 2016 #4
    Join Date : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 8,698
    Windows 10 Pro

    This might be a good solution for you, Option Three in this tutorial to sign out / shutdown from a Windows dialog: Shut Down Computer in Windows 10 - Windows 10 Forums

    Make a desktop shortcut for it, users only need to double click the shortcut and select preferred option:

    (Video from Windows 10 instructional videos by Ten Forums members - Windows 10 Forums)
      My System SpecsSystem Spec

  5.    13 Jun 2016 #5
    Join Date : Oct 2013
    Penns Forrest
    Posts : 3,506
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3

    The groups for the Quick Access menu (x-menu) are defined in %LocalAppData%l\Microsoft\Windows\WinX
    desktop.ini contains the localized names for the items.
    There are also compatibility entries in the registry for items in each group (registry find: WinX).

    Unfortunately, that's as far as I ever got - sign out seems to be a global setting and not a per-user setting.

    To get around all of the issues (minor grumblings) I had with sign-out, I grabbed a VB script, created a shortcut to it, assigned an icon and pinned that to my taskbar.

    Click image for larger version. 

Name:	pwrBtn.png 
Views:	11 
Size:	3.5 KB 
ID:	84931

    The zip folder in the download below contains 3 files;
    pwrBtn.lnk, and
    [pwrCycle] twinui_5952.ico

    You will probably have to make a shortcut that matches the locations on your machine - the one in the download has an icon reference and a target folder of D:\_setSys\taskStart


    Executing the VBS gives you the same output as shown in Kari's post. I'm not sure if there's a LOCK in either the Alt+F4 or the VBS (easy to test with Alt+F4)

    If you find more about Group Policy and winX, please let me know. Thanks.
    how to add sign out/log off to power menu using Group Policy Attached Files
      My System SpecsSystem Spec

  6.    13 Jun 2016 #6
    Join Date : Jun 2016
    Posts : 6

    Many thanks Kari,

    That's awesome! I've just tried that on my pc - works great, except when I deploy to the other users I anticipate some users would just click the icon and just press enter, while thinking they are just logging off before they go home or out for lunch but instead shutting down the pc. I've tried modifying several variations of objshell.ShutdownWindows to objshell.LogoutWindows , Logoff, Signout, Signoff ,etc but none of these seem to work. Would be nice if the default is "SignOut" instead of "Update and Shutdown"

    And thanks Slartybart, I was afraid that might be the issue - that Sign out is a global issue and hence no such variable for us to add there.
      My System SpecsSystem Spec

  7.    13 Jun 2016 #7
    Join Date : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 8,698
    Windows 10 Pro

    You are welcome
      My System SpecsSystem Spec


Similar Threads
Thread Forum
Group Policy
Hello. I have just had a virus that disabled My Firewall through Group edit. Problem is, I don't have group edit. With the store being broken, its bad. Any suggestions.
General Support
Group Policy service
For about a week now, each time I boot up, I receive this message as a pop-up – “Failed to connect to a Windows Service. Windows couldn’t connect to the Group Policy service.” I have problems using File Explorer, none of the options (such as...
General Support
The Group Policy Client Service failed the sign-in
Not sure whether this is related to the recent upgrade (yesterday jan 28 2016), but I restarted my PC after after the upgrade, all was OK, I switched it off and went home. Today after I swithed my PC on the following appeared: "The Group Policy...
User Accounts and Family Safety
Local Group Policy Issue. Policy not changing. Glitch?
Hello everyone. This is my first post to this forum. I hope someone can help me out. I am having a problem with Local Group Policy. I have been experimenting with this just for learning purposes and I am stumped by something. One of the first things...
General Support
Group policy :/
Thanks to topgundcp http://www.tenforums.com/windows-updates-activation/2605-update-w-10-manually-2.html#post161679 Which got me piddling around with the whole group/ user policy crap I have found to get rid of the silly lock screen at startup...
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 03:04.
Find Us
Twitter Facebook Google+

Windows 10 Forums