Friday 9 April 2010

Restart Windows from the command line


If you don't have access to restart a Windows machine (maybe you've remoted in) then here is the cheeky way to do it from the command line...

> shutdown -r -f -t 01

Where...

  • -r is Restart (you can use -s for a straight Shutdown and -h for Hibernate);
  • -f is Force; and
  • -t is Timelapse with a 01 second delay.
If you want to abort the shutdown use...

> shutdown -a

No comments:

Acknowledge Me

Apple started a user experience trend many iOSes ago when it accepted Settings changes and did not ask for confirmation. Once the chang...