Creating a System Center 2012 Virtual Machine Manager template for a Windows XP or Windows Server 2003 system fails with error 678

Symptoms

Using System Center 2012 Virtual Machine Manager (VMM) to create a virtual machine template for a Windows XP or Windows Server 2003 system fails with one of the following errors:

Error (678)
Sysprep binary sysprep.exe does not exist for Windows version 5.x.xxxx in Folder C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\Sysprep\i386\5.x.xxxx.x.

Recommended Action
Add the missing Sysprep binaries for the specified Windows version in the specified folder, and then try the operation again.

Or

Error (678)
Sysprep binary setupcl.exe does not exist for Windows version 5.2.3790 in Folder C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\Sysprep\i386\5.x.xxxx.x.

Recommended Action
Add the missing Sysprep binaries for the specified Windows version in the specified folder, and then try the operation again.

NOTE The Windows version listed in the error message will vary based on the operating system and service pack level used.

Cause

This issue occurs because the Sysprep binaries (Sysprep.exe and Setupcl.exe) for Windows XP and Windows Server 2003 are not included in System Center 2012 Virtual Machine Manger. To create a template for a Windows XP or Windows Server 2003 system, the Sysprep binaries must be copied to the appropriate directory under “C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\Sysprep” on the VMM server.

Resolution

To resolve this issue, perform the following steps:

1. Download the Deployment Tools package for the Windows XP or Windows Server 2003 version that you’re trying to Sysprep:

Windows Server 2003 – x86 systems (Service Pack 1 and Service Pack 2)
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=14830

Windows Server 2003 – x64 systems (Service Pack 1 and Service Pack 2)
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=8287

Windows XP - x86 systems (Service Pack 1, Service Pack 2 and Service Pack 3)
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11282

Windows XP – x64 systems (Service Pack 1 and Service Pack 2)
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=8287

2. Locate the Sysprep.exe and Setupcl.exe binaries within the Deployment Tools package and copy them to the appropriate directory on the VMM Sever. 

NOTE The Create Template job that fails lists the appropriate location of the Sysprep binaries.

Example:

Error (678)
Sysprep binary sysprep.exe does not exist for Windows version 5.2.3790 in Folder C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\Sysprep\i386\5.2.3790.2.

3. Once the Sysprep binaries are copied to the appropriate directory on the VMM Server, restart the Create Template job that failed.

More Information

Carmine tracing will show information similar to:

48514 08:12:26.006 08-30-2011 NewVmSubtaskBase.cs(1394) "Microsoft.VirtualManager.Utils.CarmineException: Sysprep binary sysprep.exe does not exist for Windows version 5.2.3790 in Folder C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\Sysprep\i386\5.2.3790.2.
Add the missing Sysprep binaries for the specified Windows version in the specified folder; and then try the operation again.
   at Microsoft.VirtualManager.Engine.VmOperations.SysprepVMSubtask.deployBinaries(String volumeName; WSManConnectionParameters vmmServerConnectionParameters)
   at Microsoft.VirtualManager.Engine.VmOperations.SysprepVMSubtask.PrepareVMToSysprep(Boolean& isSyspreped)
   at Microsoft.VirtualManager.Engine.VmOperations.SysprepVMSubtask.RunSubtask()
   at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
   at Microsoft.VirtualManager.Engine.VmOperations.CustomizeVMSubtask.RunSubtask()
   at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
   at Microsoft.VirtualManager.Engine.VmOperations.NewVmFromTemplateSubtask.PostVmCreationCustomize()
   at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.RunNewVmSubtasks()
   at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.RunSubtask()*** Carmine error was: SysprepBinariesNotAvailable (678); 0*** sysprep.exe ** 5.2.3790 ** C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\Sysprep\i386\5.2.3790.2 ** " {00000000-0000-0000-0000-000000000000}
48515 08:12:26.006 08-30-2011 NewVmSubtaskBase.cs(1399) NewVmSubtaskBase; Vm 5f40f0d3-30a1-4def-989f-18704cfdd9f5 creation Failed; setting state to CreationFailed {00000000-0000-0000-0000-000000000000}





Properties

Article ID: 2688888 - Last Review: Jul 9, 2012 - Revision: 1

Feedback