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.
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.
Easiest way I found to fix this was to use DPInst.exe which can be found in the Windows Driver Installation Kit --
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:
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: