{"id":6463,"date":"2018-08-09T00:54:00","date_gmt":"2018-08-08T22:54:00","guid":{"rendered":"http:\/\/159.69.82.204\/win\/?p=6463"},"modified":"2021-06-17T23:04:13","modified_gmt":"2021-06-17T21:04:13","slug":"windows-10-v1803-domain-join-bug-and-a-workaround","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2018\/08\/09\/windows-10-v1803-domain-join-bug-and-a-workaround\/","title":{"rendered":"Windows 10 V1803: Domain join bug and a workaround"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"float: left; margin: 0px 10px 0px 0px; display: inline\" src=\"http:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2015\/01\/win102.jpg\" width=\"58\" height=\"58\">[<a href=\"https:\/\/www.borncity.com\/blog\/2018\/08\/08\/windows-10-v1803-domain-join-bug-und-workaround\/\" target=\"_blank\" rel=\"noopener\">German<\/a>]Administrators who want to join a domain with clients running Windows 10 V1803 Pro or Enterprise may run into a problem. A bug prevents the domain join. So far I am not aware that Microsoft has fixed this. But there is a workaround in the form of an offline domain join using <em>djoin<\/em>. <\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/vg07.met.vgwort.de\/na\/fcb17cc470694124baef3b15ac162d0c\" width=\"1\" height=\"1\">If I remember correctly, Microsoft has classified Windows 10 V1803 as business-ready (see <a href=\"https:\/\/borncity.com\/win\/2018\/07\/03\/microsoft-windows-10-v1803-is-business-ready-install-it\/\">Microsoft: Windows 10 V1803 is business ready, install it \u2026<\/a>). But there seems to be problems with this Windows 10 build in certain environments. Maybe the following problem is well known &#8211; but I'll take it up &#8211; maybe it helps someone. <\/p>\n<h2>A bug prevents a domain join via network<\/h2>\n<p>Already in May 2018, the Technet forum thread <a href=\"https:\/\/social.technet.microsoft.com\/Forums\/en-US\/59183715-0c04-44f7-b5ea-bb37da4125a5\/unable-to-join-domain-with-new-windows-10-computers-build-1803?forum=win10itpronetworking\" target=\"_blank\" rel=\"noopener\">Unable to join domain with new windows 10 computers &#8211; build 1803<\/a> has been created. A user wrote:<\/p>\n<blockquote>\n<p>I have 3 new computers that I am truing to join to our domain and it cant seem to find the domain.&nbsp; I can ping the domain controller.&nbsp; Any suggestions on resolving this without having to roll back to the previous build, which will also take with it all of the apps that I installed after this build was installed.&nbsp; I have rolled back a computer and joined the domain from that computer, so I know that rolling back will work, but I did loose all the apps I installed and in the process of reinstalling them.<\/p>\n<\/blockquote>\n<p>The domain controller is accessible from the Windows 10 V1803 clients via ping, but with domain join the clients cannot find the DC. This error message is returned:<\/p>\n<blockquote>\n<p>DNS was successfully queried for the service location (SRV) resource record used to locate a domain controller for domain \"MYDOMAIN\":<br \/>The query was for the SRV record for _ldap._tcp.dc._msdcs.MYDOMAIN<br \/>The following domain controllers were identified by the query:<br \/>MYSERVER.MYDOMAIN  <\/p>\n<p>However no domain controllers could be contacted.<br \/>Common causes of this error include:<br \/>&#8211; Host (A) or (AAAA) records that map the names of the domain controllers to their IP addresses are missing or contain incorrect addresses.<br \/>&#8211; Domain controllers registered in DNS are not connected to the network or are not running.<\/p>\n<\/blockquote>\n<p>Within the thread further affected users are confirming this bug, and Microsoft moderator Karen_Hu confirms at least that this is a known bug. Within the thread, various solutions are proposed, but only seem to help for a few scenarios. So there is a hint that SMBv1 could be involved &#8211; which also causes trouble in connection with Samba servers (see also <a href=\"https:\/\/superuser.com\/questions\/1322497\/did-windows-10-april-update-break-network-discovery-and-samba-support\" target=\"_blank\" rel=\"noopener\">here<\/a>). There is also such a discussion on <a href=\"https:\/\/www.reddit.com\/r\/Windows10\/comments\/8hphmi\/cant_join_ad_domain_after_april_2018_update\/\" target=\"_blank\" rel=\"noopener\">reddit.com<\/a>.  <\/p>\n<h2>Workaround: Offline Domain Join<\/h2>\n<p>Triggered from tips on German sites <a href=\"https:\/\/web.archive.org\/web\/20180828193643\/https:\/\/www.administrator.de\/wissen\/windows-10-version-1803-17134-bug-l%C3%A4sst-evtl-nicht-dom%C3%A4ne-anmelden-382576.html\" target=\"_blank\" rel=\"noopener\">administrator.de<\/a> and <a href=\"https:\/\/www.deskmodder.de\/blog\/2018\/08\/08\/windows-10-fehler-bei-der-anmeldung-in-der-domaene-workaround-windows-10-1803\/\" target=\"_blank\" rel=\"noopener\">deskmodder.de<\/a> I found at least an English <a href=\"https:\/\/www.dtonias.com\/offline-domain-join-active-directory\/\" target=\"_blank\" rel=\"noopener\">blog post<\/a>, describing the ability to join a domain using the command <em>djoin<\/em>.&nbsp;&nbsp; <\/p>\n<p>1. Open an administrative command prompt windows on your domain server and enter the command below. <\/p>\n<pre>djoin \/provision \/domain \"Domainname\".local \/machine \"PC-NAME\" \/savefile c:\\testneu\\client.txt<\/pre>\n<p>The placeholder <em>Domainname<\/em> must be replaced by the name of the domain. The placeholder <em>PC-Name<\/em> must be replaced by the network name of the new PC to be registered in the domain.. <\/p>\n<p>2. Copy the created file <em>client.txt<\/em> to your client into a folder named <em>c:\\testnew\\<\/em>. <\/p>\n<p>3. Open an administrative command prompt windows on your client and enter the command below.<\/p>\n<pre>djoin \/REQUESTODJ \/LOCALOS \/WINDOWSPATH c:\\windows \/LOADFILE c:\\testneu\\client.txt<\/code><\/pre>\n<p>The command (described <a href=\"https:\/\/www.dtonias.com\/offline-domain-join-active-directory\/\" target=\"_blank\" rel=\"noopener\">here<\/a>) imports the necessary information into the client and integrates it into the domain. In case of error message, consult the linked article for further hints. In case, the path within the command prompt windows isn't <em>c:\\windows\\system32\\<\/em>, use the command <em>cd c:\\windows\\system32\\ <\/em>to switch the path. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[German]Administrators who want to join a domain with clients running Windows 10 V1803 Pro or Enterprise may run into a problem. A bug prevents the domain join. So far I am not aware that Microsoft has fixed this. But there &hellip; <a href=\"https:\/\/borncity.com\/win\/2018\/08\/09\/windows-10-v1803-domain-join-bug-and-a-workaround\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[47,1306],"class_list":["post-6463","post","type-post","status-publish","format-standard","hentry","category-windows","tag-issue","tag-windows-10-v1803"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/6463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=6463"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/6463\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=6463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=6463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=6463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}