USB · Windows 11
Fix a PC that restarts the moment you plug in a USB device
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
- Ten to twenty minutes, plus patience for a few restarts. You will be plugging and unplugging deliberately, one change at a time.
- A second USB device and, if you have one, a second cable. A plain USB flash drive is the ideal test device.
- Your work saved and closed. Every test plug-in can restart the PC again until you find the trigger.
Read the problem before you touch it
- 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.
- 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.
- 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
- 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.
- 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.
- 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.
- 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.
- 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
- 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.
- 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.
- Look in Event Viewer for the crash signature. Open Event Viewer and check Windows Logs > System around a restart. A
bugcheckentry names a driver crash; a Kernel-Power event with nobugcheckpoints 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. - Repair system files if every port and device still triggers it. Run
DISM /Online /Cleanup-Image /RestoreHealth, thensfc /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
- Any healthy USB device plugs into the working ports with no restart.
- The faulty port, cable, hub, or device is identified and out of service, not still in daily use.
- The PC survives a restart and a fresh plug-in test afterward.
When it goes wrong
- Only one device causes it, in every port. That device is shorting or drawing far too much power. Retire it. Do not keep testing it in more ports — each test risks another port.
- Only the front ports cause it. The front panel cable or ports are damaged. Leave them disconnected or unused and work from the rear ports; a repair shop can replace the front panel assembly if you need those ports.
- The restarts began right after a driver or Windows update. Use Device Manager to roll back the USB controller or chipset driver on its Driver tab, restart, and test again. If the rollback holds, pause that update until a newer version appears.
- The PC restarts with nothing plugged in at all. The USB device was a coincidence or the final straw for a failing power supply. That is a wider hardware fault — back up your files while the PC still runs, and treat it as a power supply or motherboard problem, not a USB problem.
Related fixes
-
Fix a USB port that charges a phone but will not connect any device
A port that delivers power but no data connection has working power pins and broken or disabled data lines — charging proves almost nothing about the rest of the port. Test with a known data cable and a second device first to rule out the cheap causes, then work through the port's driver before concluding the port itself is damaged.
-
Fix a USB device that Windows does not recognize
Prove whether the fault is the device, the cable, the port or Windows, then clear the driver and power settings that keep a good device hidden.
-
Fix USB ports that work for some devices but not others
When a USB port takes a mouse but not a drive, or one device fails in every port, a short two-device test grid tells you whether the fault follows the port, the device, the cable, or a power setting. Run the grid first, then fix the branch it points to.
-
Fix a laptop screen that goes black the moment you unplug the charger
A screen that dies the instant the charger comes out is usually a power setting dropping brightness or the panel's behavior on battery, not a dead display. Test with brightness first, check what changes when the laptop switches to battery, and only then look at the battery itself.
Sources
- Microsoft Support, Update drivers through Device Manager in Windows — updating chipset and USB controller drivers through Device Manager and Windows Update.
- Microsoft Support, Using System File Checker in Windows — running DISM and SFC to repair missing or corrupted system files.