RDP error "A Device attached to the system is not functioning"

Anonymous
2023-08-28T03:38:40.8533333+00:00

Hello!

I have a user currently experiencing an RDP issue on Windows 10 where they will try to RDP into their PC from another PC in the office and will occasionally be unable to. After typing in their account credentials, they are greeted with a black screen that flashes an error message "A Device attached to the system is not functioning" then promptly closes the RDP window.

As a work around we have been doing two things to get him back to being able to RDP in:

  1. System Reboot. I will either walk over and physically restart the PC or RDP in with a different account and restart it
  2. RDP in with a different account and go to task manager > users > right click > sign off his user account.

After much researching and troubleshooting, I discovered the culprit is one of his 5 USB devices plugged into the PC. During one of the troubleshooting attempts, I walked over to the PC and unplugged all 5 of his devices ( Webcam, Yeti Mic, Keyboard, Mouse, game controller ) and it then allowed him to immediately connect without issue.

I am trying to understand two things though I hope someone can help with!

  1. When the user account is showing the error and stopping the RDP connection, why can I remote in with a different account successfully? Can the USB driver state be different per profile?
  2. Why would a USB device stop an RDP connection? I would think it would just simply not load whichever USB device is causing the issue. Is there anyway to prevent this from happening and is this a known issue?

Next steps is to troubleshoot again in real-time when the issue happens again and unplug the devices 1 by 1 to see which one specifically it is.

Two notes: Device manager doesn't show any issues with any of the devices and Event Viewer doesn't show any errors/warning ect.

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,406 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 16,431 Reputation points Microsoft Vendor
    2023-09-07T03:28:21.03+00:00

     HelloGino675

    Answers to your questions.

    When the user account is showing the error and stopping the RDP connection, why can I remote in with a different account successfully?

    The current issue may be related to the profile of the account, the profile of each user is independent when connecting remotely, so you can successfully connect remotely when using different accounts.

    Can the USB driver state be different per profile?

    1. If different accounts use the same client to plug in the same USB device and use these devices to remotely connect to the same remote machine, the status of the USB driver in their respective profiles may be different. This is because each user's profile is independent, so their USB driver status may be different.
    2. If the USB device is plugged into a remote computer, the status of the USB driver on the client should be the same, unless the state of the remote computer has been changed.

     

    Why would a USB device stop an RDP connection? I would think it would just simply not load whichever USB device is causing the issue?

     

    USB devices usually do not directly block RDP connections. In fact, when you use RDP to connect to a remote computer, RDP disables USB redirection by default, please confirm did you enable USB redirection. Problems with the USB device itself or its drivers may affect the remote connection, not just the failure to load the USB device.

     

    Is there any way to prevent this from happening and is this a known issue?

     

    It is not a known issue. To prevent this from happening, make sure that the USB device you are using is compatible with your computer's operating system and drivers and regularly update your computer's USB drivers and firmware to the latest version.

     

    The next steps you plan to take are a good way for us to identify which device is causing the problem.

    I hope the above information can be helpful to you.

     

    Best regards,

    Karlie Weng