How To Uninstall Drivers Using Dpinst.exe

This will uninstall a driver package whose INF path is mentioned in the command line. The path is relative to the directory containing DPInst.exe: For packaging purposes, the most used switches would be /sa /sw /se, and occasionally /f and /lm (in extreme scenarios). Jul 23, 2013 When using 'DPINST ' it install the driver successfully. But it failed to uninstall and remove.sys file when using 'DPINST /D /U xxx.inf'. The.inf and.cat files are removed but.sys file still show in device manager. Moved by HLK Moderator Tuesday, July 23, 2013 8:49 PM Driver installation. Thursday, July 18, 2013 1:23 AM. This will uninstall a driver package whose INF path is mentioned in the command line. The path is relative to the directory containing DPInst.exe For packaging purposes, the most used switches would be /sa /sw /se, and occasionally /f and /lm (in extreme scenarios).

How To Uninstall Drivers Using Dpinst.exe Windows 7

In my recent struggles with using the Windows 7/8 PNPUtil.exe built-in utility, I went on a search for another means to handle installing my Plug and Play drivers. I’ve dabbled with the Devcon.exe utility in the past, but it is mostly meant for use with Windows XP and previous OSes. I then came across a utility that I’ve seen many times before. The DPInst.exe utility is one used by manufacturers for importing their drivers during installation. It is by far the most flexible and powerful utility of them all. Here is how I’ve come to use the utility and am very happy with the results.

Script I use to call the proper DPInst.exe utility (x86 or x64):

ExeUsing

Both the x86 and x64 versions can use the same DPInst.XML, which MUST be placed in the same directory as the .EXE files:

* Settings for XML can be found here: http://msdn.microsoft.com/en-us/library/windows/hardware/ff553383(v=vs.85).aspx

Lastly, I toss all of my drivers in sub-folders. DPInstall is smart enough to re-curse through the directory tree and also install ONLY the drivers it needs (Matches a PNPID installed on the system).

How To Uninstall Drivers Using Dpinst.exe

It has exhibited issues installing Bluetooth and USB 3.0 drivers, but I believe that is because those devices have multiple sub-devices that appear after the initial driver is installed.

UninstallUsing

Download of DPInst.zip.

Dpinstx64

/Brian G