Install a driver in Windows (XP) from command line?
DevCon seem to be the option for meeting your needs. DevCon is built to support Windows XP, while pnpUtil is supported in Windows Vista and later so the supposed duplicate question does not apply here since pnpUtil will not work in your case. Once you've downloaded DevCon, and extracted it, open a command prompt to the directory where devcon.exe is located. If you're using a 32-bit version of XP, you'll want to make sure you use the devcon.exe located in the i386 directory and not the one located in ia64 directory. Run the command as follows to install:
devcon install name_of_inf.inf
Use the following to remove a device driver:
devcon remove <hardware_id>
If you're not sure what the hardware_id is for a given device installed use
devcon findall *
Related videos on Youtube
Comments
-
ZEE over 1 year
How can I install and uninstall a driver from the command line during a console session?
I have the
driver.sys
and thedriver.inf
file, and I want to:- install the driver
- use the device managed by the driver (software or hardware)
- uninstall the driver
-
Ƭᴇcʜιᴇ007 about 10 yearsPleas expand -- how would the user use DevCon or pnpUtil to perform what he want?
-
DJ Chateau about 10 yearsI'm not 100% positive if XP support is still present in its most recent version, but if it is, that is a viable option as well. Considering DevCon was built for earlier systems pre-Vista, I'd stick with DevCon.
-
deFreitas over 7 yearsdevcon needs driver id to install