Shocker Posted November 26, 2015 Posted November 26, 2015 (edited) 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 November 27, 2015 by Shocker
gmmg Posted August 8, 2019 Posted August 8, 2019 Hi all, just for info, I had the same problem and have solved it via "psexec". Example: Run ('"D:\Data\PsTools\psexec.exe" -h cmd /c "pnputil.exe -e >d:\data\driver_export.txt"') Run ('"D:\Data\PsTools\psexec.exe" \\computername -d -i -u "domain\user" -p password cmd /c "pnputil.exe -e >d:\data\driver_export.txt"') Greetings, gmmg
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now