Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
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 8 '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 –  Cawas Feb 17 '11 at 2: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 Answer 1

up vote 4 down vote accepted

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

share|improve this answer
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 8 '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 9:34
    
In my case this tip will remove also the restart button. How is that? –  Riccardo Oct 23 '13 at 14:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.