Web Software Architecture and Engineering – Life on the Bleeding Edge

Ok, this only works if you have admin rights. So no shutting down or restarting without proper rights.
As you may know, remotely connecting to a Machine, then asking it to restart can sometimes be a long or difficult process. Many times, you can’t restart, but can only shutdown. Thanks M$ for that!
A known workaround has been to connect and use the shutdown.exe tool. This is built in to Windows. So you could go to the Command Prompt, and type:

  • To ShutDown – shutdown.exe
  • To Restart – shutdown.exe -r

But I never knew you could this remotely from Windows! So now I use:

  • To ShutDown – shutdown.exe -m \machineName
  • To Restart – shutdown.exe -r -m \machineName

There are other command line options like forcing apps to close, etc. More information can be found by typing: “shutdown -?” (without quotes).

Advertisements

Comments on: "How to Remotely Shutdown or Restart Windows Machines" (1)

  1. also shutdown.exe /i for a gui

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: