Share via

Prevent Windows from unpluging USB devices on sleep

Anonymous
2023-05-12T19:05:43+00:00

I'm running Windows 10 [0] via Apple Boot Camp on a 2016 Macbook Pro. I have display [1] connected to my MBP over the certified TB3 cable. That display has a built-in USB Hub with USB-C ports. My Logi Bolt receiver is connected to the hub and a mouse and keyboard are paired to this receiver.

My problem is that Windows unplugs the Hub and all devices on sleep [2], but does not re-plug them on wake [2]. I have tried the following to no avail:

  • Adjusted the advanced Power Plan settings to disable USB selective suspend
  • Disallowed Windows from suspending pretty much all devices via Device Manager

Interesting, that Windows 10 recognizes wake events when I move the mouse or press a key on the keyboard. However it doesn't recognize the devices until the TB3 cable is unplugged / re-plugged.

[0]: Windows 10 Pro, 22H2, 19045.2965, Windows Feature Experience Pack 1000.19041.1000.0

[1]: LG UltraFine 5k (27MD5KL-B), latest firmware

[2]: USB events confirmed via NirSoft's USBLogView

Windows for home | Windows 10 | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-05-12T19:39:08+00:00

    Hello! My name is Cristiano. I'm an Independent Advisor. I'm glad to help you.

    First, you mentioned that you've already tried adjusting the advanced Power Plan settings to disable USB selective suspend. While this is a good step, there may be other power settings that are causing the issue. So, you can check the settings again to make sure that all power-saving options for USB devices are disabled.

    If that doesn't work, you can try disabling the "USB selective suspend" setting in the Windows registry. Here's how to do it:

    1. Press the Windows key + R on your keyboard to open the Run dialog box.
    2. Type "regedit" (without quotes) in the box and hit Enter.
    3. Navigate to this path in the registry editor: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\A4B195F5-8225-47EB-89C6-43CDD82A19B6
    4. Double-click on the "Attributes" key on the right-hand side.
    5. Change the value from 1 to 2.
    6. Click "OK" to save the changes.

    Once you've done this, restart your computer and see if it solves the issue.

    If the problem persists, you can try updating the drivers for your USB devices. To do this, go to Device Manager, locate your USB hub, right-click on it, and select "Update driver". Windows should automatically search for and install the latest drivers for your devices.

    You can also try disabling the "fast startup" option in Windows. This option is known to cause issues with USB devices. Here's how to disable it:

    1. Go to the Control Panel.
    2. Click on "Power Options".
    3. Click on "Choose what the power buttons do".
    4. Click on "Change settings that are currently unavailable".
    5. Scroll down to "Shutdown settings" and uncheck the box that says "Turn on fast startup".
    6. Click "Save changes".

    I hope this helps!

    5 people found this answer helpful.
    0 comments No comments