Search the VMware Knowledge Base (KB)
View by Article ID

Using VMware Tools drivers on Windows PE (Preinstallation) (1011710)

  • 53 Ratings

Details

Even though VMware Tools does not support the Windows Preinstallation environment, you can take advantage of specific VMware Tools drivers, such as vmxnet2 (enhanced), vmxnet3, and pvscsi by creating a customized ISO.

Solution

To create a customized ISO:

  1. Install Windows 2008 and install Windows AIK (Automated Installation Kit) on a virtual machine.

    Note: The preceding link was correct as of October 30, 2013. If you find the link is broken, provide feedback and a VMware employee will update the link.

  2. Click Start > All Programs > Microsoft Windows AIK > Windows PE Tools Command Prompt to open the Windows PE Tools command prompt.
  3. Run this command to create a Windows PE build environment in the WinPE folder:

    • In 32bit – copype x86 C:\winpe-x86
    • In 64bit – copype amd64 C:\winpe-amd64


  4. From the Windows PE command prompt (c:\winpe-x86 or c:\winpe-amd64), run this command to mount winpe.wim to the mount folder:

    dism /mount-wim /wimfile:file_path\boot.wim /index:1 /mountdir:file_path

  5. Install VMware Tools on Windows 2008 and copy the entire contents of the C:\Program Files\Common Files\VMware\Drivers\vmxnet, pvscsi and vmxnet3 folders to the C:\Drivers folders on the virtual machine.
  6. Run this command at the Windows PE Tools command prompt to copy the vmxnet, vmxnet3 (enhanced), and pvsci drivers:

    32bit:
    dism /image:c:\winpe-x86\mount /Add-Driver /driver:c:\Drivers /recurse

    64bit:
    dism /image:c:\winpe-amd64\mount /Add-Driver /driver:c:\Drivers /recurse


  7. Run this command to save the changes to winpe.wim:

    32bit:
    dism /unmount c:\winpe-x86\mount /commit

    64bit:
    dism /unmount c:\winpe-amd64\mount /commit


  8. Run this command to overwrite the boot.wim with the customized winpe.wim on the ISO:

    32bit:
    xcopy c:\winpe-x86\winpe.wim (c:\winpe-x86 or c:\winpe-amd64)\iso\sources\boot.wim /y

    64bit:
    xcopy c:\winpe-amd64\winpe.wim (c:\winpe-x86 or c:\winpe-amd64)\iso\sources\boot.wim /y

  9. Run this command to create the custom ISO image:

    32bit:
    oscdimg -n -h -bc:\winpe-x86\etfsboot.com (c:\winpe-x86 or c:\winpe-amd64)\iso (c:\winpe-x86 or c:\winpe-amd64)\winpe-x86.iso

    64bit:
    oscdimg -n -h -bc:\winpe-amd64\etfsboot.com (c:\winpe-x86 or c:\winpe-amd64)\iso (c:\winpe-x86 or c:\winpe-amd64)\winpe-x86.iso

Additional Information

For translated versions of this article, see:

Tags

install-vmware-tools  install-vmware-tools-windows

Update History

04/26/2011 - Added the new link to WAIK download 10/30/2013 - Changed path to vmware tools drivers

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 53 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 53 Ratings
Actions
KB: