A ticket that says “my USB drive isn’t working” could mean almost anything. Take a Monday morning when three users on the same floor report that their docks stopped picking up flash drives and headsets. One has a frayed cable, the other is on dock firmware two versions behind, and the third is plugging in a personal drive that your removable storage policy is blocking exactly as intended. That’s the same symptom with three different causes, and one of them shouldn’t be “fixed” at all.

Windows 11 shows the same “USB device not recognized” message whether the device is failing, Windows has powered down the port, a driver broke after an update, or there’s a hub in the chain nobody mentioned. The fastest route is to rule out the hardware first, then work through what Device Manager reports and fix each cause as you find it. Here’s everything you need to know.

Quick fix: Re-enable or restart the device with pnputil

If the device worked before and has stopped, this is the fastest supported route, and it works the same in a remote PowerShell session. The sections below cover what to rule out first and what to do when this doesn’t work.

  1. In an elevated PowerShell window, run pnputil /enum-devices /problem and note the Instance ID of the affected USB device
  2. If the device is disabled, run pnputil /enable-device "<InstanceID>"
  3. If the device is enabled but still not working, run pnputil /restart-device "<InstanceID>". Don’t run this against a USB Root Hub or host controller in a remote session, because it can disconnect the user’s keyboard and mouse
  4. Run pnputil /enum-devices /instanceid "<InstanceID>" to confirm the device no longer reports a problem

What recovering a disabled USB device takes, and what Robin by Atera does for you

For routine end-user cases, this is how each stage of the manual process compares with what Robin by Atera does.

Stage

By hand

With Robin by Atera

Check the device’s status

Remote in, run pnputil /enum-devices /problem or Get-PnpDevice, and read the results

Robin checks Windows USB device status

Find the right device

Match the device to its Instance ID without touching the keyboard, mouse, or hub

Robin identifies the intended peripheral

Turn it back on

Run pnputil /enable-device with the Instance ID

Robin enables it when it’s disabled

Confirm it works

Recheck the device’s status, then message the user and wait for a reply

Robin checks the resulting device state and asks the employee to try the peripheral again

First, rule out the device, cable, port, and dock

Before you change anything in Windows, find out which part of the chain has failed. A few swap tests separate a faulty device or cable from a faulty port, a dock, or a problem on the PC itself.

Docks, hubs, and extension cables add another device, another power source, and sometimes their own firmware between the USB device and the PC. Disconnect the USB device from the hub or dock and connect it directly to a USB port on the computer, then check if Windows recognizes it.

If the device works when it’s connected directly, the hub or dock is the problem. A bus-powered hub may not supply enough power for the device, so connect the device to a powered hub or directly to the computer.

Work through the following:

  1. Confirm the dock is connected to its own power adapter, and that it’s the adapter the manufacturer specifies for that model
  2. Find the exact dock model on the manufacturer’s support site and download its firmware update utility
  3. Check the utility’s requirements, including any installation order for dock and computer updates
  4. Run the update with the dock connected to both the computer and power, and don’t disconnect either until it finishes
  5. Restart or power-cycle the dock if the manufacturer instructs it, then confirm the new firmware version in the utility
  6. Reconnect the USB device through the dock and test it again

If the device still isn’t recognized when it’s connected directly, find out whether the fault follows the device or stays with the port by trying different ports, cables, and devices.

How to fix a USB device not recognized in Windows 11 using Device Manager

Once the swap tests show the device works elsewhere, the problem is on the user’s PC. Device Manager’s status for the device tells you which fix applies, so start at the first check and move down the list.

Read the device’s status

Start by finding out what Windows thinks is wrong with the device.

  1. In Device Manager, expand the category the device should appear under, such as Disk drives for a flash drive or Sound, video and game controllers for a USB headset
  2. Expand Universal Serial Bus controllers and look for an Unknown USB Device entry or a yellow warning icon

    USB drivers in Device Manager
  3. Right-click the affected device and select Properties
  4. On the General tab, read the message and code under Device status

    Device status tab on USB drivers

To check without visiting the user, open a remote PowerShell session and run pnputil /enum-devices /problem. It lists every device Windows reports a problem with, along with its problem code and Instance ID. To check several machines at once, run this read-only script with Invoke-Command. The target machines need PowerShell remoting enabled, and the account running it needs administrator rights on them.

The Script:

