Skip to content
PCFixWorkbench

USB · Windows 11

Fix a PC that restarts the moment you plug in a USB device

Written December 1, 2026

The PC reboots the instant a USB device goes in — no error, no warning. That points at a short, a bad port, or a driver crashing on arrival, not at the device itself. Isolate the port and the device first, then deal with power and drivers.

What you need

Read the problem before you touch it

  1. Work out whether it is the device, the port, or every USB device. If one flash drive restarts the PC in every port while other devices are fine, the drive or its connector is the problem. If every device restarts the PC in one front-panel port but works at the back, that port or its internal cable is the problem. If anything in any port restarts it, think power or drivers.
  2. Notice whether the restart is instant or a blue screen in disguise. A truly instant cut to black, with the fans stopping, behaves like a short circuit or a power protection trip. A restart that shows a brief blue screen first is a driver crash on device arrival. The fix paths differ, so watch one restart closely before changing anything.
  3. Check the connector before you blame Windows. Look inside the plug and the port with a light. A bent pin, a crushed plug shell, or debris in the port can short the power pins the moment the device seats. A damaged connector explains an instant restart better than any software setting, and no driver change fixes bent metal.

The simple fixes, in order

  1. Stop using the suspect port and device until you know which one it is. Keep testing with a cheap flash drive, not a drive holding your only copy of anything. A shorting device can take a port with it, and repeated hard power cuts are rough on open files. Narrow the fault first; reconnect your real gear only to ports and with devices that have passed.
  2. Test the rear ports on a desktop, and a different port on a laptop. Rear ports solder straight to the motherboard; front ports connect through a thin internal cable that gets pinched and damaged. If the rear ports accept every device calmly, the fault is the front port or its cable — leave that port empty and use the rear ones or a hub plugged into the back.
  3. Swap the cable and drop any hub or adapter. A frayed cable or a cheap unpowered hub can sag or short under the small power surge of a device spinning up. Plug the device directly into the PC with a cable you trust. If the restarts stop, replace the cable or hub rather than working around it.
  4. Turn off USB selective suspend. Open Settings > System > Power & battery and set the power mode to Best performance while you test. Then open Control Panel’s Power Options, edit your plan’s advanced settings, and set USB settings > USB selective suspend setting to Disabled. A port that is half-asleep when a device arrives can mishandle the wake-up badly enough to crash.
  5. Restart the PC cleanly and test before opening your apps. A driver left in a bad state by the first crash can make the next plug-in crash too, which muddies every test. Restart, sign in, wait a minute, then plug in the test flash drive once. One clean result after a clean boot means more than five tests in a row on a wounded system.

The advanced route

  1. Update the chipset and USB controller drivers. Open Device Manager, expand Universal Serial Bus controllers, and check each host controller and root hub for updates through Windows Update’s optional updates, or install the chipset package from your PC or motherboard maker’s support page. Microsoft covers the manual route in Update drivers through Device Manager in Windows — follow that order: Windows Update first, the maker’s package if the problem survives.
  2. Remove and reinstall the USB controllers. In Device Manager, right-click each USB Root Hub and host controller and choose Uninstall device, then restart the PC. Windows reinstalls the controllers fresh at boot. Your keyboard and mouse will stop responding as you uninstall, which is expected — the restart brings them back with clean driver entries.
  3. Look in Event Viewer for the crash signature. Open Event Viewer and check Windows Logs > System around a restart. A bugcheck entry names a driver crash; a Kernel-Power event with no bugcheck points back at power or a short. That one distinction tells you whether to keep working on drivers or to retire a port, cable, or device.
  4. Repair system files if every port and device still triggers it. Run DISM /Online /Cleanup-Image /RestoreHealth, then sfc /scannow, from an administrator Command Prompt, in that order. Microsoft documents both commands in Using System File Checker in Windows. Reserve this for the case where the hardware tests above are all clean and the restarts continue.

End state

When it goes wrong

Related fixes

Sources