 |
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.
Windows 7 - 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 Brink
03-04-2011
| 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  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        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  B) Go to step 3. 2. To Remove Shut Down, Restart, Sleep, and Hibernate CommandsA) Click on the Download button below to download the file below.Remove_Shut-Down_Restart_Sleep_Hibernation.reg  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) 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 CommandsA) Select (dot) Enabled. (see screenshot below step 6) 6. Click on OK. (see screenshot below) 7. Close the Local Group Policy Editor window. That's it,
Shawn |  Published by | | Administrator Join Date: Oct 2008 Location: Texas Posts: 37,304 | |
 Tutorial Tools | | | | | | | | | |
05-27-2011
|
#1 | | Windows 7 Ultimate X86 SP1 |
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 System Specs | | System Manufacturer/Model Number Brittechnologies II OS Windows 7 Ultimate X86 SP1 CPU i5-2550K differing speeds depending on the day Motherboard ASUS P8X68-V PRO/GEN3 Memory 16GB G.Skill Sniper 2133MHz, 4X4GB Graphics Card ASUS ENGTX460 DirectCU/2DI/1GD5 GeForce GTX 460 Sound Card Onboard Realtek 5-1 Monitor(s) Displays Samsung P2570HD Screen Resolution 1920x1080 Keyboard Old Dell USB From 10 yrs Ago Mouse Gigabyte m6900 wired PSU Corsair HX650W Case Inwin Dragon rider Cooling Hyper 212 EVO w/two Noctua fans @1300 RPM Hard Drives TBA Internet Speed 8-19 Mbs down, 3-4 Mbs up Comcast Cable Other Info 5 fans, LG Bluray/R/RE, ASUS DVD/R/RW |
05-27-2011
|
#2 | | Windows 7 Ultimate x64 SP1 |
| My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
05-28-2011
|
#3 | | Windows 7 Ultimate X86 SP1 |
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.
IT looks like everything is there? | My System Specs | | System Manufacturer/Model Number Brittechnologies II OS Windows 7 Ultimate X86 SP1 CPU i5-2550K differing speeds depending on the day Motherboard ASUS P8X68-V PRO/GEN3 Memory 16GB G.Skill Sniper 2133MHz, 4X4GB Graphics Card ASUS ENGTX460 DirectCU/2DI/1GD5 GeForce GTX 460 Sound Card Onboard Realtek 5-1 Monitor(s) Displays Samsung P2570HD Screen Resolution 1920x1080 Keyboard Old Dell USB From 10 yrs Ago Mouse Gigabyte m6900 wired PSU Corsair HX650W Case Inwin Dragon rider Cooling Hyper 212 EVO w/two Noctua fans @1300 RPM Hard Drives TBA Internet Speed 8-19 Mbs down, 3-4 Mbs up Comcast Cable Other Info 5 fans, LG Bluray/R/RE, ASUS DVD/R/RW |
05-28-2011
|
#4 | | Windows 7 Ultimate x64 SP1 |
Did you already restart the computer to see if it may apply afterwards? | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
05-28-2011
|
#5 | | Windows 7 Ultimate X86 SP1 |
Yes I did restart and went so far as to delete all my entries and redo the whole process, no luck yet. | My System Specs | | System Manufacturer/Model Number Brittechnologies II OS Windows 7 Ultimate X86 SP1 CPU i5-2550K differing speeds depending on the day Motherboard ASUS P8X68-V PRO/GEN3 Memory 16GB G.Skill Sniper 2133MHz, 4X4GB Graphics Card ASUS ENGTX460 DirectCU/2DI/1GD5 GeForce GTX 460 Sound Card Onboard Realtek 5-1 Monitor(s) Displays Samsung P2570HD Screen Resolution 1920x1080 Keyboard Old Dell USB From 10 yrs Ago Mouse Gigabyte m6900 wired PSU Corsair HX650W Case Inwin Dragon rider Cooling Hyper 212 EVO w/two Noctua fans @1300 RPM Hard Drives TBA Internet Speed 8-19 Mbs down, 3-4 Mbs up Comcast Cable Other Info 5 fans, LG Bluray/R/RE, ASUS DVD/R/RW |
05-28-2011
|
#6 | | Windows 7 Ultimate x64 SP1 |
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 System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
05-28-2011
|
#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
Last edited by Bare Foot Kid; 05-29-2011 at 05:27 PM..
| My System Specs | | System Manufacturer/Model Number * BFK Customs * OS W 7 64-bit Ultimate CPU Intel Q9550 Yorkfield Motherboard ASUS P5Q Pro Memory 8GB Dominator 8500C5D Graphics Card ATI : XFX 5870 Sound Card Realtek HD Audio 7-1 Monitor(s) Displays 1x 47" LCD HDMI & 3x 26" LCD HDMI Screen Resolution 1920x1080P & 1920x1200 Keyboard Microsoft 500 Mouse Razer Diamondback 3G PSU Corsair 620HX Case Cooler Master RC-690 Cooling Tuniq Tower 120, 2x 140mm and 3x 120mm case fans Hard Drives 1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s) Internet Speed 14 Mb/s Other Info 1x Koutech 3Gb/s SATA HDD Hot Swap Rack |
05-29-2011
|
#8 | | Windows 7 Ultimate X86 SP1 |
Thanks Shawn.
Ted, if you look at my snips, is everything correct? I copy/pasted the info supplied it the tutorial. | My System Specs | | System Manufacturer/Model Number Brittechnologies II OS Windows 7 Ultimate X86 SP1 CPU i5-2550K differing speeds depending on the day Motherboard ASUS P8X68-V PRO/GEN3 Memory 16GB G.Skill Sniper 2133MHz, 4X4GB Graphics Card ASUS ENGTX460 DirectCU/2DI/1GD5 GeForce GTX 460 Sound Card Onboard Realtek 5-1 Monitor(s) Displays Samsung P2570HD Screen Resolution 1920x1080 Keyboard Old Dell USB From 10 yrs Ago Mouse Gigabyte m6900 wired PSU Corsair HX650W Case Inwin Dragon rider Cooling Hyper 212 EVO w/two Noctua fans @1300 RPM Hard Drives TBA Internet Speed 8-19 Mbs down, 3-4 Mbs up Comcast Cable Other Info 5 fans, LG Bluray/R/RE, ASUS DVD/R/RW |
05-29-2011
|
#9 | | |

Quote: Originally Posted by Britton30 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 System Specs | | System Manufacturer/Model Number * BFK Customs * OS W 7 64-bit Ultimate CPU Intel Q9550 Yorkfield Motherboard ASUS P5Q Pro Memory 8GB Dominator 8500C5D Graphics Card ATI : XFX 5870 Sound Card Realtek HD Audio 7-1 Monitor(s) Displays 1x 47" LCD HDMI & 3x 26" LCD HDMI Screen Resolution 1920x1080P & 1920x1200 Keyboard Microsoft 500 Mouse Razer Diamondback 3G PSU Corsair 620HX Case Cooler Master RC-690 Cooling Tuniq Tower 120, 2x 140mm and 3x 120mm case fans Hard Drives 1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s) Internet Speed 14 Mb/s Other Info 1x Koutech 3Gb/s SATA HDD Hot Swap Rack Shut Down, Restart, Sleep, and Hibernate Commands - Add or Remove problems? All times are GMT -5. The time now is 12:35 AM. |  |