Share via


Redirectcomports

Applies To: Windows Server 2008 R2

This setting determines whether the COM (serial) ports on the client computer will be redirected and available in the remote session when you connect to a remote computer by using Remote Desktop Connection (RDC).

This setting corresponds to the Ports check box under More on the Local Resources tab under Options in RDC.

Syntax

redirectcomports:i:<value>

Values

Value Explanation

0

The COM ports on the local computer are not available in the remote session.

1

The COM ports on the local computer are available in the remote session.

The default value is 0.

Examples

To enable COM port redirection, type:

redirectcomports:i:1