Solved

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

Posted on 2008-10-01
3
3,024 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

726 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