The world of Marc O'Polo – Blog

About Windows Server, Terminal Server, Virtualization and more
  • rss
  • Home
  • Links
  • Tools
  • Archive
  • About

Sysprep file locations and versions

M.Pol | May 7, 2010

Symptoms

  • When attempting to customize the deployment of a virtual machine the radio buttons are disabled (grayed out)
  • When a virtual machine is deployed from a template, the SID is always the same, despite the fact that you chose the option to generate a new SID during template deployment and guest operating system customization
  • When attempting to create a new virtual machine from a template in ESX 3.5, you receive the following error message:
Warning: Windows customization resources were not found on this server
  • You see this error in the guestcust.log file:
deploy doesn't contain known sysprep files

Purpose

This issue may occur if Microsoft’s Sysprep files are not found on the VirtualCenter host, are not the correct version, or are not in the location they are expected.

This article guides you through the process of determining the correct version of Sysprep to use and the correct locations for these files.

Resolution

Microsoft has a different version of Sysprep for each release and service pack of Windows. You must use the version of Sysprep specific to the operating system you are deploying. The differences are not immediately visible in the packaging and documentation of the service packs, so it is necessary to manually investigate.

The contents of the Sysprep deploy.cab file must be extracted to the Sysprep Directory on the VirtualCenter Server host. If the file downloaded from the Microsoft Web Site is a .cab file, the Installing the Microsoft Sysprep Tools appendix of the Basic System Administration guide details how to install the Sysprep Tools.

If the file downloaded from the Microsoft Web Site is a .exe file the following additional steps must be executed to extract the files from the .exe:

  1. Open a Windows command prompt. For more information, see Opening a command or shell prompt (1003892).
  2. Change to the directory where the .exe file is saved.
  3. Enter the name of the .exe file with the /x switch to extract the files. For example: WindowsServer2003-KB926028-v2-x86-ENU.exe /x 
  4. When prompted, choose a directory for the extracted files.
  5. Browse the directory and copy the extracted files directly to the Sysprep Directory or extract the files from the deploy.cab and copy to the Sysprep Directory.

When the contents of the of the Sysprep deploy.cab file have been extracted to the Sysprep Directory on the VirtualCenter Server:

  1. Log in to the VirtualCenter Server as Administrator.
  2. Click Start > Programs > Accessories > Windows Explorer.
  3. Navigate to the Sysprep Directory as listed in the table below.
  4. Right-click on the sysprep.exe file and choose Properties.
  5. Click the Version tab. Record the number at the top next to File Version:.

The table below lists the Sysprep Version for the Windows Versions that are supported for Image Customization. Compare the Sysprep Version number with the Windows Version it is intended for:

Windows Version Sysprep Directory Sysprep Version
Windows 2000 Server SP4 with Update Rollup 1
Download at http://www.microsoft.com/downloads/details.aspx?FamilyID=0c4bfb06-2824-4d2b-abc1-0e2223133afb
<directory_path>\2k 5.0.2195.2104
Windows XP Pro SP2
Download at http://www.microsoft.com/downloads/details.aspx?FamilyId=3E90DC91-AC56-4665-949B-BEDA3080E0F6
<directory_path>\xp 5.1.2600.2180
Windows 2003 Server SP1
Download at http://www.microsoft.com/downloads/details.aspx?familyid=A34EDCF2-EBFD-4F99-BBC4-E93154C332D6
<directory_path>\svr2003 5.2.3790.1830(srv03_sp1_rtm.050324-1447)
Windows 2003 Server SP2
Download at http://www.microsoft.com/downloads/details.aspx?FamilyID=93f20bb1-97aa-4356-8b43-9584b7e72556
<directory_path>\svr2003 5.2.3790.3959(srv03_sp2_rtm.070216-1710)
Windows 2003 Server R2
Download at http://www.microsoft.com/downloads/details.aspx?familyid=A34EDCF2-EBFD-4F99-BBC4-E93154C332D6
<directory_path>\svr2003 5.2.3790.1830(srv03_sp1_rtm.050324-1447)
Windows 2003 x64
Download at http://www.microsoft.com/downloads/details.aspx?familyid=C2684C95-6864-4091-BC9A-52AEC5491AF7&displaylang=en
<directory_path>\svr2003-64 5.2.3790.3959(srv03_sp2_rtm.070216-1710)
Windows XP x64
Download at http://www.microsoft.com/downloads/details.aspx?familyid=C2684C95-6864-4091-BC9A-52AEC5491AF7&displaylang=en
<directory_path>\xp-64 5.2.3790.3959(srv03_sp2_rtm.070216-1710)
Windows XP Pro SP3
Download at http://www.microsoft.com/downloads/details.aspx?familyid=673a1019-8e3e-4be0-ac31-70dd21b5afa7&displaylang=en
<directory_path>\xp 5.1.2600.5512
Windows Vista System Preparation tools are built into the Windows Vista operating system and do not have to be downloaded. Not Applicable Not Applicable
Windows Server 2008 System Preparation tools are built into the Windows Server 2008 operating system and do not have to be downloaded. Not Applicable Not Applicable
Windows Server 2008 R2 System Preparation tools are built into the Windows Server 2008 R2 operating system and do not have to be downloaded. Not Applicable Not Applicable
Windows 7 System Preparation tools are built into the Windows 7 operating system and do not have to be downloaded. Not Applicable Not Applicable

