Monday, 13 January 2014

Delete Windows Driver Packages

Today I had a need to remove a driver from Windows 7 x64 on a Syspreped Operating System.
As it turned it is it very easy to do thanks to a built-in tool called pnputil.exe.

Simply run pnputil.exe -e to get a list of third party drivers.   I piped the output of the command into a text file with pnputil.exe -e > pnputil.txt

Then search the new text file for the driver you need to delete.

Lastly, delete the driver package with this command pnputil.exe -d oem1234.inf
You will have to supply the correct file name for the above command to work.

This is all documented on TechNet here;

No comments:

Post a comment