Settings stored in the Default.rdp file
By default, the Default.rdp file is created in the My Documents folder. The following RDP settings are stored in the DESKTOP.RDP file:
Desktopwidth:i
This setting corresponds to the width of the desktop that you select on the Display tab in Remote Desktop Connection options.
Note: Microsoft Windows CE-based devices only support full-screen mode.
Desktopheight:i
This setting corresponds to the desktop height that you selected on the Display tab in Remote Desktop Connection options.
Note: Microsoft Windows CE-based devices only support full-screen mode.
Session BPP:I
This setting corresponds to the color depth that you select in colors on the Display tab in Remote Desktop Connection options.
Note: Microsoft Windows CE-based devices only support full-screen mode.
Winposstr:s
This setting corresponds to the window location that you selected on the Display tab in Remote Desktop Connection options.
Note: On a desktop computer, this setting determines the location of the Remote Desktop Connection dialog box on the screen. Six numbers represent the string form of a WINDOWPOS structure. For more information about the Windowpos function, visit the following Microsoft Web site:
Http://msdn2.microsoft.com/zh-cn/library/ms632612.aspx (http://msdn2.microsoft.com/zh-cn/library/ms632612.aspx)
Note: Microsoft Windows CE-based devices only support full-screen mode.
Auto Connect:i
This setting is not used by desktop computers or Windows CE-based clients.
Full address:s
This setting determines the computer that is connected to. This setting corresponds to the entry in the Computer box on the General tab of Remote Desktop Connection options.
Compression:i
This setting determines whether the data is compressed when it is transferred to the client computer.
Value |
Set up |
0 |
No compression is performed. |
1 |
To compress. |
Keyboardhook:i
This setting determines where to apply the Windows key combination. This setting corresponds to the option in the keyboard box on the Local Resources tab of Remote Desktop Connection options.
Value |
Set up |
0 |
Applied on the local computer. |
1 |
Applied on the remote computer. |
2 |
Applies only in full-screen mode. |
Audiomode:i
This setting determines where to play the sound. This setting corresponds to the option in the Remote computer sound box on the Local Resources tab of Remote Desktop Connection options.
Value |
Set up |
0 |
Plays a sound on the client computer. |
1 |
Plays a sound on the host computer. |
2 |
No sound is played. |
Redirectdrives:i
This setting determines whether the disk drive is automatically connected when you log on to the remote computer. This setting corresponds to the option in the disk drive box on the Local Resources tab of Remote Desktop Connection options.
Value |
Set up |
0 |
The drive is not automatically reconnected. |
1 |
Automatically reconnect the drive. |
Redirectprinters:i
This setting determines whether the printer is automatically connected when you log on to the remote computer. This setting corresponds to the option in the Printers check box on the Local Resources tab of Remote Desktop Connection options.
Value |
Set up |
0 |
The printer is not automatically reconnected. |
1 |
Automatically reconnect the printer. |
Redirectcomports:i
This setting determines whether COM ports are automatically connected when you log on to the remote computer. This setting corresponds to the option in the Serial port box on the Local Resources tab of Remote Desktop Connection options.
Value |
Set up |
0 |
COM ports are not automatically reconnected. |
1 |
Automatically reconnect the COM port. |
Redirectsmartcards:i
This setting determines whether the smart card is automatically connected when you log on to the remote computer. This setting corresponds to the option in the Smart card box on the Local Resources tab of Remote Desktop Connection options.
Value |
Set up |
0 |
The smart card is not automatically reconnected. |
1 |
Automatically reconnect the smart card. |
Displayconnectionbar:i
This setting determines whether the connection bar is displayed when you log on to the remote computer in full-screen mode. This setting corresponds to the option in the show connection bar on full screen check box on the Display tab of Remote Desktop Connection options.
Value |
Set up |
0 |
The connection bar does not appear. |
1 |
The connection bar appears. |
Username:s
This setting determines the user name that is displayed in RDP. This setting corresponds to the entry in the User name box on the General tab of Remote Desktop Connection options.
Domain:s
This setting determines the domain name that is displayed in the Remote Desktop Connection dialog box. It corresponds to the entry in the Domain box on the General tab of Remote Desktop Connection options.
Alternate Shell:s
This setting determines whether the program starts automatically when you connect using RDP. This setting corresponds to the entry in the program path and file name box on the Programs tab of the Remote Desktop Connection options.
Shell Working directory:s
This setting is the folder location where applications that start automatically when you connect using RDP. This setting corresponds to the entry in the program path and file name box on the Programs tab of the Remote Desktop Connection options.
Disable WALLPAPER:I
This setting determines whether the desktop background is displayed when you log on to the remote computer. This setting corresponds to the option in the Desktop background check box on the Experience tab of the Remote Desktop Connection options.
Value |
Set up |
0 |
Display wallpaper. |
1 |
Wallpaper is not displayed. |
Disable Full window drag:i
This setting determines whether the folder contents are displayed when you drag a folder to a new location. This setting corresponds to the option in the "Show window contents when dragging" check box on the Experience tab of Remote Desktop Connection options.
Value |
Set up |
0 |
Displays the contents of the folder when dragging. |
1 |
Folder contents are not displayed when dragging. |
Disable Menu Anims:i
This setting determines how menus and windows are displayed when you log on to a remote computer. This setting corresponds to the options in the Menu and window animation check box on the Experience tab of the Remote Desktop Connection options.
Value |
Set up |
0 |
Allows menu and window animations. |
1 |
Menus and window animations are not allowed. |
Disable THEMES:I
This setting determines whether themes are allowed when you log on to the remote computer. This setting corresponds to the option in the Subject check box on the Experience tab of the Remote Desktop Connection options.
Value |
Set up |
0 |
Allow themes. |
1 |
Themes are not allowed. |
Bitmapcachepersistenable:i
This setting determines whether the bitmap is cached on the local computer. This setting corresponds to the option in the Bitmap caching check box on the Experience tab of the Remote Desktop Connection options.
Value |
Set up |
0 |
Caching is not enabled. |
1 |
Enable caching. |
Autoreconnection enabled:i
This setting determines whether the client computer automatically attempts to reconnect after disconnecting.
Value |
Set up |
0 |
The client computer does not automatically attempt to reconnect. |
1 |
The client computer automatically tries to reconnect. |
It might look good in the following way:
Alternateshell |
String |
If this value is specified, the RDP connection is logged on to the specified shell program, or the specified application is executed instead of logging into the usual shell (Explorer.exe). |
Audioredirectionmode |
DWORD |
Specifies where the sound plays, with the default value of 0: 0-Play on remote host 1-Play locally (Thin Client) 2-no sound is played |
Autoreconnectenabled |
DWORD |
Whether to allow automatic reconnection when the connection is interrupted abnormally, the default value is 1: 0-Not allowed 1-Allow |
Bbarenabled |
DWORD |
Whether to display the connection bar at the top of the screen (Connection bar), the default value is 1 0-not shown 1-Show |
Bbarshowminimizebtn |
DWORD |
Whether to display the Minimize button on the connection bar, the default value is 1 0-not shown 1-Show |
Bbarshowpinbtn |
DWORD |
Whether to display the fixed button (pin button) on the connection bar, the default value is 0 0-not shown 1-Show |
Bbarshowrestorebtn |
DWORD |
Whether to display the Restore Window Size button on the connection bar (restore Button), the default value is 1 0-not shown 1-Show |
bbarpinned |
DWORD |
Whether to automatically hide the connection bar, the default value is 1 0-Auto-hide Connection bar 1-Always show connection bar |
Bitmapcachesize |
DWORD |
Specifies the size of the bitmap buffer in memory in kilobytes, the default value is 1500, and the maximum value is 32000 |
Bitmappersistcachelocation |
String |
Refers to where the location map buffer is located and the default value is \temp |
Bitmappersistenceenabled |
DWORD |
Specifies whether bitmap buffering is allowed. The default value is 0 0-Not allowed 1-Allow |
Colordepthid |
DWORD |
The color depth, in BPP (bits per pixel) units. The default value is 4 0-4 BPP 1-8 BPP 2-15 BPP 3-16 BPP 4-24 BPP |
Compress |
DWORD |
Whether to enable file and directory compression, the default value is 1 0-Not enabled 1-Enable |
Connecttoserverconsole |
DWORD |
Specifies whether to connect to the console session of the remote host. For Windows x68 and Windows CE, you can connect to the console session with the Mstsc/console or Cetsc/console command, which is not required. This option is only available for thin clients that do not use Windows as the OS. The default value is 0 0-Do not connect to the console session (connected to the terminal Services session). 1-Connect to console session Because Windows XP has no console session and terminal Services session, this parameter is not valid for XP. |
Desktopheight |
DWORD |
Specifies the screen height in pixels, which defaults to 1024 |
Desktopwidth |
DWORD |
Specifies the screen width in pixels, which defaults to 1280 |
Disable Full Window Drag |
DWORD |
Specifies whether the window contents are displayed when the window is dragged. The default value is 1 0-not shown 1-Show |
Disable Menu Anims |
DWORD |
Whether to allow the menu animation to display. The default value is 1 0-Not allowed 1-Allow |
Disable Themes |
DWORD |
Whether the theme is allowed to be displayed. The default value is 0 0-Not allowed 1-Allow |
Disable Wallpaper |
DWORD |
Whether to allow wallpaper. The default value is 1 0-Forbidden Wallpaper 1-Allow wallpaper |
Disablefileaccess |
DWORD |
Specifies whether the user has access to the file system locally (above the Thin client). The default value is 1 0-Allow users to access the local file system 1-prohibit users from accessing the local file system |
Domain |
String |
The domain of the remote host to which you want to connect |
Enabledriveredirection |
DWORD |
Whether to allow redirection of the drive. The default value is 1 0-Not allowed 1-Allow |
Enableportredirection |
DWORD |
Whether to allow redirection of the serial port (COM port). The default value is 1 0-Not allowed 1-Allow |
Enableprinterredirection |
DWORD |
Whether to allow redirection of printers. The default value is 1 0-Not allowed 1-Allow |
Enablescardredirection |
DWORD |
Whether to allow redirection of the smart card. The default value is 1 0-Not allowed 1-Allow |
Keyboardhookmode |
DWORD |
Sets the role of the Alt-tab key. The default value is 2 0-Show local (Thin Client) projects 1-Show remote (Server) items 2-Display the remote project when the window displays the local item when the screen is full |
Maxreconnectattempts |
DWORD |
Sets the number of retry attempts when a connection is lost. The default value is 20 |
Mcsport |
DWORD |
Sets the port for the RDP service. For non-windows-based thin Client only. |
Mrux (x=0,1,2.) |
String |
MRU = Most recently used, List of recently visited hosts |
Password |
Binary |
Password to log in to remote host |
ServerName |
String |
Remote host name or IP address |
Startfullscreen |
DWORD |
Whether to start a remote connection in full-screen mode with a default value of 1 0-Not in full-screen mode 1-in full-screen mode |
UserName |
String |
User name for login to remote host |
Workingdir |
String |
Working directory |
SOURCE Blog Address: http://www.cnblogs.com/fox2013/p/3903624.html
Meaning of each parameter in Remote Desktop DEFAULT.RDP (GO)