Use as Ferramentas do Windows Server 2003 Resource Kit
NTRIGHTS –r SeShutdownPrivilege –u "<User or Group>"
Como desativar / remover o desligamento Do Windows 7 / Vista / XP cmd:
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoClose /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoClose /t REG_DWORD /d 1 /f
reg add HKCU\Software\Policies\Microsoft\Windows\System /v DisableCMD /t REG_DWORD /d 1 /f
mas, de maneira ruim, veja tsshutdn