4.9.3.3.3. Sealing a Windows 7 or Windows 2008 Template
Summary
Seal a Windows 7 or Windows 2008 template before using the template to deploy virtual machines.

Procedure 4.29. Sealing a Windows 7 or Windows 2008 Template

  1. In the virtual machine to be used as a template, open a command line terminal and type regedit.
  2. The Registry Editor window opens. On the left pane, expand HKEY_LOCAL_MACHINESYSTEMSETUP.
  3. On the main window, right-click to add a new string value using NewString Value.
  4. Right-click on the file and select Modify to open the Edit String window.
  5. Enter the following information in the provided fields:
    • Value name: UnattendFile
    • Value data: a:\sysprep.inf
  6. Launch Sysprep from C:\Windows\System32\sysprep\sysprep.exe.
  7. Enter the following information into the Sysprep tool:
    • Under System Cleanup Action, select Enter System Out-of-Box-Experience (OOBE).
    • Select the Generalize check box if you need to change the computer's system identification number (SID).
    • Under Shutdown Options, select Shutdown.
    Click OK to complete the sealing process; the virtual machine shuts down automatically upon completion.
Result
The Windows 7 or Windows 2008 template is sealed and ready for deploying virtual machines.