ScorpioTek Solutions
07-filler-left Information about ScorpioTek Services Offered by ScorpioTek Training Courses Offered by ScorpioTek Technology Blog by ScorpioTek Contact us for more information on training/services 08-filler-right
06-message

How to Disable Shutdown/Restart as Group Policy

Giovanni recently implemented an amazing system at the Platform Adoption Center at Microsoft to allow remote access to attendees to carry out labs. This is a mix or Terminal Services, System Center Virtual Machine Manager using the Self-Service portal, and lots of patience. The end result works extremely well, and we managed to integrate his solution with a Boot2VHD implementation carried out by yours truly.

The end result is an environment for 40 machines ready for virtualization labs (which cannot be virtualized). By using Boot2VHD, we clean the machines by simply booting to a “Clean Lab” partition that replaces the “dirty” differencing VHD with the “master” differencing VHD. It works extremely well and the beauty of it all is that (at least our solution) was implemented with WIndows Server 2008, no 3rd party tools were involved.

Anyhow, the environment works great – except when students shut down the machines. Since they are in a datacenter, if someone shuts down the machine, we have to contact the IT Admin to turn the servers back up, which can be really tiring. After some research, I found out that you can hide the “Shutdown/Restart” options in an OU, so even though this does not prevent them from shutting down the machines (they can use the shutdown command), it reduces the chances of having someone shut down the server.

So here is what you need to do:

1- Log in to your DC and right click at the OU node where you want the policy applied:

2- Name the policy something like “Prevent Shutdown Display
3- Right click the newly created policy and select “Edit
4- Expand User Configuration –> Administrative Templates –> Start Menu and Taskbar:

5- The right pane will display all related policies, look for one called Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commands:

6- Double click the policy and select Enabled and click OK:

7- Your group policy is now in effect and users won’t see the buttons when they log in:


Leave a Reply