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
Solved

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

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
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:

860 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