Deployment Guide
5. Obtain a copy of the VMware Windows drivers for the VMXNET 3 adapter from VMware. To obtain
the VMware Windows drivers:
a. Install VMware tools on a running Windows 2012 or Windows 2012 R2 and on the virtual
machine.
b. Go to the C:\Program Files\Common Files\VMware\Drivers directory.
c. Copy the contents in the
Drivers folder to the directory that contains your WinPE build scripts.
6. Copy the files boot.wim
and install.wim from the ASM virtual appliance to the directory on your ADK
machine. The boot.wim and install.wim files can be found in the /var/lib/razor/repo-store/<your
Windows repo>/SOURCES directory.
7. Using a command line tool for PowerShell, go to the directory containing your build scripts, Drivers
folder, and boot.wim and install.wim files. This directory should contain these files only.
8. To run the build script, run the command:
powershell -executionpolicy bypass -noninteractive -file build-razor-
winpe.ps1
NOTE:
This step takes some time to complete. After completion, it creates a directory with the
name razor-winpe under the current working directory. The final custom WinPE image,
bootmgr.exe
(for Windows 2012 R2 repositories), boot.wim, and
install.wim are copied to this
directory.
9. For Windows 2008 installs, some additional fonts must be copied from the ADK machine to the
repository folder on the ASM appliance. Go to the directory on your 8.1 ADK machine C:\Program
Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment
\amd64\Media\Boot\Fonts
and copy all .ttf type files to your Windows 2008 repository under
<Windows 2008 repo name>/boot/fonts
Copying WinPE and Install Media to ASM Repository and Updating
Permissions
To copy WinPE, install media to ASM repository, and update permissions for all files in the repository:
1. Copy the new boot.wim
and install.wim files to the ASM virtual appliance under /var/lib/razor/repo-
store/<your Windows repo>/Sources
2. Make sure you update the permissions on the boot.wim
and install.wim files on the ASM virtual
appliance. Therefore, you can run the files. To perform this task, run the following commands:
"sudo chmod 755 /var/lib/razor/repo-store/<your windows repo>/Sources/
boot.wim"
"sudo chmod 755 /var/lib/razor/repo-store/<your windows repo>/Sources/
install.wim"
3. Rename the new WinPE image file that you have created in the earlier section to razor-winpe.wim,
and then copy the file to the root of your Windows repository created using the steps described in
the section Create a repository with Windows installation media on ASM appliance.
4. If you are deploying Windows 2008 or Windows 2012 R2, you should also copy the latest
bootmgr.exe file to the root of your Windows repository created using the steps described in the
section Create a repository with Windows installation media on ASM appliance. This file is available in
the output directory when you create your customized WinPE image as specified in the earlier
section.
5. For Windows 2008 R2 installations, additional fonts are required to support WinPE 4.0 or WinPE 5.0.
On your ADK machine, locate the following directory C:\Program Files (x86)\Windows Kits
\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\Media\Boot
\Fonts, and copy all the .ttf type files to your Windows 2008 repository into the directory /var/lib/
razor/repo-store/<your Windows 2008 directory>//boot/fonts/
24