Shutdown Lock Restart Windows XP Command


These commands can be used either from the Windows XP Command Prompt or in a bat command file

To Shutdown your Computer
shutdown -s

To Shutdown and Restart your Computer
shutdown -r

To Shutdown or Restart but delay the command
use the -t nnn minutes option where nnn is the time in minutes
e.g shutdown -r -t 60
This will restart your computer in 60 minutes

To Lock your computer
Rundll32.exe User32.dll,LockWorkStation


About Author

Comments are closed.

Please note we do not accept any responsibility for errors occurring During Use of this site users follow instructions listed at their own risk.