Pre-OS vPro Provisioning
Accolades to Frank Engelman
Problem Statement
Enterprise customers want to be able to “drop ship” a PC to an employee’s desk, direct from the OEM, with no special OS build provided by the OEM… and have the complete customer OS Build take place without a local technician present. This removes the need for taking the employee PC to a service desk or dispatching a technician.
Desired Process
The employee has no special knowledge or tools or software, but is able to un-box the PC, connecting to the LAN and power, turn on the PC.
In addition to the above steps, the employee receives a non-unique CD or UFD (USB Flash drive) containing a program to start Intel vPro Technology provisioning. The employee inserts the CD/UFD and boots off the media. Note, this requires BIOS to have CD/UFD ahead of the hard drive in boot order, or the employee must be given instructions on how to pick the boot device (typically F12 key). The employee was previously emailed a “name” to enter for the system when prompted during this process.
vPro based solution
The CD/UFD contains a program that performs the following operations:
- Boots the PC from a WinPE image installing WMI support, scripting support and the proper NIC drivers
- Reads the MAC address and UUID from the system
- Loads the correct version of the Intel vPro HECI drivers
- Prompts the employee to enter the system name they were given
- Uses Microsoft WMI to contact the Microsoft SCCM Provisioning Server and adds the machine name into the proper collection with the collected information...UUID, MAC and system name
- Starts Intel vPro activator to complete vPro provisioning
Overview of building the CD/UFD program
This program is based on Microsoft WinPE, which is created using Microsoft Windows Automated Installation Kit (WAIK). It also utilizes the Intel Automated SCCM Bare-Metal Provisioning tool, ZTCLocalAgent.exe & StatusStrings.dll which are available on the vPro Expert Center. The Intel NIC (Network Interface Controller) drivers and Intel HECI drivers are available on the Intel support site. The steps to create the image and sample code are listed below.
Detailed steps in program creation:
- Install the Microsoft WAIK and open the Deployment Tools Command Prompt
- Create a WinPE folder-> CopyPE.cmd X86 c:\winpe_x86
- Mount the image-> imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount
Add Scripting Package-> peimg /install=WinPE-Scripting-Package c:\winpe_x86\mount\windows
Add WMI Package-> peimg /install=WinPE-WMI-Package c:\winpe_x86\mount\windows
Add NIC drivers-> Intel NIC drivers for systems used in your environment to in this manner:
peimg /inf=c:\drivers\XXX.inf c:\winpe_x86\mount\windowsc:\winpe_x86\mount\windows\system32\DriverStore\FileRepository
Add Custom Script -> Add Custom Script-> Edit c:\winpe_x86\mount\windows\system32\Startnet.cmd and add the following:

Un-mount the image-> imagex /unmount c:\winpe_x86\mount /commit
Copy c:\winpe_x86\winpe.wim c:\winpe_x86\ISO\sources\boot.wim
Add AMT HECI Drivers-> Create c:\winpe_x86\ISO\AMT and drivers for every version of AMT used in your environment naming the folders AMT2, AMT3, AMT4, AMT5
Create HECI Installer-> Create a c:\winpe_x86\ISO\AMT\SetupHECI.cmd file with the following:
Create GetSystemName.vbs-> Create a c:\winpe_x86\ISO\AMT\GetSystemName.vbs file with the following:
Create Pre-OS-Provision.cmd-> Create a c:\winpe_x86\ISO\AMT\Pre-OS-Provision.cmd file with the following:
Copy SCCMAUTO.VBS-> Copy the sccmauto.vbs from the Intel VPRO Expert Center to c:\winpe_x86\ISO\AMT
Copy ZTCLocalAgent.exe-> Copy the ZTCLocalAgent.exe from the Intel VPRO Expert Center to c:\winpe_x86\ISO\AMT
Copy StatusStrings.dll-> Copy theStatusStrings.dll from the Intel VPRO Expert Center to c:\winpe_x86\ISO\AMT
If creating a bootable CD, create the ISO as follows:
Oscdimg –n –bc:\winpe_x86\etfsboot.com c:\winpe_x86\ISO c:\winpe_x86\winpe_x86.iso
If creating a UFD,perform the following steps on a Windows Vista system:
xcopy c:\winpe_x86\ISO\*.* /s /e /f e:\ (Assuming your UFD is drive letter e: )
Program Usage:
Boot the system off the CD or UFD device
PC has now been vPro Provisioned!

















