Supported Plug and Play Device Redirection

UIGeneratedMonitorce2ef0968fb74fb888dbbd018acf47ae (UnitMonitor)

This object monitors the redirection of supposed plug and play devices.

Knowledge Base article:

Summary

Remote Desktop Services in Windows Server 2008 R2, and newer, includes support for redirection of Windows Portable Devices, specifically media players based on the Media Transfer Protocol (MTP) and digital cameras based on the Picture Transfer Protocol (PTP), as well as devices that use Microsoft Point of Service (POS) for .NET.

When a user establishes a remote session with a Windows Server 2008, or newer, RD Session Host server, the supported Plug and Play device attached to the user's local computer can be redirected and made available to the user in the remote session.

Resolutions

To resolve this issue, install the driver provided by the device’s manufacturer. Check with the device’s manufacturer to determine if the driver has been updated to support device redirection in Remote Desktop Services.

Note: When a device is connected, an attempt is made to find a driver on the RD Session Host server that exactly matches the hardware identification number of the device. If an exact match cannot be found, a generic driver, chosen based on the device's compatible ID, is loaded on the RD Session Host server instead. The generic driver may provide only limited functionality for the device.

To install the driver from the device manufacturer on the RD Session Host server, use either of the following methods.

To perform these procedures, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

Method one

Run the Setup program for the device to install the device’s driver .inf file on the RD Session Host server.

Method two

Install the driver by using Device Manager.

To install the driver by using Device Manager:

1. On the RD Session Host server, open Device Manager. To open Device Manager, click Start, click Run, type devmgmt.msc, and then click OK.

2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.

3. On the View menu, click Devices by connection.

4. Locate the device under the User Mode Bus controller node.

5. Right-click the name of the device, and then click Update Driver Software.

6. Click Browse my computer for driver software.

7. Specify the location of the driver from the device’s manufacturer, and then click Next.

Follow the instructions to complete the update of the driver.

Element properties:

TargetMicrosoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Supported Plug and Play Device Redirection Alert
Event ID: {0} -- Description: {1}
RunAsDefault

Source Code:

<UnitMonitor ID="UIGeneratedMonitorce2ef0968fb74fb888dbbd018acf47ae" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="true">
<Category>Custom</Category>
<AlertSettings AlertMessage="UIGeneratedMonitorce2ef0968fb74fb888dbbd018acf47ae_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDisplayNumber$</AlertParameter1>
<AlertParameter2>$Data/Context/EventDescription$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateId5768de5d571c419f9f261a7a04672a82" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateIda36446501bfe4b0b956370bf480e3233" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Microsoft-Windows-TerminalServices-PnPDevices/Admin</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Channel</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-TerminalServices-PnPDevices/Admin</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">35</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>