Atera does not guarantee the integrity, availability, security, virus-free, safety, lawfulness, non-infringement, rights’ status, or functionality of the scripts. The use of the shared scripts is at your own risk. Scripts are provided “AS IS”. *

$Computers = 'PC01', 'PC02'
Invoke-Command -ComputerName $Computers -ScriptBlock {
    Get-PnpDevice -PresentOnly |
        Where-Object { $_.InstanceId -like 'USB*' -and $_.Status -ne 'OK' } |
        Select-Object Status, ConfigManagerErrorCode, FriendlyName, InstanceId
} | Format-Table PSComputerName, Status, ConfigManagerErrorCode, FriendlyName, InstanceId -AutoSize
Script copied to clipboard

This filter only catches devices whose instance ID starts with USB. Child devices, such as HID or audio endpoints, can appear under other prefixes (for example HID\), so a headset or keyboard can be missed. Use pnputil /enum-devices /problem for the full list.

ConfigManagerErrorCode is the same number Device Manager shows. Record the Instance ID of each affected device, because the remote fixes below use it. Then go to the fix that matches what you found:

  • Code 22: The device is disabled. See “If the device is disabled.”
  • Code 43 or Code 10: The device is enabled but reporting a problem. See “If the device is enabled but reporting a problem.”
  • Code 28: The driver isn’t installed. See “If the driver is missing or broke after an update.”
  • No error, but the device drops after idle time or sleep: See “If the device disconnects after idle time or sleep.”
  • Code 45: The device isn’t currently connected, so the entry is stale. Reconnect the device and check again.

Disk Management provides additional information about USB storage devices, including drives that don’t appear in File Explorer.

  1. Right-click Start and select Disk Management
  2. Locate the USB drive by its capacity, name, or drive letter
  3. Check for any errors without formatting or changing the drive

    Check device in Disk Management

With Robin by Atera: Reading the device’s status is the first job Robin takes over for routine end-user cases. When an employee reports a USB peripheral that has stopped working, Robin checks Windows USB device status and identifies the intended peripheral, then enables it when it’s disabled. Your technician doesn’t need a remote session to run these commands and match Instance IDs.

If the device is enabled but reporting a problem

Code 43 means Windows stopped the device after its driver reported a failure. When it appears as Unknown USB Device (Device Descriptor Request Failed), Windows detected the device but couldn’t read the information it uses to identify itself. If the swap tests didn’t find a physical fault, removing the device entry and letting Windows detect it again is the next step.

Uninstalling removes the device’s entry, so Windows rebuilds it from scratch and reloads the driver when it detects the device again. Scanning for hardware changes makes Windows check for connected hardware straight away. It reinstalls the device with the driver already on the system, but it doesn’t update that driver.

Follow these steps:

  1. In Device Manager, right-click the affected device
  2. Select Uninstall device

    Uninstall device from Device Manager
  3. Confirm the removal without selecting the option to delete the driver software

    Confirm device uninstall
  4. Open the Action menu
  5. Select Scan for hardware changes

    Scan for hardware changes
  6. Check that the device reappears with no error under Device status

Remotely, try pnputil /restart-device "<InstanceID>" first. It restarts the device without removing it. If the problem remains, run pnputil /remove-device "<InstanceID>", then pnputil /scan-devices to make Windows detect the device again, and check its status with pnputil /enum-devices /instanceid "<InstanceID>".

If several USB devices on the same machine are failing and reinstalling each one hasn’t helped, uninstall the USB Root Hub or host controller under Universal Serial Bus controllers, then scan for hardware changes. Treat this as a last resort, and avoid it in a remote session. It disconnects every device on that hub or controller, including the user’s keyboard and mouse, until Windows detects them again.

» Don’t miss our guides to updating PC drivers and the best driver updater software

If the device disconnects after idle time or sleep

A device that works, then drops after a period of inactivity or fails to reconnect after sleep may be getting switched off by Windows power management. Device Manager often shows no error, because the device was working when it was powered down. Check the two settings that control this.

USB selective suspend in the power plan:

  1. Open Control Panel, select Hardware and Sound, then select Power Options
  2. Select Change plan settings next to the active power plan
  3. Select Change advanced power settings
  4. Expand USB settings, then USB selective suspend setting, and note whether it’s enabled

    USB selective suspend setting
  5. If it’s enabled, set it to Disabled (laptops show separate On battery and Plugged in options, so set both)

