Uses Windows Plug and Play features to update the device list for the computer. Valid on local and remote computers.
devcon [/m:\\computer] [/r] rescan
The /m parameter must precede the operation name (rescan). Otherwise, DevCon ignores the /m parameter and scans the local computer without returning a syntax error.
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.
devcon rescan devcon /m:\\Server01 rescan