Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove

Page 1 of 2 12 LastLast
    Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove

    Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove

    How to Add or Remove the Shut Down, Restart, Sleep, and Hibernate Commands in Windows 7
    Published by
    Designer Media Ltd


    How to Add or Remove the Shut Down, Restart, Sleep, and Hibernate Commands in Windows 7

       Information
    This will show you how to add or remove the Shut Down, Restart, Sleep, and Hibernate commands from the Start Menu, Start Menu power button, CTRL+ALT+DEL screen, and Alt+F4 Shut Down Windows dialog for all users in Windows 7.

    You must be logged in as an administrator to be able to do this tutorial.

       Note
    This does not prevent users from being able to use any other method (ex: shortcuts) to Shut Down, Restart, Sleep, and Hibernate the computer. It only removes them from the Start Menu, Start Menu power button, CTRL+ALT+DEL screen, and Alt+F4 Shut Down Windows dialog locations.

    EXAMPLE: Shut Down, Restart, Sleep, and Hibernate commands Added and Removed
    Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove-alt-f4_shut_down_windows_enabled.jpgShut Down, Restart, Sleep, and Hibernate Commands - Add or Remove-alt-f4_shut_down_windows_disabled.jpg
    Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove-start_menu_default.jpgShut Down, Restart, Sleep, and Hibernate Commands - Add or Remove-start_menu_removed.jpg
    Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove-power_button_default.jpgShut Down, Restart, Sleep, and Hibernate Commands - Add or Remove-power_button_removed.jpg

    Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove-ctrl-alt-del_enabled.jpg

    Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove-ctrl-alt-del_removed.jpg



    OPTION ONE

    Using a REG File Download


    1. To Add Shut Down, Restart, Sleep, and Hibernate Commands
    NOTE: This is the default setting.
    A) Click on the Download button below to download the file below.
    Add_Shut-Down_Restart_Sleep_Hibernation.reg


    Download

    B) Go to step 3.
    2. To Remove Shut Down, Restart, Sleep, and Hibernate Commands
    A) Click on the Download button below to download the file below.
    Remove_Shut-Down_Restart_Sleep_Hibernation.reg


    Download

    3. Click on Save, and save the .reg file to the desktop.

    4. Right click on the downloaded .reg file and click on Merge.

    5. Click on Run, Yes, Yes, and OK when prompted.

    6. Restart the computer to apply.

    7. When done, you can delete the downloaded .reg file if you like.



    OPTION TWO

    Through the Local Group Policy Editor


    1. Open the all users, specific users or groups, or all users except administrators Local Group Policy Editor for how you want this policy applied.

    2. In the left pane, click on to expand User Configuration, Administrative Templates, and Start Menu and Taskbar. (see screenshot below)
    Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove-gpedit-1.jpg
    3. In the right pane, double click on Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commands. (see screenshot above)

    4. To Add Shut Down, Restart, Sleep, and Hibernate Commands
    A) Select (dot) either Not Configured or Disabled. (see screenshot below step 6)
    NOTE: Not Configured is the default setting.

    B) Go to step 6.
    5. To Remove Shut Down, Restart, Sleep, and Hibernate Commands
    A) Select (dot) Enabled. (see screenshot below step 6)
    6. Click on OK. (see screenshot below)
    Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove-gpedit-2.jpg
    7. Close the Local Group Policy Editor window.
    That's it,
    Shawn










  1. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #1

    Hi Shawn, do you have one to remove only Lock, Switch user, and Sleep? I want to keep Restart and Shut Down and I already have Hibernate disabled with powercfg -h off command.
      My Computer


  2. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2
      My Computer


  3. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #3

    Thanks Shawn, the tut for removing Switch User and Lock worked, the one for removing sleep did not. The Switch User and Lock are grayed out in the restart button and do not show as an option in Properties.
    Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove-untitled.png

    IT looks like everything is there?
    Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove-regedit.png
      My Computer


  4. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

    Did you already restart the computer to see if it may apply afterwards?
      My Computer


  5. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #5

    Yes I did restart and went so far as to delete all my entries and redo the whole process, no luck yet.
      My Computer


  6. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #6

    I just tested it again on my system, and that disable Sleep in Start Menu tutorial is not working for me now either. It use to when it was first posted. It may be one of those things that SP1 now prevents from working somehow. I sent Ted a PM to see if it's still working for him or not.
      My Computer


  7. Posts : 22,814
    W 7 64-bit Ultimate
       #7

    Hello guys.


    I have it currently disabled in 64-bit Ultimate SP1 without issue, as a matter of fact I just reinstalled less than 2 weeks ago and had no issue using the method outlined in the tutorial to disable it then.

    Sleep : Disable in Shut Down Menu


    Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove-sleep.jpg
    Last edited by Bare Foot Kid; 29 May 2011 at 17:27.
      My Computer


  8. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #8

    Thanks Shawn.
    Ted, if you look at my snips, is everything correct? I copy/pasted the info supplied it the tutorial.
      My Computer


  9. Posts : 22,814
    W 7 64-bit Ultimate
       #9

    Britton30 said:
    Thanks Shawn.
    Ted, if you look at my snips, is everything correct? I copy/pasted the info supplied it the tutorial.

    Hello.


    I looked at them earlier and all seems well, I have no idea what the issue may be.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:01.
Find Us