<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Ray,<br>
<br>
Have you try to upload a generalized image with sysprep to glance? If you put the Product Key in an unattend file, when the generalized image is deployed in the concrete virtual machine the activation process will be done during setup. The main drawback is
 that a generalized image takes longer to be deployed, as it's thought for heterogeneous environments... Well... this is just another option...<br>
<br>
If you don't have a corporate license, and each user has to enter the key, then... metadata service looks the best way to do it, mixed with... setupcomplete.cmd, firstlogon commands or other cloud-init like tools.<br>
<br>
Luis.
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF834750"><font color="#000000" face="Tahoma" size="2"><b>From:</b> openstack-bounces+luis.fernandez.alvarez=cern.ch@lists.launchpad.net [openstack-bounces+luis.fernandez.alvarez=cern.ch@lists.launchpad.net] on behalf of
 Ray Sun [qsun01185@cienet.com.cn]<br>
<b>Sent:</b> 03 November 2012 3:00<br>
<b>To:</b> openstack<br>
<b>Subject:</b> [Openstack] Is there any method to Activate Windows during Launch a new Instance?<br>
</font><br>
</div>
<div></div>
<div><font><font face="arial,helvetica,sans-serif">I create a windows 7 image(without activate) and upload to glance, and I can successfully start it up. But how can I automatically activate it after user launch it? Or how can I inject the SN into windows during
 startup? Or any other better idea?</font></font>
<div><font><font face="arial,helvetica,sans-serif"><br>
</font></font></div>
<div><font><font face="arial,helvetica,sans-serif">Thanks a lot.<br clear="all">
</font></font>
<div><span style="font-family: 'courier new',monospace;"><br>
</span></div>
<div><span style="font-family: 'courier new',monospace;">- Ray</span></div>
<font face="'courier new', monospace">Yours faithfully, Kind regards.<br>
<br>
CIeNET Technologies (Beijing) Co., Ltd<br>
Email: <a href="mailto:qsun01185@cienet.com.cn" target="_blank">qsun01185@cienet.com.cn</a></font>
<div><font face="'courier new', monospace">Office Phone: +86-01081470088-7079<br>
Mobile Phone: +86-13581988291</font></div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>