Hello Chaps, I have a question that nobody seems to be able to answer for me, so I thought I’d try my luck with you guys.
When I first deployed our CloudStack and captured a windows template, the resulting windows VMs would take about 2 minutes from being requested to being deployed and up. The problem here was that windows prompted for a product key prior to displaying the logon screen and wouldn’t allow logon (either local or remote) until that was entered. Naturally I applied an unattend.xml (pasted Below) to put the product key in automatically which solved the problem and made everything work perfectly, however my Windows VMs don’t deploy in 2 minutes anymore, they take 12 minutes… most of which is a black screen with ‘Preparing your computer for first use’ on it. I realise that 12 minutes isn’t a bad time from request to being online and ready, however It would be brilliant if I could get this back down to the couple of minutes it was originally. Any thoughts? Thanks guys!! UNATTEND.XML: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="amd64"> <UserData> <AcceptEula>true</AcceptEula> <FullName>DBXCloud</FullName> <Organization>DBX</Organization> <ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey> </UserData> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" 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"> <InputLocale>en-UK</InputLocale> <SystemLocale>en-UK</SystemLocale> <UILanguage>en-UK</UILanguage> <UserLocale>en-UK</UserLocale> </component> <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"> <OOBE> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> <NetworkLocation>Work</NetworkLocation> </OOBE> </component> </settings> </unattend> ________________________________ This is an e-mail from Databax Ltd (Company No.04085248). The contents of this e-mail are confidential. Databax Ltd does not accept responsibility for the accuracy or completeness of the contents of this e-mail as it has been transmitted over a public network. If you receive this e-mail in error please accept our apology. If this is the case we would be obliged if you would contact the sender and then delete this e-mail. This e-mail and/or any replies to it, and any attachments may be intercepted, copied or monitored by Databax Ltd for the purpose of monitoring or keeping record of its business and for the purposes set out in the Telecommunications (Lawful Business Practices) (Interception of Communications) Regulations 2000. All statements made in this e-mail are subject to contract. The contents are not to be regarded as a contractual offer or acceptance. The sender is not authorised to bind Databax Ltd. The views expressed in this e-mail are those of the sender and not necessarily those of Databax Ltd. Feel free to visit the Databax web site at www.databax.com<http://www.databax.com/> to find out about our range of products and services, and for the latest Databax news and information. < >Please consider the environment before printing this email.