Coding Horror

programming and human factors

Remote Desktop Tips and Tricks

I'm with K. Scott Allen: the pervasiveness of Remote Desktop functionality in Windows has fundamentally changed the way I work.

The fact that it shipped in the Windows XP box-- and as a default component of all the server operating systems since Windows 2000-- has done wonders for its adoption. It's truly ubiquitous. And it doesn't hurt that it's actually the best performing remote control tool I've ever used; I have yet to try any other remote control tool that performs as well. It's so responsive that it almost makes the idea of physically sitting in front of a computer seem quaint.

Almost.

One thing you quickly learn with Remote Desktop is that not all the windows shortcut keys work as you would expect them to. The "Apply Windows key combinations" setting defaults to "full screen only", so you may see different behavior depending on whether or not you're running full-screen; use the Ctrl+Alt+Pause shortcut to switch back and forth.

The help file contains a list of the special Remote Desktop key combinations:

Alt + Page Up

Switches between programs from left to right.

Alt + Page Down

Switches between programs from right to left.

Alt + Insert

Cycles through the programs in the order they were started.

Alt + Home

Displays the Start menu.

Ctrl + Alt + Break

Switches the client between a window and full screen.

Ctrl + Alt + End

Brings up the Windows Security dialog box.

Ctrl + Alt + Pause

Toggles between fullscreen and windowed mode
(note that this does not set the client desktop to the correct size)

Alt + Del

Displays the Windows menu

Ctrl + Alt + Num -

Places a snapshot of the client's active window on the clipboard

Ctrl + Alt + Num +

Places a snapshot of the client's entire desktop area on the clipboard

To shut down or restart the remote computer, either bring up the Windows Security dialog , or use Task Manager.

Scott also provides a great list of additional resources for hacking Remote Desktop:

I have two tips of my own. The first has to do with multiple monitors. Both my work and home computers have three monitors. Before you laugh, guess who else was on the three monitor tip back in the day? Google's Larry Page. And Bill Gates. At any rate, I've gotten at least one email on this, so I know it's not easy to figure out. Here's how you run a remote desktop session maximized to a particular monitor:

  1. Start a windowed (non-fullscreen) remote desktop session
  2. Drag the windowed session to the monitor you want
  3. Close the remote desktop session
  4. Set the properties for the connection to "full screen". It must be "full screen", not the actual resolution of your monitor (1280x1024, etc).
  5. Start a remote desktop connection; it'll be full screen on the target monitor

I know it's convoluted. But at least it remembers which monitor it is full screen to. It'd be simpler if we had a way to change the client desktop size without closing and re-opening the connection, say via the display properties dialog. But we don't.

Here's my second tip: if you're not on a fast LAN, drop the color depth down to either 256 or 15-bit color, and select "Modem" on the Experience tab. Color depth is the single biggest contributor to performance over a slow connection. You may be tempted to go to 16-bit color or even 24-bit color to make things look prettier, but remember all those additional bits have to be transmitted across the wire. I know 256 colors can look desperately bad with most of today's websites and applications-- but 15-bit color is a good compromise.

Written by Jeff Atwood

Indoor enthusiast. Co-founder of Stack Exchange and Discourse. Disclaimer: I have no idea what I'm talking about. Find me here: http://twitter.com/codinghorror