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).