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
- In the virtual machine to be used as a template, open a command line terminal and type
regedit. - The Registry Editor window opens. On the left pane, expand → → .
- On the main window, right-click to add a new string value using → .
- Right-click on the file and select Modify to open the Edit String window.
- Enter the following information in the provided fields:
- Value name:
UnattendFile - Value data:
a:\sysprep.inf
- Launch Sysprep from
C:\Windows\System32\sysprep\sysprep.exe. - 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 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.