New Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

This is a recurring scenario, and there are at least two options to automate it: Secure Join ( Unattend.xml based) and offline join.

Secure Join - You need to add to your Unattend.xml this part: https://technet.microsoft.com/en-us/library/cc732280(v=ws.10).aspx#Image2 If you use cloudbase-init installer, make sure not to check the automated sysprep option, make the changes to the "${env:ProgramFiles}\Cloudbase Solutions\Cloudbase-Init\conf\unattended.xml" and run sysprep with that unattend xml you have changed.

The offline domain joined is explained here: https://technet.microsoft.com/en-us/library/offline-domain-join-djoin-step-by-step(v=ws.10).aspx . To have it working with OpenStack, you can use cloudbase-init as a bootstrapper to run a userdata script that will look like this: http://paste.openstack.org/show/384475/

As a side note, you might need to add to the neutron network the AD controller's IP as DNS server, as discussed here: http://ask.cloudbase.it/question/884/automate-join-domain-for-windows-instance/ Thanks.

Hello,

This is a recurring scenario, and there are at least two options to automate it: Secure Join ( Unattend.xml based) and offline join.

Secure Join - You need to add to your Unattend.xml this part: https://technet.microsoft.com/en-us/library/cc732280(v=ws.10).aspx#Image2 If you use cloudbase-init installer, make sure not to check the automated sysprep option, make the changes to the "${env:ProgramFiles}\Cloudbase Solutions\Cloudbase-Init\conf\unattended.xml" and run sysprep with that unattend xml you have changed.

The offline domain joined is explained here: https://technet.microsoft.com/en-us/library/offline-domain-join-djoin-step-by-step(v=ws.10).aspx . To have it working with OpenStack, you can use cloudbase-init as a bootstrapper to run a userdata script that will look like this: http://paste.openstack.org/show/384475/

As a side note, you might need to add to the neutron network the AD controller's IP as DNS server, as discussed here: http://ask.cloudbase.it/question/884/automate-join-domain-for-windows-instance/ Thanks.http://ask.cloudbase.it/question/884/automate-join-domain-for-windows-instance/

Thanks,

Adrian.