Solved

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

Posted on 2008-10-01
3
2,977 Views
Last Modified: 2012-08-14
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
Comment
Question by:jlundfelt
  • 2
3 Comments
 
LVL 7

Expert Comment

by:BogdanSUA
Comment Utility
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
 
LVL 2

Accepted Solution

by:
jlundfelt earned 0 total points
Comment Utility
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
 
LVL 7

Expert Comment

by:BogdanSUA
Comment Utility
Nice find.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now