Feb 13, 2013

How to perform shutdown from command prompt or to schedule shutdown/reboot/logoff in windows

There is a executable which comes default with windows namely, shutdown.exe which can be called in command prompt to shutdown the system.

To perform shutdown immediatly
c:\>shutdown /s /t 00

In this /s if for shutdown, similarly you can use /r for reboot /l for logoff etc.


To shutdown windows in 1 hour
c:\>shutdown /s /t 3600

refer manual for additional options

c:\>shutdown /?

No comments:

Post a Comment