When you connect to a remote computer, the RDP settings that you configure via the Remote Desktop Connection (mstsc.exe) dialog are stored in the Default.rdp file in your My Documents folder, or you can use Options and Save As on the General tab.

The settings are:

<b>desktopwidth:i:<i>nnnn</i></b>              The desktop width from the <b>Display</b> tab.

<b>desktopheight:i:<i>nnnn</i></b>             The desktop height from the <b>Display</b> tab.

<b>session bpp:i:<i>nnnn</i></b>               The color depth from Colors on the <b>Display</b> tab.

<b>winposstr:s:<i>nnnn</i></b>                 The <a target="NewWindow" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowstructures/windowpos.asp">window position</a> from the <b>Display</b> tab.

<b>full address:s:<i>Computer</i></b>          The computer, from the <b>Computer</b> box on the <b>General</b> tab.

<b>compression:i:<i>n</i></b>                  <b>0</b> (compression off) or <b>1</b> (compression on).

<b>keyboardhook:i:<i>n</i></b>                 When Windows key combination are applied, from the <b>Keyboard</b> box on the <b>Local Resources</b> tab.
                                 <b>0</b> - Applied on the local computer.
                                 <b>1</b> - Applied on the remote computer.
                                 <b>2</b> - Applied in full-screen mode only.

<b>audiomode:i:<i>n</i></b>                    Where sounds are played, from the <b>Remote computer sound</b> box on the <b>Local Resources</b> tab.
                                 <b>0</b> - Play sound on the client computer.  
                                 <b>1</b> - Play sound on the host computer.
                                 <b>2</b> - Do not play sounds.

<b>redirectdrives:i:<i>n</i></b>               Are disk drives automatically reconnected, from the <b>Disk Drives</b> box on the <b>Local Resources</b> tab.
                                 <b>0</b> - Drives are not automatically reconnected.
                                 <b>1</b> - Drives are automatically reconnected.

<b>redirectprinters:i:<i>n</i></b>             Are printers automatically reconnected, from the <b>Printers</b> check box on the <b>Local Resources</b> tab.
                                 <b>0</b> - Printers are not automatically reconnected.
                                 <b>1</b> - Printers are automatically reconnected.

<b>redirectcomports:i:<i>n</i></b>             Are COM prots automatically reconnected, from the <b>Serial Ports</b> box on the <b>Local Resources</b> tab.
                                 <b>0</b> - COM ports are not automatically reconnected.
                                 <b>1</b> - COM ports are automatically reconnected.

<b>redirectsmartcards:i:<i>n</i></b>           Are smart cards automatically reconnected, from the <b>Smart cards</b> box on the <b>Local Resources</b> tab.
                                 <b>0</b> - Smart cards are not automatically reconnected.
                                 <b>1</b> - Smart cards are automatically reconnected.

<b>displayconnectionbar:i:<i>n</i></b>         Is the connection bar displayed in full screen mode, from the <b>Display</b> tab.
                                 <b>0</b> - Connection bar does not appear.
                                 <b>1</b> - Connection bar appears.

<b>username:s:<i>nnnn</i></b>                  The user name, from the <b>User name</b> box on the <b>General</b> tab.

<b>domain:s:<i>nnnn</i></b>                    The domain name, from the <b>Domain</b> box on the <b>General</b> tab.

<b>alternate shell:s:<i>nnnn</i></b>           Does a program start automatically, from the <b>Program path and file name</b> box on the <b>Programs</b> tab.

<b>shell working directory:s:<i>nnnn</i></b>   Is the folder location from the <b>Program path and file name</b> box on the <b>Programs</b> tab.

<b>disable wallpaper:i:<i>n</i></b>            Does the desktop background appear, from the <b>Experience</b> tab.
                                 <b>0</b> - Wallpaper appears.
                                 <b>1</b> - Wallpaper does not appear.

<b>disable full window drag:i:<i>n</i></b>     From the <b>Show contents of window while dragging</b> check box on the <b>Experience</b> tab.
                                 <b>0</b> - Folder contents appear while dragging.
                                 <b>1</b> - Folder contents do not appear while dragging.

<b>disable menu anims:i:<i>n</i></b>           From the <b>Menu and window animation</b> check box on the <b>Experience</b> tab.
                                 <b>0</b> - Menu and window animations are permitted.
                                 <b>1</b> - Menu and window animations are not permitted.

<b>disable themes:i:<i>n</i></b>               From the <b>Themes</b> box on the <b>Experience</b> tab.
                                 <b>0</b> - Themes are permitted.
                                 <b>1</b> - Themes are not permitted.

<b>bitmapcachepersistenable:i:<i>n</i></b>     Are bitmaps cached on the local computer, from the <b>Bitmap caching</b> box on the <b>Experience</b> tab.
                                 <b>0</b> - Caching is not enabled.
                                 <b>1</b> - Caching is enabled.

<b>autoreconnection enabled:i:<i>n</i></b>     Will the client computer automatically try to reconnect?
                                 <b>0</b> - Client computers doe not automatically try to reconnect.
                                 <b>1</b> - Client computer automatically try to reconnect.