<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:483546588;
        mso-list-template-ids:-1;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">Hey Danny,</p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Before you sysprep the VM did you make sure to add the floppy drive, so that Windows installs the driver? I ask because this is the step that I tripped me up when first started building my Windows templates. In the run once box just check
 the Attach Floppy. Make sure it shows up in the VM before sysprep.</p>
<p class="MsoNormal"><img width="605" height="408" style="width:6.302in;height:4.25in" id="Picture_x0020_4" src="cid:image001.png@01D25772.AB6B7440"></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:autogun@gmail.com">Danny Rehelis</a><br>
<b>Sent: </b>Friday, December 16, 2016 7:41 AM<br>
<b>To: </b><a href="mailto:users@ovirt.org">users</a>; <a href="mailto:omachace@redhat.com">
Ondra Machacek</a><br>
<b>Subject: </b>Re: [ovirt-users] How to join Windows guest to AD domain via Sysprep?</p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div dir="ltr">Adding users@ovirt.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Dec 11, 2016 at 10:42 PM, Danny Rehelis <span dir="ltr">
&lt;<a href="mailto:autogun@gmail.com" target="_blank">autogun@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I'm simply using the GUI,
<div><br>
</div>
<div>First, I created a vanilla windows 2012 VM which I sealed, sysprep'ed and shutdown.</div>
<div>Made a template of this VM which I later try to deploy.</div>
<div>
<ul>
<li>Insert VM name</li><li>Initial Run - [v] Use Cloud-Init/Sysprep<br>
</li><li>Set the same VM name to be VM Hostname</li><li>Populate Domain field with my domain name, same goes for Organization Name, Organization Name fields.</li><li>Configure Admin Password.</li></ul>
<div>That's about it, when I deploy the VM, hostname &amp; password I've inserted in Cloud-Init/Sysprep are getting set but guest os is not joining the domain.</div>
</div>
<div><br>
</div>
<div>I wonder where do I set credentials allowing OS to be domain joined?</div>
<div>Is it inherits the user I've used to login to oVirt engine?</div>
<div><br>
</div>
<div>Thanks</div>
<div>&nbsp;</div>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Dec 11, 2016 at 1:42 PM, Ondra Machacek <span dir="ltr">
&lt;<a href="mailto:omachace@redhat.com" target="_blank">omachace@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div>
<div>Can you please post us, which parameters exactly you filled in?<br>
Maybe print screen or if you are using REST API so which command you use.<br>
<br>
</div>
Also can you please ensure you're windows machine is correctly joined in the AD.<br>
</div>
You should also check the log and see if the parameters are indeed send in the log,<br>
also check the event log in the windows if user will at least try to login.<br>
If not, then it's most probably a bug, so please open it here:<br>
&nbsp; <a href="https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine" target="_blank">
https://bugzilla.redhat.com/en<wbr>ter_bug.cgi?product=ovirt-engi<wbr>ne</a><br>
</div>
</div>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div class="m_-5755849231337746870h5">On Fri, Dec 9, 2016 at 9:15 PM, Danny Rehelis
<span dir="ltr">&lt;<a href="mailto:autogun@gmail.com" target="_blank">autogun@gmail.com</a>&gt;</span> wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="m_-5755849231337746870h5">
<div dir="ltr">Any input on this one?
<div><br>
</div>
</div>
<div class="m_-5755849231337746870m_4392500480478478694HOEnZb">
<div class="m_-5755849231337746870m_4392500480478478694h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Dec 3, 2016 at 10:56 PM, Danny Rehelis <span dir="ltr">
&lt;<a href="mailto:autogun@gmail.com" target="_blank">autogun@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I can't seems to fully understand the procedure of joining guest Windows machine to AD domain using the tool-set provided by oVirt-Engine.</div>
<div>I've successfully created and sealed a template.of Windows 2012R2, I manage to change the Administrator's password and machine's hostname only.<br>
</div>
<div><br>
</div>
<div>Nothing actually happens when I fill Domain and Organization Unit fields under Initial Run tab.</div>
<div>What credentials should be used to join the domain? Where do I configure them?</div>
<div><br>
</div>
<div>Running&nbsp;oVirt 4.0.5</div>
<div><br>
</div>
<div>Thanks,</div>
<span class="m_-5755849231337746870m_4392500480478478694m_-7743345792578273907HOEnZb"><font color="#888888">
<div>-- <br>
<div class="m_-5755849231337746870m_4392500480478478694m_-7743345792578273907m_5725051129239262140gmail_signature">
<div dir="ltr">Danny Rehelis - autogun [AT] <a href="http://gmail.com" target="_blank">
gmail.com</a></div>
</div>
</div>
</font></span></div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-5755849231337746870m_4392500480478478694m_-7743345792578273907gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">Danny Rehelis - autogun [AT] <a href="http://gmail.com" target="_blank">
gmail.com</a></div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.phx.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.phx.ovirt.org/mai<wbr>lman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-5755849231337746870gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">Danny Rehelis - autogun [AT] <a href="http://gmail.com" target="_blank">
gmail.com</a></div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">Danny Rehelis - autogun [AT] <a href="http://gmail.com" target="_blank">
gmail.com</a></div>
</div>
</div>
</div>
</body>
</html>