You might sometimes need to manually select to scan for hardware changes when Windows doesn’t immediately recognize (detect) devices connected. In this case, the peripheral won’t be visible in Device Manager. Running scans for detecting hardware changes can also resolve driver-related issues and hardware conflicts.
This is how you can scan for hardware changes on your Windows PC.
How to Scan For Hardware Changes With Device Manager
Device Manager is the utility for managing peripherals on Windows PCs. That tool includes a Scan for hardware changes option you can select, which pretty much does what its label says. You can select that option in the Device Manager as follows:
- First, hold the Windows key and press X to activate a black Power User menu, which has numerous shortcuts on it.
- Click Device Manager to open that utility’s window.
- Select a device category within the window.
- Next, click on the Action menu.
- Select the Scan for hardware devices changes option.
Alternatively, right-click a device and select Scan for hardware changes on its context menu. It’s recommended to do that for devices showing exclamation marks. The exclamation mark highlights there’s an issue with the device, which selecting Scan for hardware changes could fix.
You can also select the Scan for hardware devices option to reinstall a device driver. To uninstall a device, right-click on it to select the Uninstall Device option; select the Attempt to remove driver for this device or Delete driver checkbox on the prompt that appears and click Uninstall. Then select Scan for hardware devices as outlined above.
Computer Management Tool is a utility that incorporates the Device Manager. So, you can also select Device Manager’s Scan for hardware changes option within the Computer Management window as follows:
- Bring up the Power User menu to select Computer Management on it.
- Click System Tools to select Device Manager.
- Select a device category.
- Click Action and Scan for hardware changes.
How to Scan For Hardware Changes From the Command Prompt
The Command Prompt has a pnputil.exe utility with which you can scan for hardware changes on a PC. PnPUtil is a driver management command-line tool for adding and removing device drivers. This is how you can scan for hardware changes from the Command Prompt with that tool:
- Click the search bar or magnifying glass icon on the taskbar to access the tool for finding files and folders.
- Type Command Prompt to find the app with that title.
- Right-click Command Prompt in the search results and select Run as administrator to launch Command Prompt with elevated privileges.
- Input this PnPUtil command:
- Press Enter to scan for hardware changes.
You’ll see a “Scanning for device hardware changes” message after command execution. The scanning probably won’t take long. Close the Command Prompt when you see the “Scan complete” message.
How to Scan For Hardware Changes With a Desktop Shortcut
You can also create a desktop shortcut for scanning for detecting hardware changes based on the PnPUtil command. Such a shortcut will enable you to run the scan devices command directly from the desktop without entering it. These are the steps for creating a command desktop shortcut that scans for hardware changes.
- Right-click an empty area of your Windows desktop to select New and Shortcut.
- Enter (or copy and paste) this command into the location of item box:
C:\Windows\System32\cmd.exe /k pnputil.exe /scan-devices
- Select Next to continue in the Create Shortcut wizard.
- Enter Scan for hardware changes in the shortcut name box.
- Click Finish to add the shortcut to the desktop.
- Right-click the Scan for hardware changes shortcut and select Properties.
- Click Advanced on the Shortcut tab.
- Select Run as administrator and OK.
- Click Apply to set the shortcut to run with elevated privileges.
You can now scan for hardware changes with the desktop shortcut whenever needed. Double-clicking the Scan for hardware changes shortcut will run the scan-devices command.
Manually scanning for hardware changes is a Windows troubleshooting method that can fix some hardware-related issues. The Scan for hardware changes option is mostly useful for detecting older hardware peripherals that Windows might not always automatically recognize and reinstalling drivers when devices aren’t working right.