Windows XP – How to Disable Shutdown While Allowing Log Out/Restart

gpeditshutdownwindows xp

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.

Best Answer

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