If Windows can power down the USB hub:

  1. In Device Manager, expand Universal Serial Bus controllers
  2. Right-click USB Root Hub (USB 3.0) and select Properties
  3. Open the Power Management tab, if the hub has one
  4. Check whether Allow the computer to turn off this device to save power is selected

    Allow computer to turn off this device to save power setting

On many Windows 11 machines, USB settings doesn’t appear in Power Options at all. To expose it, run this in an elevated Command Prompt or PowerShell window, then reopen the advanced power settings: powercfg -attributes 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 -ATTRIB_HIDE

If the setting still doesn’t appear, read its current value instead with powercfg /qh SCHEME_CURRENT 2a737441-1930-4402-8d77-b2bebba308a3.

Under USB selective suspend setting, a power setting index of 0x00000000 means disabled and 0x00000001 means enabled. The output shows separate values for plugged in (AC) and on battery (DC).

Power config settings in CMD

To test whether selective suspend is causing the drops, note the original values, then disable it:

  1. Run powercfg /setacvalueindex SCHEME_CURRENT 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0 to disable it while plugged in
  2. On a laptop, run powercfg /setdcvalueindex SCHEME_CURRENT 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0 to disable it on battery too
  3. Run powercfg /setactive SCHEME_CURRENT to apply the change
  4. Run the /qh query again and confirm both values read 0x00000000

If the drops stop, leave the setting disabled on that machine or on the affected hardware model. If they don’t, restore the original values by running the same commands with 1 in place of 0, followed by powercfg /setactive SCHEME_CURRENT.

The same commands work in a remote PowerShell session. To apply the change to several machines, test it on one device or a small group first, then run it with Invoke-Command:

The Script:

Atera does not guarantee the integrity, availability, security, virus-free, safety, lawfulness, non-infringement, rights’ status, or functionality of the scripts. The use of the shared scripts is at your own risk. Scripts are provided “AS IS”. *

$Computers = 'PC01', 'PC02'
Invoke-Command -ComputerName $Computers -ScriptBlock {
    $Sub = '2a737441-1930-4402-8d77-b2bebba308a3'
    $Setting = '48e6b7a6-50f5-4782-a5d4-53bb8f07e226'
    powercfg /setacvalueindex SCHEME_CURRENT $Sub $Setting 0
    powercfg /setdcvalueindex SCHEME_CURRENT $Sub $Setting 0
    powercfg /setactive SCHEME_CURRENT
}
Script copied to clipboard

Pro tip: To push the change without connecting to each machine, Atera’s RMM offers remote PowerShell execution to run the script across selected devices or device groups. If you need to adapt it (such as applying it only to one hardware model), AI Copilot can generate the script from a plain-language description.

If the driver is missing or broke after an update

Code 28 means Windows recognized the device but has no working driver for it. A device that stopped working right after a driver update points to the driver as well. Windows supplies its own drivers for standard USB controllers, so start with Windows Update before going to the manufacturer.

If the problem started after a driver update, rolling that update back is the quickest test. If the device works again afterwards, the driver was the cause, so hold that update back on the affected machines until the manufacturer releases a fixed version.

If there’s nothing to roll back, or the driver is missing, check for an updated driver:

  1. Open Settings, select Windows Update, then select Advanced options
  2. Select Optional updates, then expand Driver updates
  3. Select any driver update for the USB device, USB controller, or chipset, then select Download & install
  4. Restart if prompted, then test the device again

    Advanced options in Windows Update

If Windows Update has nothing suitable, get the chipset driver package for the exact computer or motherboard model from the manufacturer’s support site. Dell Command Update, HP Image Assistant, and Lenovo System Update find the matching drivers on their own business machines. Intel Driver & Support Assistant and AMD’s chipset packages cover supported Intel and AMD hardware.

Across a fleet, test the driver on one device or a small group first, then roll it out in stages. Microsoft Intune can deploy approved driver updates through Windows Update. Where the driver only comes from the manufacturer, use its deployment tool for that hardware model.

With Robin: Windows updates are a separate Robin use case. Robin identifies available recommended Windows updates, follows the configured installation workflow, and returns the installation result and any next step. Optional driver updates and manufacturer driver packages, like the ones above, stay with your technicians

» Did you know you can disable Windows updates or stop an update in progress?

