VMware Cloud Community
OsburnM
Hot Shot
Hot Shot

CmdLine Update VGA Driver to WDDM in W2K8R2 Guest

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!

7 Replies
degvm
Enthusiast
Enthusiast

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.

0 Kudos
OsburnM
Hot Shot
Hot Shot

Thanks for the response.

I ran the command and it comes back with "devcon failed."

0 Kudos
degvm
Enthusiast
Enthusiast

Verify the device hardware ID in *.inf, compare it with devicemanager. Don´´t forget the "" around path to the inf-File.

0 Kudos
ErikSteffens
Contributor
Contributor

Someone already have a solution for this question.

I've tried the devcon command but it's gives the error 'decon failed'

0 Kudos
glloyd78
Contributor
Contributor

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.

0 Kudos
meistermn
Expert
Expert

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

http://communities.vmware.com/thread/329930?tstart=30

0 Kudos
satya1
Hot Shot
Hot Shot

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