Forcibly replaces the current device drivers with drivers listed in the specified INF file without prompting the user for information or confirmation. Valid only on the local computer.
devcon [/r] updateni INFfile HardwareID
The specified hardware ID must exactly match the hardware ID of the device. Patterns are not valid. Do not type a single quote character (') to indicate a literal value.
The DevCon UpdateNI operation suppresses all user prompts that require a response and assumes the default response. As a result, you cannot use this operation to install unsigned drivers. To display user prompts during an update, use DevCon Update.
The DevCon UpdateNI operation forces an update, even if the drivers in the specified INF file are older or less appropriate than the current drivers.
Before updating the driver for any device, determine which devices will be affected by the update command. To do so, use the hardware ID in a display command, such as DevCon Hwids or DevCon DriverFiles. This is especially important in a DevCon UpdateNI operation because DevCon does not list the device drivers that it updates.
Because you might need to reboot the system to make the command effective, add the conditional reboot parameter (/r) to the command.
devcon updateni c:\windows\inf\newdvc.inf ISAPNP\CSC4324\0 devcon /r updateni c:\windows\inf\newdvc.inf *PNP030b