Tuesday, April 28, 2009

Shutdown Switches

Some common tricks to shutdown your PC. Type these commands either from Start>Run or from command prompt Start>Run type cmd and click ok (or hit enter). Applies to any edition of Windows Server , 2000, XP and VISTA

  • shutdown /s (To shutdown your PC)
  • shutdown /s –t:60 (To shutdown your pc within 60 second. You can use 0 to 600 for specify the time. Default is 30 second)
  • shutdown /s /m \\desktop /t:45 (To shutdown remote pc in 45 second. Here desktop represent your machine name in the network)
  • shutdown /r (To restart your PC)
  • shutdown /i (To shutdown or restart remote PC interactively. This command is helpful for system admin.)
  • shutdown /c “Msg” (To shutdown PC with message.)
  • shutdown /l (To logoff your PC)

You can use above syntax individually or jointly like:

  • Shutdown /i /l /t:30 (This will logoff your PC interactively within 30 second.)
  • Shutdown /r /t:30 (This will restart your PC within 30 second)

Remember one thing when you use /i switch, always use after shutdown syntax

No comments:

Post a Comment