We help IT Professionals succeed at work.

cloning guest os with vcenter 4 - sysprep not found

running vcenter 4

trying to make a clone of a vm

when going through the wizard, all options are grayed out - see attached screenshot

i know this is occuring because sysprep is not found.  ive followed these articles with no success:
http://communities.vmware.com/message/478135
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1005593

any ideas?
Comment
Watch Question

attach the screen shot. you should be able to right click on the VM and you should have the option to clone right there.

Author

Commented:
Top Expert 2010

Commented:
Do you have the sysprep files on the computer you're running the vSphere Client from (i.e. your workstation)? They have to be installed on any workstation you run the client on...not the vCenter Server. If you run the client on your vCenter Server and want to clone, etc. a VM, you'll need to have the sysprep files there too.

~coolsport00
coolsport00 - As per this KB Article, http://kb.vmware.com/kb/1005593 the SysPrep Files for each Guest OS which needs to be customized need to be dropped only on the vCenter Host & not on the Workstation from where the vSphere Client is running.
If vCenter Server is installed on Windows Server 2008, <directory_path> is %ALLUSERSPROFILE%\VMware\VMware VirtualCenter\sysprep which translates to C:\ProgramData\VMware\VMware VirtualCenter\sysprep by default.
If vCenter Server is installed on any other Windows operating system, <directory_path> is %ALLUSERSPROFILE%\Application Data\VMware VirtualCenter\sysprep\ which translates to C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep\ by default.
 

Author

Commented:
i didnt know the sysprep files needed to be on my local machine (since thats where i was running vsphere client)

i logged into my vcenter server and attempted from there, however the same problem occurs

i followed the links i provided earlier on my local machine but it failed.  if anything, id like this to work from my vcenter server (server 2008)

how can i make that happen?
SysPrep files need to be copied only on the vCenter Server and not on the Workstation
This article confirms that - http://kb.vmware.com/kb/1005593
If vCenter Server is installed on Windows Server 2008, <directory_path> is %ALLUSERSPROFILE%\VMware\VMware VirtualCenter\sysprep which translates to C:\ProgramData\VMware\VMware VirtualCenter\sysprep by default.
If vCenter Server is installed on any other Windows operating system, <directory_path> is %ALLUSERSPROFILE%\Application Data\VMware VirtualCenter\sysprep\ which translates to C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep\ by default.
 

Author

Commented:
i dont have %allusers%
6-10-2010-3-11-15-PM.png
Top Expert 2010

Commented:
Ooopss..I guess I'm thinking of conversions :)

~coolsport00
Navigate to Tools -> Folder Options -> Show All Hidden Files and Folders and check the checkbox to reveal All Users folder.

Author

Commented:
show all hidden is already selected
Top Expert 2010

Commented:
I don't believe it's in the Users directory, but I believe the "Program Data" directory (I think...I deleted my W2K8 test VM a few weeks back).

~coolsport00
Top Expert 2010

Commented:
I meant, I believe it's *not* in the Users directory; gosh, I should just stop on this post while I'm ahead! :P
C:\ProgramData\VMware\VMware VirtualCenter\sysprep is the location.
Top Expert 2010

Commented:
YAY!!!!...I GOT IT RIGHT, I GOT IT RIGHT! C'mon Arun...give me at least "some" props! :P hahaha

~coolsport00

Author

Commented:
okay, so look what i found

everything looks proper - what shall i try next?
6-10-2010-3-26-05-PM.png
Top Expert 2010
Commented:
Open the folder of the VM OS you're trying to clone and you will probably find no files in it; folders created...yes, but no files. The sysprep files will be in the deploy.cab file of the OS install CD/DVD.

~coolsport00
You have to extract the deploy.cab file for each of the Guest OS which you are trying to SysPrep and copy those files to each of the directory present in this folder.
If you want to SysPrep Windows XP SP2 , then download it from the below mentioned URL and extract the contents of the deploy.cab file and copy it to Windows XP SP2 directory. As simple as that.
Windows XP SP2 SysPrep - http://www.microsoft.com/downloads/details.aspx?FamilyId=3E90DC91-AC56-4665-949B-BEDA3080E0F6&displaylang=en

Author

Commented:
thanks everyone, good to go now

you'll see me around soon enough, now i'm having conversion problems with powered on machine :p