Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Symptoms
In the Microsoft Teams Rooms Pro Management portal, the USB Peripheral Power Drain signal of a Microsoft Teams Rooms device is shown as Unhealthy, and the incident severity value is shown as Warning. Additionally, users might experience the following issue:
When the Teams Rooms device goes to sleep and is woken up, USB devices that are connected to it become unresponsive or disconnected.
Note
Incidents that are classified as Warning don't affect the health status that's reported for a device.
Cause
This issue occurs if the Stop devices when my screen is off to help save battery setting is enabled on the Teams Rooms device.
Every new Teams Rooms device includes a Windows configuration that specifies whether to stop the connected USB devices when the screen is off. By default, this setting is set to disabled. However, it might sometimes be changed.
When Windows goes into a lower power state while the Stop devices when my screen is off setting is enabled, it will keep track of any persistent USB communications. In this situation, if Windows sees that one or more USB peripherals have been idle for a long time, preventing the device from entering a deeper power state (a condition in which a USB peripheral drains the device's battery), Windows will issue a USB device reset. While this behavior shouldn't apply to any Teams Rooms devices that are always plugged into AC power, it's known to cause issues in the past, such as unexpected USB disconnections that cause the device's firmware or mishandled drivers to become unresponsive. Therefore, if this setting is enabled, the Teams Rooms Pro agent detects and reports the status of USB Peripheral Power Drain as Unhealthy.
Resolution
Microsoft Teams Rooms Pro performs an automatic remediation to fix this issue. However, if the issue persists, use one of the following methods, depending on how the Teams Rooms device is configured.
Method 1: Use Windows PowerShell
Run the following command in Windows PowerShell:
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\USB\AutomaticSurpriseRemoval' -Name AttemptRecoveryFromUsbPowerDrain -Value 0 -ErrorAction Stop
Method 2: Use Registry Editor
Open Registry Editor.
Locate the following subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\USB\AutomaticSurpriseRemoval
Right-click AttemptRecoveryFromUsbPowerDrain, select Modify, change Value data to 0, and then select OK.
Method 3: Use Microsoft Intune to deploy a PowerShell script to devices
Save the following command as USBREM.ps1:
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\USB\AutomaticSurpriseRemoval' -Name AttemptRecoveryFromUsbPowerDrain -Value 0 -ErrorAction Stop
Create a script policy (add the script to script settings), and assign the policy to groups.