DevCon Rescan

Note

PnPUtil ships with every release of Windows and makes use of the most reliable and secure APIs available. We recommend using PnPUtil instead of DevCon. See the Recommended replacement below and Replacing DevCon for more information.

Uses Windows Plug and Play features to update the device list for the computer.

devcon [/r] rescan

Parameters

/r

Conditional reboot. Reboots the system after completing an operation only if a reboot is required to make a change effective.

pnputil /scan-devices

For more recommended replacements, see Replacing DevCon.

Comments

Rescanning can cause the Plug and Play manager to detect new devices and to install device drivers without warning.

Rescanning can detect some non-Plug and Play devices, particularly those that cannot notify the system when they are installed, such as parallel-port devices and serial-port devices. As a result, you must have Administrator privileges to run DevCon Rescan commands.

Sample usage

devcon rescan

Example