If USB fails on every port or every compatible computer

When every USB port on a machine fails, or the same failure follows a model or dock across several compatible computers, look at firmware. Device Manager errors on their own can’t tell a driver problem from a firmware problem. Check the manufacturer’s release notes for a known USB fault on that model before updating anything.

For a computer’s built-in Thunderbolt or USB4 controller, get the firmware for the exact computer model from the manufacturer’s support site and follow its instructions. These updates often ship through the same vendor tools as the drivers, or as part of a BIOS update.

Two more causes are worth a quick check on managed fleets. First, USB ports can be disabled in the BIOS or UEFI settings, sometimes by policy, so confirm the ports are enabled there. Second, Fast Startup can carry a faulty USB state through a shutdown, so use Restart rather than Shut down and power on, because Restart does a full reload.

» If you need help with this, see our guides to firmware updates and updating your BIOS

What to do when the device shows up but still won’t work

If the device appears in Device Manager but Windows denies access, opens the drive read-only, or won’t install it, check for a policy before treating it as a fault. Run gpresult /h "%TEMP%\gpresult.html" in an elevated window to see which policies apply to the machine, then look at these settings:

  • Removable Storage Access: Read, write, or deny-all restrictions under Computer Configuration > Administrative Templates > System > Removable Storage Access.
  • Device Installation Restrictions: Blocks on installing the device, under System > Device Installation > Device Installation Restrictions.
  • BitLocker write protection: Deny write access to removable drives not protected by BitLocker, which opens unencrypted drives read-only.
  • Microsoft Intune: Device control policies under Endpoint security > Attack surface reduction.
  • Microsoft Defender for Endpoint: A matching Block event in the device control report.

If a policy is blocking the device, Windows is doing what it was told. Restoring access goes through whoever owns that policy, by an approved exception or an approved device, not a workaround on the user’s machine.

Where Robin stops and your technicians start: Loose connections, driver and firmware faults, damaged devices, and policy blocks all need a technician’s judgment. Robin’s disabled-peripheral use case covers checking Windows USB device status, identifying the intended peripheral, enabling it when it’s disabled, and asking the employee to try it again. It doesn’t override security restrictions, so a blocked or still-failing device stays with your team. A device that is blocked by policy or still failing after that stays with your team. Robin gives them the time to manage these higher issues by taking routine fixes off their queue.

» Learn more: How to change the USB removal policy

Take disabled USB devices off the ticket queue

Most USB recognition problems come down to a short list of causes, and the order you check them in matters more than any single fix. Rule out the device, cable, port, and dock first. Then let Device Manager tell you whether you’re dealing with a disabled device, a driver or firmware fault, power management, or a policy doing its job. When the same device keeps failing, trace the fault instead of re-enabling the device every week.

For routine end-user cases, the simplest fix in this guide is the one Robin by Atera handles. Robin checks Windows USB device status, identifies the intended peripheral, and enables it when it’s disabled. It then checks the resulting device state and asks the employee to try the peripheral again, so a disabled headset or flash drive doesn’t sit in the queue waiting for a technician. For everything else, Atera’s remote PowerShell execution lets your team run the pnputil and powercfg checks from this guide across selected devices or device groups. Robin is sold separately as an add-on to the Atera IT suite.

» Interested? Request a demo of Robin or try Atera for free

Was this helpful?

* Scripts are provided for your benefit. You understand and acknowledge that when downloading and/or copying and/or using the Scripts: (i) you may be exposed to Scripts from a variety of sources, (ii) Atera is not responsible and takes no liability for the accuracy, usefulness, integrity, lawfulness, title or infringement, security, functionality or Intellectual Property Rights of, or relating to, such Scripts; and (iii) the Scripts are provided “AS IS” and “AS AVAILABLE”, and may have errors, and may not be malware-free, and that your interactions with, and use of, the Scripts is at your sole risk and free will. You hereby agree to waive, and hereby do waive, any legal or equitable rights or remedies you may have against Atera with respect to the Scripts.

Related Articles

How to fix Google Drive not syncing

Read now

How to fix Bluetooth not working in Windows 11

Read now

How to recover deleted files in Windows 11

Read now

How to change the time zone in Windows 11 and fix time sync

Read now

Endless IT possibilities

Boost your productivity with Atera’s intuitive, centralized all-in-one platform