+ Post New Thread
Results 1 to 15 of 15
Windows Server 2012 Thread, Windows Server – Remove Shutdown button from start menu by GPO in Technical; Hi all, any help appreciated with this one! I would like to remove the shutdown button from the start menu ...
  1. #1

    Join Date
    Nov 2013
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Windows Server – Remove Shutdown button from start menu by GPO

    Hi all, any help appreciated with this one!

    I would like to remove the shutdown button from the start menu from our various servers (mixture of 2003, 2008, 2008r2). The idea being that we prevent accidental shutdowns.

    Ideally I would like to do this with group policy.

    We would still like a shutdown option available, but just so it is a lot harder to accidently trigger.

    Thanks in advance

  2. #2
    gmonks's Avatar
    Join Date
    Oct 2012
    Location
    Bedfordshire
    Posts
    200
    Thank Post
    111
    Thanked 24 Times in 17 Posts
    Rep Power
    10
    Yep:

    User Configuration\Administrative Templates\Start Menu & Taskbar\

    Disable the following setting:
    Prevent and Remove access to the Shutdown,Restart,Sleep and Hibernate commands.

  3. #3

    Join Date
    Nov 2013
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    As that's a user setting, can I assign it to the OU containing my group of servers? Or do I have to assign it to the OU containing the user?

    Sorry if thats a stupid question, I am having one of those days where my brain just is not functioning.

  4. #4
    detjo's Avatar
    Join Date
    Feb 2008
    Posts
    357
    Thank Post
    13
    Thanked 48 Times in 39 Posts
    Rep Power
    31
    User settings should apply to users. You can do a loopback if you want to apply it to the Servers OU, tho

  5. #5

    Join Date
    Nov 2013
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Ah! Loopback processing, that's what I am forgetting

    What about shutting down after I remove the button? What's the best way?

  6. #6
    detjo's Avatar
    Join Date
    Feb 2008
    Posts
    357
    Thank Post
    13
    Thanked 48 Times in 39 Posts
    Rep Power
    31
    Win+R > Shutdown.exe

    /l Log off
    /s Shutdown the computer
    /r Shutdown and restart the computer

  7. #7

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,572 Times in 1,252 Posts
    Rep Power
    340
    Quote Originally Posted by mjgreen81 View Post
    Hi all, any help appreciated with this one!

    I would like to remove the shutdown button from the start menu from our various servers (mixture of 2003, 2008, 2008r2). The idea being that we prevent accidental shutdowns.

    Ideally I would like to do this with group policy.

    We would still like a shutdown option available, but just so it is a lot harder to accidently trigger.

    Thanks in advance
    Why do you want to do this? On 2003 you click Start > Shutdown and then you need to confirm

    On 2008 you click Start, click the arrow, then select Shutdown

    If you enable that GPO it'll prevent you shutting down altogether, just as it would a workstation.

  8. #8

    Join Date
    Nov 2013
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    As we found out yesterday, its quite easy for someone to accidently click the arrow then shutdown by mistake :-/

    We have quite a few users who need to log on to various servers for applications that they look after. We want to make it a bit harder from them to accidently shutdown.

  9. #9
    detjo's Avatar
    Join Date
    Feb 2008
    Posts
    357
    Thank Post
    13
    Thanked 48 Times in 39 Posts
    Rep Power
    31
    Quote Originally Posted by Michael View Post
    If you enable that GPO it'll prevent you shutting down altogether, just as it would a workstation.
    From the start menu, sure. But that's what he wants. It won't stop someone running shutdown.exe, so the option to shutdown by other means is still there.

  10. #10

    Join Date
    Nov 2013
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Ok, great, thanks guys.

    Just tried it out on a server and its working. Surprisingly, even after a GPupdate/force it seems like it was necessary to reboot the server, a log off/on didn't suffice. The the option has now been removed after a reboot.

    Shame there is not still a way to enable a shutdown/restart button a couple of clicks in. Oh well!

    Thanks again

  11. #11

    Join Date
    Nov 2013
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Can I ask - if the server is awaiting updates you would normally get an 'install updates & shutdown' option as well as a standard shutdown.

    What happens if you don't have the shutdown button?

  12. #12

    Join Date
    Nov 2013
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    To partly answer my question. If I have updates waiting and I run shutdown.exe /r - it does install the updates.

  13. #13

    Join Date
    Oct 2008
    Posts
    214
    Thank Post
    2
    Thanked 11 Times in 11 Posts
    Rep Power
    22
    Accidental shutdown is quite odd though. Even if you press start->shutdown you still need to type something into the "reason" box before the button activates. The worst culprit for accidental reboots is the "restart" option on windows updates. That is the only time one of our minions accidentally rebooted the exchange server during the middle of the day...

    If you make this change to the GPO can you still shutdown from the CTRL-ALT-DEL screen?

  14. #14

    Join Date
    Nov 2013
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    No, I didnt have the option to shutdown from CTRL+ALT+DEL. We also didnt have the "reason" box so presume this must be a GPO that also needs enabling if you want to use this feature.

    I have also been asked to move the Log Off button from the small arrow onto the start menu. Anyone know if this is possible?

  15. #15

    Join Date
    Oct 2008
    Posts
    214
    Thank Post
    2
    Thanked 11 Times in 11 Posts
    Rep Power
    22
    you could use the same GPO to remove logoff and shortcut a powershell script containing:

    logoff;exit

    powershell to restart is restart-computer btw

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 4
    Last Post: 29th June 2011, 12:44 PM
  2. Replies: 7
    Last Post: 11th May 2011, 11:19 AM
  3. Removed Control Panel from Start Menu
    By Mr.Ben in forum Windows
    Replies: 5
    Last Post: 11th April 2011, 02:47 PM
  4. Hide Startup Folder from Start Menu
    By FN-GM in forum Windows
    Replies: 7
    Last Post: 30th March 2011, 11:06 PM
  5. Replies: 0
    Last Post: 31st March 2010, 03:57 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •