Shutting down a computer remotely. If you are not logged in to the terminal as an admin for the remote machine, open the command prompt and type (without the quotes):
“runas /U:UserNameGoesHere CMD” and enter the password when prompted. Then try the command from the newly presented CMD Box.
You can then run the remote shutdown command
shutdown /r /f /m \\COMPUTERNAME