guidox / Hardware

Find the Device Behind a USB Power Surge Message

TL;DR

Read the **USB** event log entries right after the message, disconnect everything, then add devices back one at a time. A hub with too many bus-powered devices is the usual cause.

Before you start

Requirements

  • The machine and its USB devices
  • 15 minutes
  • A known-good device for the port test
Step by step

Instructions

01

Record the message and the port

The notification names the hub, not the device. The event log carries the controller and the port number, which narrows it to one socket.

Get-WinEvent -LogName System -MaxEvents 100 | Where-Object Message -match 'power surge|USB' | Select-Object TimeCreated,ProviderName,Id,Message -First 5
Get-PnpDevice -Class USB | Select-Object FriendlyName,Status,Problem,InstanceId | Select-Object -First 15
02

Strip the bus down

Disconnect every USB device except a keyboard and mouse, then check whether the message returns. A clean bus is the baseline every later test compares against.

Get-PnpDevice -PresentOnly -Class USB | Select-Object FriendlyName,Status
Get-CimInstance Win32_USBController | Select-Object Name,Status,DeviceID
Get-CimInstance Win32_USBHub | Select-Object Name,Status,DeviceID
03

Add devices back one at a time

A device that draws more than the port can supply triggers the message when the bus is otherwise idle. Adding one device per test identifies it in minutes.

# plug in one device, wait two minutes, check for the notification
Get-WinEvent -LogName System -MaxEvents 20 | Where-Object Message -match 'power surge' | Select-Object TimeCreated,Message -First 1
Get-PnpDevice -PresentOnly -Class USB | Select-Object FriendlyName,Status
04

Check the hubs and the power budget

An unpowered hub splits one port's current across several devices. A bus-powered drive on a hub with a keyboard and a phone is the classic overload.

Get-CimInstance Win32_USBControllerDevice | ForEach-Object { [wmi]$_.Dependent } | Select-Object Name,Status | Sort-Object Name
Get-CimInstance Win32_PnPEntity | Where-Object { $_.Name -match 'Hub' } | Select-Object Name,Status,DeviceID
# prefer a powered hub for drives and docks
05

Test the port itself

A port with a bent contact or a short reports a surge with nothing attached. That is a hardware fault, and moving to another port is the test.

Get-PnpDevice -Class USB | Where-Object Status -ne 'OK' | Select-Object FriendlyName,Status,Problem
Get-CimInstance Win32_USBController | Select-Object Name,Status,ConfigManagerErrorCode
# move the same device to a different port and repeat
06

Confirm the fix over a day

The message can take hours to return. A day without it, with the same devices on a powered hub, is the confirmation that the budget was the issue.

Get-WinEvent -LogName System -MaxEvents 500 | Where-Object Message -match 'power surge' | Measure-Object
Get-PnpDevice -Class USB | Select-Object FriendlyName,Status
Get-CimInstance Win32_USBHub | Select-Object Name,Status
Troubleshooting

Common issues

The message appears with nothing plugged in

The port or the controller is faulty. Test the same port with a known-good device, then disable that port in the firmware or the device manager.

Only one device triggers it

That device draws too much or has a shorted cable. Try it on a powered hub and with another cable.

The port is dead after the message

Windows powers the port down until reboot. Restart to reset the controller, then avoid the device that caused it.

It happens only when the laptop is on battery

The port's current limit is lower on battery. Use a powered hub for anything that draws more than a phone.

FAQ

Frequently asked

Can a power surge damage the laptop?

The controller shuts the port down to prevent damage. Repeated surges are still a reason to stop using the device.

Is a USB-C dock different?

Yes. A dock negotiates power over USB-PD, and an undersized power supply produces the same symptom.

Does a firmware update help?

Sometimes. Controller firmware fixes have addressed spurious surge reports on some laptop models.

How to undo this

Nothing is changed by testing. Reconnect the devices you need, and keep the overloaded combination off the same hub.

Changelog · 1 entry
  1. 2026-11-01
    First version
Interactive version: checklist, feedback, related guides →

Free · no account needed · tracks your progress