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:

desktopwidth:i:nnnn              The desktop width from the Display tab.                              desktopheight:i:nnnn             The desktop height from the Display tab.                              session bpp:i:nnnn               The color depth from Colors on the Display tab.                              winposstr:s:nnnn                 The window position from the Display tab.                              full address:s:Computer          The computer, from the Computer box on the General tab.                              compression:i:n                  0 (compression off) or 1 (compression on).                              keyboardhook:i:n                 When Windows key combination are applied, from the Keyboard box on the Local Resources tab.                                                               0 - Applied on the local computer.                                                               1 - Applied on the remote computer.                                                                2 - Applied in full-screen mode only.                               audiomode:i:n                    Where sounds are played, from the Remote computer sound box on the Local Resources tab.                                                               0 - Play sound on the client computer.                                                                 1 - Play sound on the host computer.                                                                2 - Do not play sounds.                               redirectdrives:i:n               Are disk drives automatically reconnected, from the Disk Drives box on the Local Resources tab.                                                               0 - Drives are not automatically reconnected.                                                                1 - Drives are automatically reconnected.                               redirectprinters:i:n             Are printers automatically reconnected, from the Printers check box on the Local Resources tab.                                                               0 - Printers are not automatically reconnected.                                                                1 - Printers are automatically reconnected.                               redirectcomports:i:n             Are COM prots automatically reconnected, from the Serial Ports box on the Local Resources tab.                                                               0 - COM ports are not automatically reconnected.                                                                1 - COM ports are automatically reconnected.                               redirectsmartcards:i:n           Are smart cards automatically reconnected, from the Smart cards box on the Local Resources tab.                                                               0 - Smart cards are not automatically reconnected.                                                                1 - Smart cards are automatically reconnected.                              displayconnectionbar:i:n         Is the connection bar displayed in full screen mode, from the Display tab.                                                               0 - Connection bar does not appear.                                                               1 - Connection bar appears.                              username:s:nnnn                  The user name, from the User name box on the General tab.                              domain:s:nnnn                    The domain name, from the Domain box on the General tab.                              alternate shell:s:nnnn           Does a program start automatically, from the Program path and file name box on the Programs tab.                              shell working directory:s:nnnn   Is the folder location from the Program path and file name box on the Programs tab.                              disable wallpaper:i:n            Does the desktop background appear, from the Experience tab.                                                               0 - Wallpaper appears.                                                               1 - Wallpaper does not appear.                              disable full window drag:i:n     From the Show contents of window while dragging check box on the Experience tab.                                                               0 - Folder contents appear while dragging.                                                               1 - Folder contents do not appear while dragging.                              disable menu anims:i:n           From the Menu and window animation check box on the Experience tab.                                                               0 - Menu and window animations are permitted.                                                               1 - Menu and window animations are not permitted.                              disable themes:i:n               From the Themes box on the Experience tab.                                                               0 - Themes are permitted.                                                               1 - Themes are not permitted.                              bitmapcachepersistenable:i:n     Are bitmaps cached on the local computer, from the Bitmap caching box on the Experience tab.                                                               0 - Caching is not enabled.                                                               1 - Caching is enabled.                              autoreconnection enabled:i:n     Will the client computer automatically try to reconnect?                                                               0 - Client computers doe not automatically try to reconnect.                                                               1 - Client computer automatically try to reconnect.