HowTo: Upgrade VMware Tools on a Windows PVS Image Without Reverse Imaging

Introduction

Since the inception of PVS, it has long been a necessary evil to reverse image a vDisk to a standard disk format in order to perform updates on components that affected the network stack of the OS, as PVS depends on it for streaming image contents. This was often a requirement for VMware Tools and PVS target device software. Luckily, PVS 7.6.1 introduced a method of updating the target device software for PVS within an image, without the need to reverse image. Unfortunately, we’re still stuck with the issue with VMware Tools.

As per Citrix’s guidance, when it comes to upgrading VMware Tools on PVS vDisks, it is recommended to reverse image the vDisk to a standard VMDK ahead of installing the updates. This is a necessary activity as the VMware Tools update replaces network drivers (such as VMXNET3) which PVS’s target device subsystems depend on. Think of it as trying to mop the floor you’re standing on without means to step away. Not the easiest feat.

Once the image reversal process is completed you can then upgrade VMware Tools and capture the image once again to a vDisk for delivery to target devices via PVS. This can be a lengthy process for some organizations, which is often why I see out of date VMware Tools in my consulting adventures. Turns out there is a quick way do upgrade VMware tools without the lengthy reverse image method. Working with a customer, this entire process took a total of 15 minutes. Less than the time it would take to complete the image reversal.

The following steps below describe how to update VMware Tools without reverse imaging, saving significant time.

Note: This method has been tested for PVS version 7.9+. It may not work in previous versions.

Instructions

  1. Launch the PVS console
  2. Place the PVS Vdisk in private mode. (Changes will be persistent)
  3. Power on VM
  4. While the machine is booted, navigate to the VMware console and edit the settings of the VM.
  5. Select add a new device and add in a second network interface card. Ensure the type of card is E1000
  6. The VM will automatically detect the newly added hardware.
  7.  Wait until Windows installs the network driver and power down the machine.
  8. Navigate back to the VM console and record the MAC address of the newly added E1000 network card.
  9. Return to the PVS console and edit the target device properties. Edit the MAC address to reflect the address of the E1000 card that was recorded in the previous step.
  10.  Power on the VM and access the boot menu (You may need to change bios settings to access this menu)
  11. Select the E1000 card from the boot devices. The machine should boot from the newly added card.
  12. Once booted, update VMware Tools as you normally would any standard VM. The VMXNET3 driver will update without any disconnects from the streamed vDisk.
  13.  Once updated, shutdown the VM. Navigate back to the VMware console and remove the E1000 network adapter from the VM settings
  14. Return to the PVS console and edit the target device properties. Edit the MAC address to reflect the original VMXNET3 network card.
  15.  Power the machine back on.
  16. Open device manager and select view hidden items. Expand the network adapters section. Locate the E1000 device, right click and select uninstall.
  17. Once uninstalled. power down the VM and head back to the PVS console to switch the vDisk back to standard mode. (Read only)
  18. Your VMware Tools is now updated. You may power on the VM’s using the image in standard mode
0 0 vote
Article Rating
Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
Mushtaq
Mushtaq
17 days ago

Very kool

1
0
Would love your thoughts, please comment.x
()
x