2.2.1.27 MS-RDG-Device-Redirection

MS-RDG-Device-Redirection is a VSA specifying filters used by a Remote Desktop Gateway (RDG) server, as specified in section 2.2.1.

The fields of MS-RDG-Device-Redirection MUST be set as follows:

Vendor-Type: An 8-bit unsigned integer that MUST be set to 0x3F.

Vendor-Length: An 8-bit unsigned integer that MUST be set to 6.

Attribute-Specific Value: A 32-bit unsigned integer in network-byte order (bit 0 is the least significant bit) in which the bits MUST have following meaning.

 Bit

Meaning

0

Drives redirection (0: enabled, 1: disabled)

1

Printers redirection (0: enabled, 1: disabled)

2

Serial ports redirection (0: enabled, 1: disabled)

3

Clipboard redirection (0: enabled, 1: disabled)

4

Plug and play devices redirection (0: enabled, 1: disabled)

5-28

<Reserved for additional devices>

29

1: Disable redirection for all devices

0: Device redirection is controlled by bits 0..4

30

1: Enable redirection for all devices

0: Device redirection is controlled, first, by bit 29 and then by bits 0..4

31

<Unused>

When either bit 29 or bit 30 is set to 1, the values for bits 0..4 are ignored.