Using the VMXNET3 driver with Citrix PVS and VMware vSphere 5.1

The VMXNET3 driver for vSphere 5.1 is the driver with the best performance, the highest throughput and the least CPU utilization in comparison with the E1000 driver. But when using this network card with Citrix Provisioning Services 6.1 it brings some complexity.

Let take a look how to get the VMXNET3 network card working within vSphere 5.1 using Citrix Provisioning Services and Citrix XenDesktop.

I use my own best practices for this (like the D drive for write cache) so some steps may be different from your deployment!

1 Create a new virtual machine within vSphere 5.1
2 Create two disks.
1: 40 GB C: Windows 7
2: 20 GB D: Write Cache
3 Deploy the operating system and the applications
4 Install the VMware Tools v.9 and reboot the machine
5 Install Microsoft hotfix KB2550978
This hotfix enables the replacement of hardware during the startup of Windows 7 SP1.
6 Install the Citrix Provisioning Services Target Device 6.1.0.1125 software
7 Install the Citrix Virtual Desktop Agent Core Services 5.6.200.9 software
8 Reboot the machine
9 Open an elevated command prompt and enter the following command: set devmgr_show_nonpresent_devices = 1
10 Start the Windows Device Manager
11 Click on View and click on Show Hidden Devices
12 Under Network Adapters remove all the network adapters that you are not going to use.
13 If you are not going to use IPv6, you can disable the IPv6 features by opening an elevated command prompt and enter the following command:
netsh int isa set state disabled
netsh interface teredo set state disabled
14 Now it is time to create the image.
Start the Citrix Provisioning Services Imaging wizard
15 Walk through the wizard to set the Citrix Provisioning Server and the vDisk properties. I use Dynamic as the VHD type.
The Citrix Provisioning Services Imaging wizard asks for a reboot, click Yes.Make sure that when you use a boot ISO, it is active. Or PXE is active if you use PXE.
16 Reboot the machine and select to boot from the new vDisk in the PVS boot menuimage
17 Log in to Windows and the Citrix Provisioning Services Imaging wizard window will show the conversion of the local hard disk to the new vDisk. Wait until this process is finished.image
18 After the vDisk is successfully created, the best way to create an identical virtual machine is to convert the Master Target Device to a template, using the vSphere Client, and deploy the template.
19 On the virtual machine that will boot the read only vDisk, open the Options, General, Configuration Parameters.
Make sure that the ethernet0.pciSlotNumber is the same as the number of the Master Target Device.image
20 In the Citrix Provisioning Services console, assign the new vDisk to the virtual machine and set it to Standard Image (read only)
21 Boot the client and check if it works!
Good luck!

 

Can’t get the solution to work? Contact me and let me do the trick.

 

 

 

Advertisements
This entry was posted in Citrix Provisioning Services, Citrix XenDesktop, VMWare and tagged . Bookmark the permalink.

5 Responses to Using the VMXNET3 driver with Citrix PVS and VMware vSphere 5.1

  1. Ed says:

    so for step 5 – I have a windows 7 sp1 x64 box and it will not let me install this patch. It says the service is not installed or started to be able to install this patch. so should I skip it?

    any ideas? I get the blue screen if I try to stream the vDisk to another VMware “shell” system. The pciSlot numbers are the same…

    stuck; searching the web, apparently alot of people are having this, but I have not found a fix for vSphere 5.1 / PVS 6.1 yet

    • IT Tech Log says:

      No, you should not skip this step.
      I think you need to start the “Windows Update” service and re-try to install the hotfix.

      Did you convert your base VM to a template and create a clone of that template?

  2. thokrue says:

    Hi,
    use the pci.sys from windows 7 without SP1 (14.09.2010). That works.

    • India says:

      Blue dump error has been resolved after applying this hotfix.
      ****************************************************************************
      Install Microsoft hotfix KB2550978
      This hotfix enables the replacement of hardware during the startup of Windows 7 SP1.
      ***************************************************************************

  3. Pingback: Fix Citrix Pvs Vmxnet3 Blue Screen Errors - Windows XP, Vista & Windows 7, 8

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s