Restart Windows via Remote Desktop (RDP)

Writing by on Wednesday, 16 of July , 2008 at 1:59 pm

If you’re RDP-ing to a Windows box and you want to restart or shut it down and only see the Log Off or Disconnect use the following trick.

For the Windows Security Dialog use these shortcut keys in the RDP session.


For a forced restart from command prompt

shutdown -f -r

For a forced shutdown from command prompt.

shutdown -f -s

Leave a comment

Category: Tips and Tricks

No Comments

No comments yet.

Leave a comment

You must be logged in to post a comment.

Shivdev Kalambi's Blog

Shivdev Kalambi is a Software Development Manager, previously a Principal Software Engineer at ArcSight/HP. With over 16 years' experience in software development, he's worked on several technologies and played different roles and contributed to all phases of projects. Non-tech activies include Ping-pong, Rock Climbing and Yoga at PG, Golf, Skiing, Swimming & a beer enthusiast.