Rescan for Hardware Changes with pnputil /scan-devices
Tell Windows to re-detect newly plugged hardware from the command line — the CLI equivalent of 'Scan for hardware changes' in Device Manager.
01Command
$ pnputil /scan-devices02What it does
Sometimes a plugged-in device never shows up: a USB dock, an expansion card, or a virtual machine device that attached late. Device Manager has an 'Action > Scan for hardware changes' button, and pnputil /scan-devices does exactly the same from a terminal — it asks the plug-and-play manager to re-enumerate devices. It is also the quickest fix when Device Manager itself hangs.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- PnPUtil - Plug and Play UtilityEvidence: Documents pnputil /scan-devices to trigger a rescan for plug and play device changes.
- pnputil command syntax | Microsoft LearnEvidence: pnputil /scan-devices scans the computer for any device changes.
Last verified: 2026-09-19 · Category: System & Settings
06Related solutions
Built-in command that enumerates kernel drivers with state, start mode and file path.
List third-party OEM driver packages with versions and dates before pruning the driver store.
Use the System File Checker to verify every protected Windows system file against known-good copies and automatically replace the damaged ones.