Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3048
  • Last Modified:

VMWare Virtual Center 2.5 Upgrade broke VDI/VDM Customization (Sysprep)

We recently upgraded to VMWare Virtual center 2.5, with a pre-existing Virtual Desktop Infrastructure 2.0 environment. It seems to have broken the guest customization (sysprep) functionality. I have moved the contents of

C:\Program Files\VMware\VMware VirtualCenter 2.0\resources\windows\sysprep\xp

To

C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep\xp

VDI does not produce any errors, but it seems that its not even trying to sysprep the guests as they come online. I have tried creating a new 'Customization Specification...' in VC 2.5 as well as creating new VDM Templates to no avail.

Please help !

TIA,
Jon
0
jlundfelt
Asked:
jlundfelt
  • 2
1 Solution
 
BogdanSUACommented:
Try creating a copy of C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep\xp  to C:\Program Files\VMware\VMware VirtualCenter 2.0\resources\windows\sysprep\xp

so that they exist in both places.
0
 
jlundfeltAuthor Commented:
Found my answer after talking to VMWare;

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1006848&sliceId=2&docTypeID=DT_KB_1_1&dialogID=33776842&stateId=1%200%2033778805

Sysprep no longer runs on template after upgrading to VirtualCenter 2.5 Update 2
Products
      
VMware ESX
VMware VirtualCenter
Product Versions
      
VMware VirtualCenter 2.5.x
Component
      
GSS_SYS_MGMT
Symptoms
      

    * Guest customization fails after installing or upgrading to VirtualCenter 2.5 Update 2
    * Cloning completes successfully however when the virtual machine boots and every time it reboots, the customization screen flashes briefly and the Windows login screen appears
    * Upon logging in, you notice that the computer name has not been changed nor does it join the domain or run any other parts of the customization script
    *
      C:\Windows\Temp\vmware-imc\guestcust.log shows:

      Customization in progress set to 1 at 2008-Aug-07 17:48:44
      Rpci: Sending request='deployPkg.update.state 4 0 C:\WINDOWS\TEMP\vmware-imc\guestcust.log'
      Rpci: Sent request='deployPkg.update.state 4 0 C:\WINDOWS\TEMP\vmware-imc\guestcust.log', reply='Unknown command', len=15, status=0
      Unable to set customization status in vmx.
      ...

    *
      C:\Windows\Temp\VMware-cust-nativeapp.log shows:

      [INFO] ** Native application log started. **
      [INFO] Data length is 1
      [INFO] Data length is 983
      [ERROR] Error while reading from registry.
      [ERROR] Error locating sysprep file path.
      [ERROR] Error fetching sysprep file name from registry.
      [INFO] Exiting with code -1.
      [INFO] Deallocating all acquired space.
      [INFO] Destroying heap.
      [INFO] Closing log.
      [INFO] ** End of log **


Resolution
      
This is a known issue with VirtualCenter 2.5 Update 2 and will be addressed in VirtualCenter 2.5 Update 3.
 
To workaround the issue:

   1.
      Log in to the VirtualCenter Server as an administrator.
   2.
      Navigate to C:\Program Files\VMware\Infrastructure\VirtualCenter Server
   3.
      Rename the VirtualCenter 2.5 Update 2 version of guestcustutil.exe (428KB) to guestcustutil.exe.old.
   4.
      Download and copy the attached file, guestcustutil.zip and extract the file to this directory. The guestcustutil.exe file is now 408KB in size.
   5.
      Deploy Windows XP template with customization to the ESX host and Sysprep runs successfully.

;

0
 
BogdanSUACommented:
Nice find.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now