I have configured OSD with joining to domain, in procces computer is joined to domain , but after executing all sysprep passes, computer is finnaly unjoined from domain.
PC is joined in pass specialize that is befor executing auditUser pass
<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Path>c:\windows\System32\sysprep\sysprep.exe /oobe /reboot </Path>
I read that sysprep tool will remove the computer from the domain if it is domain-joined.
There is problem with autologon after first restart where pc is already joined to domain. Is possible only log with domain account (autologon do not work ,but this maybe is related with applied our grup policy which disable administrator account), then is executed "c:\windows\System32\sysprep\sysprep.exe /oobe /reboot" and pc is I think now unjoined.
It possible in post install procces join pc to domain as last ? after installing landesk agent...