Do you want your computer to never shut down? Do you wish to rip people of their ability of turning your computer off? If your answer is yes to both of these questions, then you have surely come to the right place. There is a very easy way to get rid of the Shut Down option from the Start menu, Task Manager and Command Prompt.
From Start Menu and Task Manager
To start with Windows XP, you need to go to Start and click on Run. The rest of the steps are the same as Windows 7/Vista.
For later versions of Windows, go to Start and into the search bar. Type in gpedit.msc and click Enter.
Write gpedit.msc in the Run Command.
This opens up the Group Policy window. From this window go to the following location:
User Configuration > Administrative Templates > Start Menu > Taskbar. This will show up in the left panel, like seen below.
Navigate to the right panel and double click on Remove and Prevent Access to Shut Down.
This takes you to a pop up. Set the option to Enabled. You will notice how the shutdown option from your Start Menu will have vanished along with the security dialog box. The system can only be shutdown using the Command Prompt.
From the Command Prompt
Finally, you will need to prevent people from running to the Command Prompt and typing shutdown. This will ruin your entire purpose of removing that command in the first place. Here’s how to go about it.
User the similar method as above: User Configuration > Administrative Templates > System. From the menu on the left-hand side, double click on Prevent Access to the Command Prompt from the right-hand side. Set this to Enabled.
Image Courtesy: AddictiveTips