Greetings all.
I am looking for a way to script or commandline update the Standard VGA driver in a Windows 2008 R2 Guest VM to the WDDM 3d driver provided by the tools.
Since the tools install doesn't do this for us automatically anymore, I'm trying to automate it.
I've tried DEVCON, but I can't quite seem to get the syntax down correctly.
I'm open to suggestions other then devcon, if there are any.
Thanks!
Hi,
try using devcon the following way:
W:\>devcon updateNI "c:\Program Files\Common Files\VMware\Drivers\wddm_video\vm3d.inf" "PCI\VEN_15AD&DEV_0405&SUBSYS_040515AD&REV_00"
Specify a -r after devcon automatically boots the server.
Thanks for the response.
I ran the command and it comes back with "devcon failed."
Verify the device hardware ID in *.inf, compare it with devicemanager. Don´´t forget the "" around path to the inf-File.
Someone already have a solution for this question.
I've tried the devcon command but it's gives the error 'decon failed'
Easiest way I found to fix this was to use DPInst.exe which can be found in the Windows Driver Installation Kit --
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11800
Once you've download the ISO install the \WDK\dfx*.msi. This will install DPInst.exe into some obscure directory on your C:\
To fix the issue just copy DPInst.exe to the drivers\wddm_video folder on the VM and run 'DPInst.exe /s /f /se /sw'.
This will silently force the install of the wddm driver.
All thats needed after that is a reboot.
Take a look at pnputil ?
pnputil -i -a "c:\program files\common files\vmware\drivers\wddm_video\vm3d.inf"
shutdown /r /f /c "VMware vSphere WDDM Video Driver Update" /t 1
hi get device detials & run the command
Devcon driverdetails * > drivers.txt
You will get a list of all devices with their associate drivers. The devices are very specific like:
PCI\VEN_8086&DEV_100E&SUBSYS_01511028&REV_02\4&1C660DD6&0&60F0
There are other devices associated with this device, so if you try and update the specific device, it usually comes back with a “devcon failed”. You need to broaden the device path, and take the “base” device like this:
PCI\VEN_8086&DEV_100E
Yours,
Satya