Microsoft Point of Service for .NET Device Redirection

Applies To: Windows Server 2008

In Windows Server 2008 you can also redirect devices that use Microsoft Point of Service (POS) for .NET 1.11.

Important

Microsoft POS for .NET device redirection is only supported if the terminal server is running an x86-based version of Windows Server 2008.

You can download Microsoft POS for .NET 1.11 from the Microsoft Download Center (https://go.microsoft.com/fwlink/?linkid=66169).

Configuring a terminal server

To implement Microsoft POS for .NET 1.11 on your terminal server

  1. Install Microsoft POS for .NET 1.11.

  2. Install the .NET service objects or configuration XML files for the Microsoft POS for .NET device. The device service objects or configuration XML files are usually provided by the device vendor and are written to work with POS for .NET by using the Microsoft POS for .NET 1.11 Software Development Kit (SDK). You can install the device service objects or configuration XML files through the standard installation software that accompanies the device. For installation instructions for the specific Microsoft POS for .NET device that you are using, consult the device’s manual.

  3. After you install the device service objects or configuration XML files for all the Microsoft POS for .NET devices that you are supporting on the terminal server, you need to stop and start the Terminal Services UserMode Port Redirector service. To restart the Terminal Services UserMode Port Redirector service, follow these steps:

    1. Open the Services snap-in. To open the Services snap-in, click Start, point to Administrative Tools, and then click Services.

    2. In the Services dialog box, in the Name column, right-click Terminal Services UserMode Port Redirector, and then click Restart.

Note

Restart the Terminal Services UserMode Port Redirector service only after you have installed the device server objects or configuration XML files for all the Microsoft POS for .NET devices that you are supporting on the terminal server. If you later install a new device server object or configuration XML file on your terminal server for a Microsoft POS for .NET device, you will need to restart the Terminal Services UserMode Port Redirector service.

Configuring a Remote Desktop Protocol file

Microsoft POS for .NET devices, by default, are not listed under Local devices and resources on the Local Resources tab in Remote Desktop Connection. Therefore, to enable Microsoft POS for .NET devices for redirection, you need to edit the Remote Desktop Protocol (.rdp) file that you use to connect to the terminal server.

To enable Microsoft POS for .NET device redirection in an .rdp file

  • Open the .rdp file in a text editor. Add or change the following setting:

    redirectposdevices:i:<value>

    • If <value> = 0, Microsoft POS for .NET device redirection is disabled.

    • If <value> = 1, Microsoft POS for .NET device redirection is enabled.

For more information about .rdp file settings, see article 885187 in the Microsoft Knowledge Base (https://go.microsoft.com/fwlink/?linkid=66168).

Note

The .rdp file created by the RemoteApp Wizard does not automatically enable Microsoft POS for .NET device redirection. For more information about TS RemoteApp, see the TS RemoteApp Step-by-Step Guide (https://go.microsoft.com/fwlink/?LinkId=84895).

Using redirected Microsoft POS for .NET devices

After you have implemented Microsoft POS for .NET 1.11 on your terminal server and have enabled Microsoft POS for .NET device redirection in your .rdp file, plug in your Microsoft POS for .NET device and then connect to the remote computer by using the modified .rdp file. After you connect to the remote computer, you should see the Microsoft POS for .NET device that is redirected get automatically installed on the remote computer. Plug and Play notifications will appear in the taskbar on the remote computer.

After the redirected Microsoft POS for .NET device is installed on the remote computer, any Microsoft POS for .NET application residing on the terminal server can access the Microsoft POS for .NET device as if the device were available locally. There is a sample application in the POS for .NET 1.11 SDK that you can use to test access to and the functionality of the redirected Microsoft POS for .NET device. The sample application is called ccltestapp.exe and can be found in the \SDK\Samples\Sample Application folder in the folder where you installed POS for .NET.

You can control Microsoft POS for .NET device redirection by using either of the following Group Policy settings:

  • Do not allow supported Plug and Play device redirection located in Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Device and Resource Redirection

  • The policy settings located in Computer Configuration\Administrative Templates\System\Device Installation\Device Installation Restrictions

You can also control Microsoft POS for .NET device redirection on the Client Settings tab in the Terminal Services Configuration tool (tsconfig.msc) by using the Supported Plug and Play Devices check box.

Additional references

For information about other new features in Terminal Services, see What's New in Terminal Services for Windows Server 2008.