2

I want to disable the "shut down" option on a Windows XP machine whose case and power button is not easily accessible. Users must still be able to restart and logout, but not shut down.

Is this possible?

Edited to add: I prefer any solution not using gpedit.exe, otherwise we would need to create a separate policy for this single machine.

happy_soil
  • 2,411
  • 2
  • 20
  • 22
Daniel Beck
  • 109,300
  • 14
  • 287
  • 334
  • 2
    It's not that hard to create per-machine policies. You can keep them in a separate folder named something like "Individual fixes". You can also edit the policy for a machine at the machine itself, as long it's not enforced to a particular state by the domain. – Joel Coehoorn Aug 08 '10 at 14:17
  • Now there did this downvote come from? Please leave a comment explaining what's wrong with this topic -- thanks! – Daniel Beck Feb 15 '11 at 20:38
  • that was to leave you with exactly 9,000 points, so you should be grateful for such awesomeness for this great base 10 rounded number! :D – cregox Feb 17 '11 at 02:22
  • @Cawas Now I am OVER 9000! Success! (my apologies to the two users getting notified about this) – Daniel Beck Feb 17 '11 at 13:58

1 Answers1

4

As an alternative to gpedit you can edit manually the reg-key which would be modified by gpedit:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

create a new DWORD value named NoClose and set its value = 1

Reboot the pc and the 'shutdown' button should be disappeared.

NOTE: shutdown command from prompt will work

Cagliostro
  • 1,800
  • 1
  • 11
  • 4
  • 1
    To disable it for all users also edit this reg key HKEY_LOCAL_Machine\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer. Shutdown from task manager will also work after these edits. – Moab Aug 08 '10 at 21:49
  • Worked like a charm. This is effectively the same setting as the better-known gpedit solution, so it might not work with more restrictive policies in effect. – Daniel Beck Aug 14 '10 at 09:34
  • In my case this tip will remove also the restart button. How is that? – Riccardo Oct 23 '13 at 14:23