VMware Horizon Community
JessOlson
Enthusiast
Enthusiast
Jump to solution

Network Drivers Not Installing

So I'm working on our first Windows 7 deployment in View, and I'm running into a problem with installing network drivers.

I'm using the VMXNET 3 NIC in the base image, but when new desktops are composed, the network driver wont install and provisioning fails. If I log in to one of the machines from the console, NIC is sitting in "Other devices" in the device manager, like it hasn't picked up drivers. When I right-click and tell it to update the driver, it picks up the VMXNET 3 driver right away and installs, fixing the issue.

Why isn't Windows doing this automatically like it should? I can't provision VMs without this as part of the provisioning process requires contacting the View Agent on the VM (and with no NIC, that's a bit difficult).

Reply
0 Kudos
1 Solution

Accepted Solutions
memaad
Virtuoso
Virtuoso
Jump to solution

Hi,

Also apply this window 7 hotfix on your Base Image/ Master Image

http://pubs.vmware.com/view-51/index.jsp?topic=%2Fcom.vmware.view.administration.doc%2FGUID-E20AE465...

For  :   Virtual network adapter :  VMXNET 3

To use this adapter,  Install  Microsoft hotfix patch

Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.

View solution in original post

Reply
0 Kudos
8 Replies
memaad
Virtuoso
Virtuoso
Jump to solution

Hi,


Can  you the setupapi.log from the provisioned virtual  desktop. It should have information about failing to install driver.


Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.
Reply
0 Kudos
JessOlson
Enthusiast
Enthusiast
Jump to solution

Which one? Setupapi.dev.log or setupapi.app.log?

Reply
0 Kudos
memaad
Virtuoso
Virtuoso
Jump to solution

Hi,

Both the logs. Can you attach it here. Also give me approximate time stamp  when you composed it. If you can reproduce the issue and collect this logs.

Share your VMware view setup detail.

Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.
Reply
0 Kudos
memaad
Virtuoso
Virtuoso
Jump to solution

Hi,

Also apply this window 7 hotfix on your Base Image/ Master Image

http://pubs.vmware.com/view-51/index.jsp?topic=%2Fcom.vmware.view.administration.doc%2FGUID-E20AE465...

For  :   Virtual network adapter :  VMXNET 3

To use this adapter,  Install  Microsoft hotfix patch

Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.
Reply
0 Kudos
JessOlson
Enthusiast
Enthusiast
Jump to solution

Just freshly provisioned this machine - it is sitting at Error status in View Manager (that is, until I go in and manually tell it to grab the driver).

The View setup is pretty basic - two test pools, View 5.1.2, and Windows 7 desktops that are non-persistent. The strange thing is that the network driver works just fine on the parent VM, and when adding another NIC from the "Edit virtual machine settings", the new NIC is detected and set up immediately.

I've been a View consultant for almost four years, and I've never run into this issue (then again, almost all my installs were XP).

Reply
0 Kudos
memaad
Virtuoso
Virtuoso
Jump to solution

Hi JessOlson,

Can you apply those hotfix that I mention in my prevoius post, you can refer link about its recommendation. Then provision new pool

In mean while I will have look in to logs.

Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.
Reply
0 Kudos
memaad
Virtuoso
Virtuoso
Jump to solution

Hi,

I reviewed the logs that you have uploaded, I dont see any failure for vmxnet3 driver installation. I see all are successful.

I think you got this logs  once you installed vmxnet3 driver manually. Can you collect the logs immediatly after recompose and then install the driver .

Also use this Windows 7 optimziation guide

http://www.vmware.com/files/pdf/VMware-View-OptimizationGuideWindows7-EN.pdf

======================================================

Here is log snippet from setupapd.dev.log , you can track the installation of vmxnet3 through this key word "

dvi: Selected driver installs from section [vmxnet3.ndis620.x64.ndi]

     inf: Opened PNF: 'C:\Windows\System32\DriverStore\FileRepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf' ([strings])
     dvi: Selected driver installs from section [vmxnet3.ndis620.x64.ndi] in 'c:\windows\system32\driverstore\filerepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf'.
     dvi: Class GUID of device changed to: {4d36e972-e325-11ce-bfc1-08002be10318}.
     dvi: Set selected driver complete.
     dvi: {Plug and Play Service: Device Install for PCI\VEN_15AD&DEV_07B0&SUBSYS_07B015AD&REV_01\FF565000D06A91FE00}
     ump:      Creating Install Process: DrvInst.exe 11:36:24.160
     ndv:      Infpath=C:\Windows\INF\oem11.inf
     ndv:      DriverNodeName=vmxnet3ndis6.inf:vmxnet3.NTamd64.6.1:vmxnet3.ndis620.x64.ndi:1.3.9.0:pci\ven_15ad&dev_07b0
     ndv:      DriverStorepath=C:\Windows\System32\DriverStore\FileRepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf
     ndv:      Building driver list from driver node strong name...
     dvi:      Searching for hardware ID(s):
     dvi:           pci\ven_15ad&dev_07b0&subsys_07b015ad&rev_01
     dvi:           pci\ven_15ad&dev_07b0&subsys_07b015ad
     dvi:           pci\ven_15ad&dev_07b0&cc_020000
     dvi:           pci\ven_15ad&dev_07b0&cc_0200
     dvi:      Searching for compatible ID(s):
     dvi:           pci\ven_15ad&dev_07b0&rev_01
     dvi:           pci\ven_15ad&dev_07b0
     dvi:           pci\ven_15ad&cc_020000
     dvi:           pci\ven_15ad&cc_0200
     dvi:           pci\ven_15ad
     dvi:           pci\cc_020000&dt_0
     dvi:           pci\cc_020000
     dvi:           pci\cc_0200&dt_0
     dvi:           pci\cc_0200
     inf:      Opened PNF: 'C:\Windows\System32\DriverStore\FileRepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf' ([strings])
     dvi:      Selected driver installs from section [vmxnet3.ndis620.x64.ndi] in 'c:\windows\system32\driverstore\filerepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf'.
     dvi:      Class GUID of device changed to: {4d36e972-e325-11ce-bfc1-08002be10318}.
     dvi:      Set selected driver complete.
=====
inf: Opened PNF: 'C:\Windows\System32\DriverStore\FileRepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf' ([strings])
     dvi: Selected driver installs from section [vmxnet3.ndis620.x64.ndi] in 'c:\windows\system32\driverstore\filerepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf'.
     dvi: Class GUID of device changed to: {4d36e972-e325-11ce-bfc1-08002be10318}.
     dvi: Set selected driver complete.
     ndv: Driver selected, now performing install...
     ndv: {Core Device Install} 09:38:24.414
     inf:      Opened PNF: 'C:\Windows\INF\oem11.inf' ([strings])
     inf:      Opened PNF: 'C:\Windows\INF\oem11.inf' ([strings])
     dvi:      {DIF_ALLOW_INSTALL} 09:38:24.632
     dvi:           Using exported function 'NetClassInstaller' in module 'C:\Windows\system32\NetCfgx.dll'.
     dvi:           Class installer == NetCfgx.dll,NetClassInstaller
     dvi:           Using exported function 'NciDeviceInstall' in module 'C:\Windows\system32\nci.dll'.
     dvi:           CoInstaller 1 == nci.dll,NciDeviceInstall
     dvi:           Using exported function 'WlanDeviceClassCoInstaller' in module 'C:\Windows\system32\wlaninst.dll'.
     dvi:           CoInstaller 2 == wlaninst.dll,WlanDeviceClassCoInstaller
     dvi:           Using exported function 'WwanDeviceClassCoInstaller' in module 'C:\Windows\system32\wwaninst.dll'.
     dvi:           CoInstaller 3 == wwaninst.dll,WwanDeviceClassCoInstaller
     dvi:           CoInstaller 1: Enter 09:38:24.679
     dvi:           CoInstaller 1: Exit
     dvi:           CoInstaller 2: Enter 09:38:24.679
     dvi:           CoInstaller 2: Exit
     dvi:           CoInstaller 3: Enter 09:38:24.679
     dvi:           CoInstaller 3: Exit
     dvi:           Class installer: Enter 09:38:24.679
     inf:                Opened PNF: 'C:\Windows\INF\oem11.inf' ([strings])
     inf:                DelReg=Pre620RssSettings.remove.reg  (oem11.inf line 310)
     inf:                DelReg=OldAdaptiveRing.remove.reg  (oem11.inf line 311)
     inf:                AddReg=vmxnet3.ndis6.reg,vmxnet3.commonSettings.reg  (oem11.inf line 305)
     inf:                AddReg=vmxnet3.ndis6Settings.reg  (oem11.inf line 306)
     inf:                AddReg=vmxnet3.ndis620Settings.reg  (oem11.inf line 307)
     inf:                AddReg=rss.reg,vmxnet3.ndis620RssSettings.reg  (oem11.inf line 308)
     dvi:           Class installer: Exit
     dvi:           Default installer: Enter 09:38:24.788
     dvi:           Default installer: Exit
     dvi:      {DIF_ALLOW_INSTALL - exit(0xe000020e)} 09:38:24.788
     ndv:      Installing files...
     dvi:      {DIF_INSTALLDEVICEFILES} 09:38:25.116
     dvi:           CoInstaller 1: Enter 09:38:25.116
     dvi:           CoInstaller 1: Exit
     dvi:           CoInstaller 2: Enter 09:38:25.116
     dvi:           CoInstaller 2: Exit
     dvi:           CoInstaller 3: Enter 09:38:25.116
     dvi:           CoInstaller 3: Exit
     dvi:           Class installer: Enter 09:38:25.116
     dvi:           Class installer: Exit
     dvi:           Default installer: Enter 09:38:25.116
     dvi:                {Install FILES}
     inf:                     Opened PNF: 'c:\windows\system32\driverstore\filerepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf' ([strings])
     inf:                     {Install Inf Section [vmxnet3.ndis620.x64.ndi.NT]}
     inf:                          CopyFiles=vmxnet3.ndis6.x64.CopyFiles  (vmxnet3ndis6.inf line 312)
     cpy:                          Open PnpLockdownPolicy: Err=2. This is OK. Use LockDownPolicyDefault
     flq:                          QueueSingleCopy...
     flq:                          Inf     : 'c:\windows\system32\driverstore\filerepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf'
     flq:                          SourceInf: 'c:\windows\system32\driverstore\filerepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf'
     flq:                          SourceSection: [sourcedisksfiles]
     flq:                          Source root path based on SourceInf
     flq:                          SourceRootPath: 'C:\Windows\System32\DriverStore\FileRepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f'
     flq:                          {FILE_QUEUE_COPY}
     flq:                               CopyStyle      - 0x00000400
     flq:                               {FILE_QUEUE_COPY}
     flq:                                    CopyStyle      - 0x00000400
     flq:                                    SourceRootPath - 'C:\Windows\System32\DriverStore\FileRepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f'
     flq:                                    SourceFilename - 'vmxnet3n61x64.sys'
     flq:                                    TargetDirectory- 'C:\Windows\system32\DRIVERS'
     flq:                                    TargetFilename - 'vmxnet3n61x64.sys'
     flq:                                    SourceDesc     - 'vmxnet3 Driver Disk 1'
     flq:                                    SourceTagfile  - 'vmxnet3n61x86.sys'
     flq:                               {FILE_QUEUE_COPY exit(0x00000000)}
     flq:                          {FILE_QUEUE_COPY exit(0x00000000)}
     inf:                     {Install Inf Section [vmxnet3.ndis620.x64.ndi.NT] exit (0x00000000)}
     dvi:                     Processing co-installer registration section [vmxnet3.ndis620.x64.ndi.NT.CoInstallers].
     inf:                     {Install Inf Section [vmxnet3.ndis620.x64.ndi.NT.CoInstallers]}
     inf:                     {Install Inf Section [vmxnet3.ndis620.x64.ndi.NT.CoInstallers] exit (0x00000000)}
     dvi:                     Co-installers registered.
     dvi:                     {Install INTERFACES}
     dvi:                          Installing section [vmxnet3.ndis620.x64.ndi.NT.Interfaces]
     dvi:                     {Install INTERFACES exit 00000000}
     dvi:                {Install FILES exit (0x00000000)}
     dvi:           Default installer: Exit
     dvi:      {DIF_INSTALLDEVICEFILES - exit(0x00000000)} 09:38:25.334
     ndv:      Pruning file queue...
     dvi:      {_SCAN_FILE_QUEUE}
     flq:           ScanQ flags=620
     flq:                SPQ_SCAN_PRUNE_COPY_QUEUE
     flq:                SPQ_SCAN_FILE_COMPARISON
     flq:                SPQ_SCAN_ACTIVATE_DRP
     flq:           ScanQ number of copy nodes=1
     flq:           File 'C:\Windows\system32\DRIVERS\vmxnet3n61x64.sys' pruned from copy.
     sig:           Using catalog 'C:\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\oem11.CAT'.
     cpy:           DrpSetRegFileProt 'C:\Windows\system32\DRIVERS\vmxnet3n61x64.sys' Status=0 Class=OEM Legacy
     flq:           ScanQ action=200 DoPruning=32
     flq:           ScanQ end Validity flags=620 CopyNodes=0
     dvi:      {_SCAN_FILE_QUEUE exit(0, 0x00000000)}
     ndv:      Committing file queue...
     flq:      {_commit_file_queue}
     flq:           CommitQ DelNodes=0 RenNodes=0 CopyNodes=0
     flq:           CommitQ early exit: No nodes are queued
     flq:      {_commit_file_queue exit OK}
     ndv:      Registering CoInstallers...
     dvi:      {DIF_REGISTER_COINSTALLERS} 09:38:27.737
     dvi:           CoInstaller 1: Enter 09:38:27.737
     dvi:           CoInstaller 1: Exit
     dvi:           CoInstaller 2: Enter 09:38:27.737
     dvi:           CoInstaller 2: Exit
     dvi:           CoInstaller 3: Enter 09:38:27.737
     dvi:           CoInstaller 3: Exit
     dvi:           Class installer: Enter 09:38:27.737
     dvi:           Class installer: Exit
     dvi:           Default installer: Enter 09:38:27.737
     inf:                Opened PNF: 'c:\windows\system32\driverstore\filerepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf' ([strings])
     inf:                {Install Inf Section [vmxnet3.ndis620.x64.ndi.NT.CoInstallers]}
     inf:                {Install Inf Section [vmxnet3.ndis620.x64.ndi.NT.CoInstallers] exit (0x00000000)}
     dvi:                {DIF_DESTROYPRIVATEDATA} 09:38:27.752
     dvi:                     CoInstaller 1: Enter 09:38:27.752
     dvi:                     CoInstaller 1: Exit
     dvi:                     CoInstaller 2: Enter 09:38:27.752
     dvi:                     CoInstaller 2: Exit
     dvi:                     CoInstaller 3: Enter 09:38:27.752
     dvi:                     CoInstaller 3: Exit
     dvi:                     Class installer: Enter 09:38:27.752
     dvi:                     Class installer: Exit
     dvi:                {DIF_DESTROYPRIVATEDATA - exit(0x00000000)} 09:38:27.752
     dvi:                Co-installers registered.
     dvi:           Default installer: Exit
dvi: Selected driver installs from section [vmxnet3.ndis620.x64.ndi] in 'c:\windows\system32\driverstore\filerepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf'.
     dvi: Class GUID of device changed to: {4d36e972-e325-11ce-bfc1-08002be10318}.
     dvi: Set selected driver complete.
     ndv: Driver selected, now performing install...
     ndv: {Core Device Install} 10:41:47.693
     inf:      Opened PNF: 'C:\Windows\INF\oem11.inf' ([strings])
     inf:      Opened PNF: 'C:\Windows\INF\oem11.inf' ([strings])
     dvi:      {DIF_ALLOW_INSTALL} 10:41:47.708
     dvi:           Using exported function 'NetClassInstaller' in module 'C:\Windows\system32\NetCfgx.dll'.
     dvi:           Class installer == NetCfgx.dll,NetClassInstaller
     dvi:           Using exported function 'NciDeviceInstall' in module 'C:\Windows\system32\nci.dll'.
     dvi:           CoInstaller 1 == nci.dll,NciDeviceInstall
     dvi:           Using exported function 'WlanDeviceClassCoInstaller' in module 'C:\Windows\system32\wlaninst.dll'.
     dvi:           CoInstaller 2 == wlaninst.dll,WlanDeviceClassCoInstaller
     dvi:           Using exported function 'WwanDeviceClassCoInstaller' in module 'C:\Windows\system32\wwaninst.dll'.
     dvi:           CoInstaller 3 == wwaninst.dll,WwanDeviceClassCoInstaller
     dvi:           CoInstaller 1: Enter 10:41:47.724
     dvi:           CoInstaller 1: Exit
     dvi:           CoInstaller 2: Enter 10:41:47.724
     dvi:           CoInstaller 2: Exit
     dvi:           CoInstaller 3: Enter 10:41:47.724
     dvi:           CoInstaller 3: Exit
     dvi:           Class installer: Enter 10:41:47.724
     inf:                Opened PNF: 'C:\Windows\INF\oem11.inf' ([strings])
     inf:                DelReg=Pre620RssSettings.remove.reg  (oem11.inf line 310)
     inf:                DelReg=OldAdaptiveRing.remove.reg  (oem11.inf line 311)
     inf:                AddReg=vmxnet3.ndis6.reg,vmxnet3.commonSettings.reg  (oem11.inf line 305)
     inf:                AddReg=vmxnet3.ndis6Settings.reg  (oem11.inf line 306)
     inf:                AddReg=vmxnet3.ndis620Settings.reg  (oem11.inf line 307)
     inf:                AddReg=rss.reg,vmxnet3.ndis620RssSettings.reg  (oem11.inf line 308)
     dvi:           Class installer: Exit
     dvi:           Default installer: Enter 10:41:47.818
     dvi:           Default installer: Exit
     dvi:      {DIF_ALLOW_INSTALL - exit(0xe000020e)} 10:41:47.818
     ndv:      Installing files...
     dvi:      {DIF_INSTALLDEVICEFILES} 10:41:47.818
     dvi:           CoInstaller 1: Enter 10:41:47.818
     dvi:           CoInstaller 1: Exit
     dvi:           CoInstaller 2: Enter 10:41:47.818
     dvi:           CoInstaller 2: Exit
     dvi:           CoInstaller 3: Enter 10:41:47.818
     dvi:           CoInstaller 3: Exit
     dvi:           Class installer: Enter 10:41:47.818
     dvi:           Class installer: Exit
     dvi:           Default installer: Enter 10:41:47.818
     dvi:                {Install FILES}
     inf:                     Opened PNF: 'c:\windows\system32\driverstore\filerepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf' ([strings])
     inf:                     {Install Inf Section [vmxnet3.ndis620.x64.ndi.NT]}
     inf:                          CopyFiles=vmxnet3.ndis6.x64.CopyFiles  (vmxnet3ndis6.inf line 312)
     cpy:                          Open PnpLockdownPolicy: Err=2. This is OK. Use LockDownPolicyDefault
     flq:                          QueueSingleCopy...
     flq:                          Inf     : 'c:\windows\system32\driverstore\filerepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf'
     flq:                          SourceInf: 'c:\windows\system32\driverstore\filerepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f\vmxnet3ndis6.inf'
     flq:                          SourceSection: [sourcedisksfiles]
     flq:                          Source root path based on SourceInf
     flq:                          SourceRootPath: 'C:\Windows\System32\DriverStore\FileRepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f'
     flq:                          {FILE_QUEUE_COPY}
     flq:                               CopyStyle      - 0x00000400
     flq:                               {FILE_QUEUE_COPY}
     flq:                                    CopyStyle      - 0x00000400
     flq:                                    SourceRootPath - 'C:\Windows\System32\DriverStore\FileRepository\vmxnet3ndis6.inf_amd64_neutral_68bbb2f0d658932f'
     flq:                                    SourceFilename - 'vmxnet3n61x64.sys'
     flq:                                    TargetDirectory- 'C:\Windows\system32\DRIVERS'
     flq:                                    TargetFilename - 'vmxnet3n61x64.sys'
     flq:                                    SourceDesc     - 'vmxnet3 Driver Disk 1'
     flq:                                    SourceTagfile  - 'vmxnet3n61x86.sys'
     flq:                               {FILE_QUEUE_COPY exit(0x00000000)}
     flq:                          {FILE_QUEUE_COPY exit(0x00000000)}
     inf:                     {Install Inf Section [vmxnet3.ndis620.x64.ndi.NT] exit (0x00000000)}
     dvi:                     Processing co-installer registration section [vmxnet3.ndis620.x64.ndi.NT.CoInstallers].
     inf:                     {Install Inf Section [vmxnet3.ndis620.x64.ndi.NT.CoInstallers]}
     inf:                     {Install Inf Section [vmxnet3.ndis620.x64.ndi.NT.CoInstallers] exit (0x00000000)}
     dvi:                     Co-installers registered.
     dvi:                     {Install INTERFACES}
     dvi:                          Installing section [vmxnet3.ndis620.x64.ndi.NT.Interfaces]
     dvi:                     {Install INTERFACES exit 00000000}
     dvi:                {Install FILES exit (0x00000000)}
     dvi:           Default installer: Exit

Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.
Reply
0 Kudos
JessOlson
Enthusiast
Enthusiast
Jump to solution

The hotfix worked!! It completely resolved the issue! Thank you!

What you were seeing in the logs was from when I removed and added the NIC from the base image earlier today. And everything in the optimization guide has been applied Smiley Wink

Reply
0 Kudos