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:




  1. Boots the PC from a WinPE image installing WMI support, scripting support and the proper NIC drivers
  2. Reads the MAC address and UUID from the system
  3. Loads the correct version of the Intel vPro HECI drivers
  4. Prompts the employee to enter the system name they were given
  5. 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
  6. 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.







  1. Extract the basic WinPE image using the WAIK
  2. Mount the WinPE image
  3. Add additional packages
  4. Add the Intel NIC drivers
  5. Un-mount the WinPE image
  6. Replace default boot.wim file
  7. Add the Intel vPro HECI drivers
  8. Add the support scripts
    1. Additions to Startnet.cmd
    2. SetupHECI.cmd
    3. GetSystemName.vbs
    4. Pre-OS-Provsioning.vbs
    5. SCCMAUTO.VBS (Bare Metal Provisioning)
    6. ZTCLocalAgent.exe
    7. StatusStrings.dll
  9. Create the CD or UFD from the ISO




Detailed steps in program creation:


  1. Install the Microsoft WAIK and open the Deployment Tools Command Prompt
  2. Create a WinPE folder-> CopyPE.cmd X86 c:\winpe_x86
  3. Mount the image-> imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount
  4. Add Scripting Package-> peimg /install=WinPE-Scripting-Package c:\winpe_x86\mount\windows

  5. Add WMI Package->  peimg /install=WinPE-WMI-Package c:\winpe_x86\mount\windows

  6. 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\windows

  7. c:\winpe_x86\mount\windows\system32\DriverStore\FileRepository

  8. Add Custom Script -> Add Custom Script-> Edit c:\winpe_x86\mount\windows\system32\Startnet.cmd and add the following:f.e1.png

  9. Un-mount the image-> imagex /unmount c:\winpe_x86\mount /commit

  10. Copy c:\winpe_x86\winpe.wim c:\winpe_x86\ISO\sources\boot.wim

  11. 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

  12. Create HECI Installer-> Create a c:\winpe_x86\ISO\AMT\SetupHECI.cmd file with the following:

    1. f.e2.pngNote: You only need to include the AMT Versions used in your environment

  13. Create GetSystemName.vbs-> Create a c:\winpe_x86\ISO\AMT\GetSystemName.vbs file with the following:

    1. f.e3.png

  14. Create Pre-OS-Provision.cmd-> Create a c:\winpe_x86\ISO\AMT\Pre-OS-Provision.cmd file with the following:

    1. f.e4.png

  15. Copy SCCMAUTO.VBS-> Copy the sccmauto.vbs from the Intel VPRO Expert Center to c:\winpe_x86\ISO\AMT

  16. Copy ZTCLocalAgent.exe-> Copy the ZTCLocalAgent.exe from the Intel VPRO Expert Center to c:\winpe_x86\ISO\AMT

  17. 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\ 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



WinPE is loadingf.e6.png
WinPE is Startingf.e7.png


Loading HECI Drivers


Prompt for System Name


Employee enters system name and clicks OK

SCCMAUTO.vbs runningf.e10.png

ZTCLocalAgent.exe running...


Note Setup and Configuration is completed



PC has now been vPro Provisioned!