Solved

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

Posted on 2008-10-01
3
3,015 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Expert Comment

by:BogdanSUA
ID: 22617867
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
ID: 22619138
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
ID: 22619581
Nice find.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

756 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