1. Home
  2. Windows Tips
  3. How to disable remove shutdown from windows xp and vista

How To Disable/Remove Shutdown From Windows 7 / Vista / XP

Do you want your Computer to a Server and want to prevent it from Shutting Down? Or Do do you want to prevent anyone  from Shutting Down your PC for various reasons? There is a simple way to remove the Shut Down option from the Start Menu, Task Manager, and Command Prompt.

Remove Shutdown from Start Menu and from the Task Manager

For Windows XP: Go to Start and click Run.

For Windows 7 / Vista: Go to Start, in the Start Search type gpedit.msc and click Enter.

1

Write gpedit.msc in RUN Command.

2

Group Policy window will pop up from which choose User Configuration > Administrative Templates > Start Menu & Taskbar from the Left Panel as shown below.

4

Now on the Right Panel, double-click on Remove And Prevent Access To Shut Down Command.

5

A pop will appear set it to Enabled. Then you’ll notice that this will remove the shutdown option from the Start Menu and security dialog box. Now the system can be shutdown via the command prompt only.

6

Disable Shutdown From Command Prompt

Finally, you need to prevent people from going to the command prompt and simply typing in Shutdown. To do this here is the simple method.

Use Similar method as above but this time navigate to User Configuration > Administrative Templates > System from the left menu and double-click on the Prevent Access To The Command Prompt policy from right pane and set it to Enabled.

9

I hope this helps, you can revert the settings back anytime you want by following the same steps as above and restoring it.

20 Comments

  1. how to stop from being installing new updates and patches in windows 7
    what needs to be done in this case?

  2. is there a way to remove only shutdown. i still want sleep and lock on the startmenu but the only option i have is to disable all of them

  3. Is it possible to hide “Shutdown” for particular users only? I’m working on remote server (with Windows Server onboard) which is used by other users…

  4. I have tried but the problem persists. It is still showing Logout and Shutdown option on Windows-7. Any help plz.

    • Maybe this what you’re looking for?
      https://www.addictivetips.com/windows-tips/disable-install-updates-and-shutdown-option-in-windows-7-vista/

  5. I have tried but the problem persists. It is still showing Logout and Shutdown option on Windows-7. Any help plz.

  6. In regards to Akram Husseini’s post, I believe there is a bug. It does not seem possible to remove both the logoff and shutdown buttons at the same time in windows 7. And the logoff does ultimately lead to shutdown as he said. So really, this is not a fix. If anyone knows a work around please post.

  7. You can turn off the log off option in the option next to the one for shutdown.

    George

  8. hi
    thanks for training but do you think it will work with Home Eidition because the local policy not available right

  9. Tried this on XP, but if someone clicks on logoff, this will lead him to the windows logon screen where he can press shutdown button…. is there a way to prevent that as well?

  10. what there is no such option under administrative templates in my computer’s group profile .
    what can i do?