New Question

Revision history [back]

click to hide/show revision 1
initial version

AutoDomain join

Hello, guys! I'm trying to create unattend file, that will make a secure domain join for any Windows VM created with Openstack. Unfortunately, after a week of tries, i still have no result. First of all i tried the simply way - just used Microsoft-Windows-UnattendedJoin component in order to add computer to my domain, but got the interesting bug - my VM joined domain with name like DESKTOP-%RANDOMSYMBOLS%, but it's hostname was set to DESKTOP-%ANOTHERRANDOM_SYMBOLS%. Then i found this article https://ask.cloudbase.it/question/1036/windows-10-hostname-not-being-set/ where were said, that there is a built-in function, that launches during OOBE part of initial startup, and the only thing i can do is to set hostname at the OOBE stage again to save OpenStack name. So, i figured out, that there is no way to setup autojoin domain, because: - We can use join domain function only at "Specialize" stage - We should use hostname set function (it's a built-in plugin) twice - at the "specialize" stage in order to use proper hostname while joining domain, and at the "OOBE" stage in order not to allow PC hostname changing, but this plugin allows me to launch it only once!

Maybe someone has idea about working around this? Help me, please, it cracked my brain!