Notes:

  • If vCenter Server is installed on Windows Server 2008, <directory_path> is %ALLUSERSPROFILE%\VMware\VMware VirtualCenter\sysprep which translates to C:\ProgramData\VMware\VMware VirtualCenter\sysprep by default.
  • If vCenter Server is installed on any other Windows operating system, <directory_path> is %ALLUSERSPROFILE%\Application Data\VMware VirtualCenter\sysprep\ which translates to C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep\ by default.

Additional Information

For additional information, see:

  • The Basic System Administration guide, which contains further information regarding the installation of Sysprep tools
  • The Operating System Compatibility for vSphere Client, vCenter Server, and VMware vCenter Update Manager table in the vSphere Compatibility Matrixes for a list of supported operating systems for virtual image customization.
  • Troubleshooting template deployment or cloning when it fails (1004050), which provides troubleshooting information for template deployment or cloning

Source: VMware knowledge base http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1005593

Related articles:

  • Upgrade paths for ESX/ESXi hosts
  • VMware VCP 410 Exam passed.

Disclaimer.
The information in this article is provided “AS IS” with no warranties, and confers no rights. This article does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.

Categories
VMware ESX 4, VMware ESXi 4
Tags
ESX, ESXi, vCenter, VMware, vSphere
Comments rss
Comments rss
Trackback
Trackback

« Keynotes Microsoft MMS 2010 Sessions TechEd North America 2010 »

Leave a Reply

Click here to cancel reply.

Recent Posts

  • Upgrade paths for ESX/ESXi hosts
  • HP MSA2324SA Firmware update loop
  • Exchange 2010 SP1 FAQ and Known Issues
  • Microsoft Exchange 2010 Service Pack 1 released
  • VMware vSphere 4.1 Released

Categories

Tags

Boot ESX ESXi Exchange 2010 Firmware HP Hyper-V IPv6 Juniper Microsoft MMS2010 MSA Sharepoint Technet USB vCenter VCP VHD VMware vSphere Windows 7 Windows 2003 SBS Windows 2008 Windows 2008 R2 Windows 2008 SBS Windows Vista XBox

WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

Twitter Updates

Marco Pol
  • I want this.. vCenter Client for the iPad http://bit.ly/bZM4sn 10:20:48 PM September 01, 2010 from TweetDeck
  • Dynamic Desktop Wallpapers from RSS Feeds.. http://bit.ly/aUuOpR Cool... 06:00:01 PM August 31, 2010 from TweetDeck
  • http://twitpic.com/2irsik - Goede band op voorstaat #visserijdagen wel een beetje regen. Sfeer goed! 11:27:12 PM August 27, 2010 from Gravity
  • In harlingen #visserijdagen hopen dat het droog blijft 06:55:41 PM August 27, 2010 from Gravity
  • http://twitpic.com/2il9nj - Just recieved in my mailbox. Thanks @trainsignal ! 10:17:58 AM August 27, 2010 from Gravity

Disclaimer

The information in this weblog is provided “AS IS” with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Copyright 2009 - 2010 M.Pol