Remote Desktop Protocol settings in Windows Server 2003 and in Windows XP

Article translations Article translations
Article ID: 885187 - View products that this article applies to.
Support for Windows Vista Service Pack 1 (SP1) ends on July 12, 2011. To continue receiving security updates for Windows, make sure you're running Windows Vista with Service Pack 2 (SP2). For more information, refer to this Microsoft web page: Support is ending for some versions of Windows.
Expand all | Collapse all

On This Page

INTRODUCTION

When you use the Remote Desktop Protocol (RDP) to connect to a remote computer, the Default.rdp file is created on the client computer. This article discusses the connection settings that are stored in the Default.rdp file.

MORE INFORMATION

When you use RDP to connect to a remote computer, you can use the Remote Desktop Connection Options dialog box to configure many of the connection settings. To configure these settings, follow these steps:
  1. Click Start, click Run, type mstsc.exe, and then click OK.
  2. In the Remote Desktop Connection dialog box, click Options.
You can save *.rdp files with different settings if you connect to multiple remote computers. To save a new configuration, click Save As on the General tab in Options.

Settings that are stored in the Default.rdp file

By default, the Default.rdp file is created in your My Documents folder. The following RDP settings are stored in the Desktop.rdp file:

desktopwidth:i

This setting corresponds to the desktop width that you select on the Display tab in Remote Desktop Connection Options.

Note Microsoft Windows CE-based devices support only full-screen mode.

desktopheight:i

This setting corresponds to the desktop height that you select on the Display tab in Remote Desktop Connection Options.

Note Microsoft Windows CE-based devices support only 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 support only full-screen mode.

winposstr:s

This setting corresponds to the window position that you select on the Display tab in Remote Desktop Connection Options.

Note On desktop computers, this setting determines the Remote Desktop Connection dialog box position on the screen. The six numbers represent a string form of the WINDOWPOS structure. For more information about the WINDOWPOS function, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/ms632612.aspx
Note Microsoft Windows CE-based devices support only full-screen mode.

auto connect:i

This setting is not used by desktop computers or by Windows CE-based clients.

full address:s

This setting determines the computer that you connect to. The setting corresponds to the entry in the Computer box on the General tab of Remote Desktop Connection Options.

compression:i

This setting determines whether data is compressed when it is transmitted to the client computer.

Collapse this tableExpand this table
ValueSetting
0Compression is off.
1Compression is on.

keyboardhook:i

This setting determines where Windows key combinations are applied. This setting corresponds to the selection in the Keyboard box on the Local Resources tab of Remote Desktop Connection Options.

Collapse this tableExpand this table
ValueSetting
0Applied on the local computer.
1Applied on the remote computer.
2Applied in full-screen mode only.

audiomode:i

This setting determines where sounds are played. This setting corresponds to the selection in the Remote computer sound box on the Local Resources tab of Remote Desktop Connection Options.

Collapse this tableExpand this table
ValueSetting
0Play sound on the client computer.
1Play sound on the host computer.
2Do not play sounds.

redirectdrives:i

This setting determines whether disk drives are automatically connected when you log on to the remote computer. This setting corresponds to the selection in the Disk Drives box on the Local Resources tab of Remote Desktop Connection Options.

Collapse this tableExpand this table
ValueSetting
0Drives are not automatically reconnected.
1Drives are automatically reconnected.

redirectprinters:i

This setting determines whether printers are automatically connected when you log on to the remote computer. This setting corresponds to the selection in the Printers check box on the Local Resources tab of Remote Desktop Connection Options.

Collapse this tableExpand this table
ValueSetting
0Printers are not automatically reconnected.
1Printers are automatically reconnected.

redirectcomports:i

This setting determines whether COM ports are automatically connected when you log on to the remote computer. This setting corresponds to the selection in the Serial Ports box on the Local Resources tab of Remote Desktop Connection Options.

Collapse this tableExpand this table
ValueSetting
0COM ports are not automatically reconnected.
1COM ports are automatically reconnected.

redirectsmartcards:i

This setting determines whether smart cards are automatically connected when you log on to the remote computer. This setting corresponds to the selection in the Smart cards box on the Local Resources tab of Remote Desktop Connection Options.

Collapse this tableExpand this table
ValueSetting
0Smart cards are not automatically reconnected.
1Smart cards are automatically reconnected.

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 selection in the Display the connection bar when in full screen mode check box on the Display tab of Remote Desktop Connection Options.

Collapse this tableExpand this table
ValueSetting
0Connection bar does not appear.
1Connection bar appears.

username:s

This setting determines the user name that is displayed in RDP. The 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 user 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 a program is started automatically when you connect with RDP. The setting corresponds to the entry in the Program path and file name box on the Programs tab of Remote Desktop Connection Options.

shell working directory:s

This setting is the folder location for the application that is started automatically when you connect with RDP. The setting corresponds to the entry in the Program path and file name box on the Programs tab of Remote Desktop Connection Options.

disable wallpaper:i

This setting determines whether the desktop background appears when you log on to the remote computer. This setting corresponds to the selection in the Desktop background check box on the Experience tab of Remote Desktop Connection Options.

Collapse this tableExpand this table
ValueSetting
0Wallpaper appears.
1Wallpaper does not appear.

disable full window drag:i

This setting determines whether folder contents appear when you drag the folder to a new location. This setting corresponds to the selection in the Show contents of window while dragging check box on the Experience tab of Remote Desktop Connection Options.

Collapse this tableExpand this table
ValueSetting
0Folder contents appear while dragging.
1Folder contents do not appear while dragging.

disable menu anims:i

This setting determines how menus and windows appear when you log on to the remote computer. This setting corresponds to the selection in the Menu and window animation check box on the Experience tab of Remote Desktop Connection Options.

Collapse this tableExpand this table
ValueSetting
0Menu and window animations are permitted.
1Menu and window animations are not permitted.

disable themes:i

This setting determines whether themes are permitted when you log on to the remote computer. This setting corresponds to the selection in the Themes check box on the Experience tab of Remote Desktop Connection Options.

Collapse this tableExpand this table
ValueSetting
0Themes are permitted.
1Themes are not permitted.

bitmapcachepersistenable:i

This setting determines whether bitmaps are cached on the local computer. This setting corresponds to the selection in the Bitmap caching check box on the Experience tab of Remote Desktop Connection Options.

Collapse this tableExpand this table
ValueSetting
0Caching is not enabled.
1Caching is enabled.

autoreconnection enabled:i

This setting determines whether a client computer automatically tries to reconnect after being disconnected.

Collapse this tableExpand this table
ValueSetting
0Client computer does not automatically try to reconnect.
1Client computer automatically tries to reconnect.

Properties

Article ID: 885187 - Last Review: June 10, 2011 - Revision: 1.6
APPLIES TO
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 Datacenter
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Web Server 2008
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Standard
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Web Edition
  • Windows Vista Service Pack 1
  • Windows Vista Enterprise
  • Windows Vista Business N 64-bit Edition
  • Windows Vista Business 64-bit Edition
  • Windows Vista Business N
  • Windows Vista Business
  • Windows Vista Ultimate
  • Windows Vista Home Premium
  • Windows Vista Home Basic N 64-bit Edition
  • Windows Vista Home Basic N
  • Windows Vista Home Basic
  • Windows Vista Starter
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
Keywords: 
kbtermserv kbtshoot kbinfo KB885187

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com