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

  1.    10 Jun 2016 #1

    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 ComputerSystem Spec

  2. philc43's Avatar
    Posts : 3,596
    64bit Win 10 Pro ver 1809 Build 17763.55 and W10 Insider Build 18262
       10 Jun 2016 #2

    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 ComputersSystem Spec

  3.    13 Jun 2016 #3

    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 ComputerSystem Spec

  4. Kari's Avatar
    Posts : 15,037
    Windows 10 Pro
       13 Jun 2016 #4

    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 ComputerSystem Spec

  5. Slartybart's Avatar
    Posts : 3,506
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3
       13 Jun 2016 #5

    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:	31 
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.
      My ComputerSystem Spec

  6.    13 Jun 2016 #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 ComputerSystem Spec

  7. Kari's Avatar
    Posts : 15,037
    Windows 10 Pro
       13 Jun 2016 #7

    You are welcome :)
      My ComputerSystem Spec


Related Threads
Group Policy in General Support
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.
Group Policy service in General Support
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...
The Group Policy Client Service failed the sign-in in User Accounts and Family Safety
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...
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...
Group policy :/ in General Support
Thanks to topgundcp 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...
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:30.
Find Us