Hi all ,
i have a fresh install of an vsphere 5.1 plateform ,managed with a vcenter 5.0 ,
i ve installed a clean windows 2008R2 SP1 vm , installed vmtools , patches from ms and nthing more ,no domaine , no antivirus , no applications ,nothing just windows . after that shut it down , and convert into template .
when deployin a new VM from the template using the customization assistant ,it deplye the VM but dont apply the costumization ,after many hour troublshooting , i got to reboot manually the VM to get in the second shot the error attached .. it says in frensh that an error occured during VM personnalization ,and i have to consult the logs undert < no log > .... when i look for the log file under windows\temp\vmare-inc\ .. nothing there no log file ...
any ideas plz ?? i ve tried everysingle soltion found here at the forum .. changine the admin account , rebooting ,etc etc ....
Kindly go through the below link , Might solve your problem.
And if not Can you share the print screen of error message and logs when you are trying to create a VM
Hi UmeshAhuja ,
i have activate windows as mentioned in the KB and re run the process of deploying the template , still nothing , the cutomization did not apply to the guest !
here's the screenshot , what logs do you need ? and where can i found them ?
thanks for help
You need to create your own sysprep file as below
Install 2008 R2
Login as administrator and add VMtools and your base setting tweakes etc.
Set Profile Tweaks, Note that not all prfile adjustments will keep like.. IE settings etc, but GPO would be best for those things anyway..
Clean everything up defrag etc..
Create unattend.xml with waik.. utilizing copyprofile=true setting ie. my file here.
<?xml version="1.0" encoding="utf-8"?>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<cpi:offlineImage cpi:source="wim:f:/sources/install.wim#Windows Server 2008 R2 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
Place unattend.xml file in c:\windows\system32\sysprep\ folder
Change Directory to: c:\windows\system32\sysprep and run sysprep /generalize /oobe /shutdown /unattend:unattend.xml
After Machine shuts down .. power back up and finish mini setup chaning admin password etc..
Shut machine back down.
For our environment ESX 3.5 u5 and VC 2.5u5 ... had to change Guest OS type to Windows 2008 64bit (non R2) to enable the ability to add guest cutomization...
Clone vm to template.
At this point i could create VM from template and choose my guest customization for name, domain join, IP etc..
Do you install localized version of Windows?
I have the same issue when I tried to deploy russian version of Windows - customization process didn't start Sysprep. Probably the source of the problem is in path to sysprep answer file, which contains non-ANSI characters. In my example: "C:\Windows\Temp\vmware-система"