How to reboot a remote computer
If you remote into your Wondows computer and want to reboot it, you will see that you can only log off, the Shutdown and Restart options are removed from the Start Menu when you’re connected using Remote Desktop.
But you can use a command prompt in Windows 7, Vista or XP
shutdown -t 0 -r -f
That’s a "zero" after the -t option, indicating shutdown in zero seconds. The -r option indicates a restart, rather than shutdown. (Don’t forget this one, or you will not get back in!) The -f option forces all applications to terminate.
Thanks to Sean Sexton
But you can use a command prompt in Windows 7, Vista or XP
shutdown -t 0 -r -f
That’s a "zero" after the -t option, indicating shutdown in zero seconds. The -r option indicates a restart, rather than shutdown. (Don’t forget this one, or you will not get back in!) The -f option forces all applications to terminate.
Thanks to Sean Sexton