Jump to content
Sign in to follow this  

Remove Driver Package with PnPutil

Recommended Posts


Hi there,

i try to remove a Driver Package on Win 8.1 (X64) with PnPutil - but it didn't work :(

RunWait(@ComSpec & ' /k pnputil.exe -f -d ' & $sINF, @Systemdir, @SW_SHOW)
;it show wrong typed or File not found cause @Systemdir is C:\Windows\SYSWOW64

RunWait(@ComSpec & ' /k pnputil.exe -f -d ' & $sINF, @WindowsDir & "\system32", @SW_SHOW)
;same error but CMD GUI (ADMIN) show C:\Windows\System32
;even if I type PnPutil with my Commands i get this error :-(

What i'm doing wrong? Thx...


Edit: with Filecopy or Fileinstall PnPutil.exe to @Systemdir or with devcon.exe dp_delete solved.

Edited by Shocker

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.