====== Offline Domain Join ======
#on dc
djoin /provision /domain ad.lemmerich.eu /machine k-l380 /savefile c:\provision.txt
Copy the file over to the client
#on client
djoin /REQUESTODJ /LOADFILE "D:\provision.txt" /WINDOWSPATH %WINDIR% /LOCALOS
If you see the error The offline domain join request failed. Error 0xa9d., Then add –% (two dashes) after djoin. That is, it will be something like that.
djoin --% /requestODJ /loadfile D:\provision.txt /windowspath %systemroot% /localos
== Links ==
* https://docs.microsoft.com/en-us/windows-server/remote/remote-access/directaccess/directaccess-offline-domain-join
* https://www.dtonias.com/offline-domain-join-active-directory/