0.11.4 RC4 AD Question

So, I think I’m going crazy. I was using the release shortly before RC1 came out, had my master image with 0.11.2 and the host rename/join to AD worked flawless on Windows 10.

My SetupComplete has the required service configuration changes in it.

After upgrading to RC4 - using the same master image, same scripts, except 0.11.4 as the client version. Now, after I sysprep it (same method as before) – the service is set to automatic start up, but service status is stopped.

It is renaming the host but it is not joining to the domain because the service has not started.

How can I correct this in the master image? I disabled the service prior to sysprepping and also stopped it.

Domain join and hostname change by fog will do any reboots needed ;)
Maybe it’s the combination i use:

early hostname change off
1 time autologon with local user
setupcomplete execution via unattend.xml firstlogoncommand
fog used for changing hostname and domain join

Everything works fully automated.
Regards X23

This is fine.
Of course, everyone is free to customize as much as they like.
The change to the recommended setup was requested by Senior Developer @Joe-Schmitt , who develops the new FOG Client - and other things. This change will guarantee the service is ran at the right moment, and timing will no longer be an issue on slow machines.

@RLane Hi, are you using OEM? If so you can’t use SetupComplete.cmd but you can use firstlogoncommands in unattend.xml to call SetupComplete.cmd to get done automated i also create a local user and allow 1 autologon via unattend.xml.

The solution is to have setupcomplete.cmd enable the service, and then restart the machine. I’m putting it into the wiki here momentarily.

Also - it renaming the host would indicate that you have Early Hostname Changer enabled. This is going to cause you problems in the long run if you’re sys-prepping and using the new client. you should disable that. It’s in fog settings.

Manually restarting it will resolve the issue however that is not exactly possible in most cases. You’re suggesting I had like “shutdown /r /t 60” to the end of my setupcomplete.cmd?

The solution is to have setupcomplete.cmd enable the service, and then restart the machine. I’m putting it into the wiki here momentarily.

Also - it renaming the host would indicate that you have Early Hostname Changer enabled. This is going to cause you problems in the long run if you’re sys-prepping and using the new client. you should disable that. It’s in fog settings.

@RLane Hi, are you using OEM? If so you can’t use SetupComplete.cmd but you can use firstlogoncommands in unattend.xml to call SetupComplete.cmd to get done automated i also create a local user and allow 1 autologon via unattend.xml.

@Tom-Elliott Pre sysprep: Service is disabled and then set to not automatically to run in start up.

Post sysprep: script is used in SetupComplete.cmd to start service.

Yes, in order to get it to work, I have to go back into services on the newly imaged device and manually start the service. It is set to automatically start but is not starting as it should. Once I manually start the service and reboot, it joins the domain and communicates with the servers – no issues.