{"id":682,"date":"2016-03-22T16:39:29","date_gmt":"2016-03-22T16:39:29","guid":{"rendered":"http:\/\/192.168.1.102\/?p=682"},"modified":"2016-03-22T16:39:29","modified_gmt":"2016-03-22T16:39:29","slug":"netdom-join-error-53-error-2-dns-is-correct-windows-2012-r2-doesnt-like-ou","status":"publish","type":"post","link":"https:\/\/digitalsos.net\/?p=682","title":{"rendered":"netdom join Error 53, Error 2, DNS is correct. Windows 2012 R2 doesn&#8217;t like \/ou"},"content":{"rendered":"<p>We have been using a script for years that will join a Windows system to our domain.\u00a0 Now with 2012 R2 it never executed.\u00a0 And this was not a DNS issue.\u00a0 Ping your DC&#8217;s with the friendly name from the system first and if they resolve you are good.<\/p>\n<p>At first I thought was an issue with our 2012 R2 domain controllers.\u00a0 Apparently after researching this I saw that a duplicate SPN check can cause this.\u00a0 <a href=\"https:\/\/support.microsoft.com\/en-us\/kb\/3070083\" target=\"_blank\">https:\/\/support.microsoft.com\/en-us\/kb\/3070083<\/a><\/p>\n<p>Patch your DC&#8217;s this hotfix was incorporated into later patches so if your up-to-date then you should be fine.<\/p>\n<p>Remove the \/ou section of your netdom join statement.\u00a0 It worked for us for years, but now it just throws a error every time.\u00a0 And before you say anything I tried using CN for the computers section most of the time.\u00a0 Our statement was:<\/p>\n<p>netdom join $serverName \/d:$Domain \/ou:&#8221;OU=Computers,DC=cloud,DC=digitalsos,DC=com&#8221; \/ud:SOS\\joinUS \/pd:$decrypted \/reboot:20 &gt;&gt; $logfile<\/p>\n<p>Now it&#8217;s just:<\/p>\n<p>netdom join $serverName \/d:$Domain \/ud:joinUS \/pd:$decrypted \/reboot:20 &gt;&gt; $logfile<\/p>\n<p>Hopefully you won&#8217;t throw away a week of your time chasing this down.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have been using a script for years that will join a Windows system to our domain.\u00a0 Now with 2012 R2 it never executed.\u00a0 And this was not a DNS issue.\u00a0 Ping your DC&#8217;s with the friendly name from the system first and if they resolve you are good. At first I thought was an<\/p>\n<div class=\"read-more-wrapper\"><a class=\"read-more\" href=\"https:\/\/digitalsos.net\/?p=682\" title=\"Read More\"> <span class=\"button \">Read More<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-682","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pgxmGV-b0","_links":{"self":[{"href":"https:\/\/digitalsos.net\/index.php?rest_route=\/wp\/v2\/posts\/682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalsos.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalsos.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalsos.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalsos.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=682"}],"version-history":[{"count":1,"href":"https:\/\/digitalsos.net\/index.php?rest_route=\/wp\/v2\/posts\/682\/revisions"}],"predecessor-version":[{"id":683,"href":"https:\/\/digitalsos.net\/index.php?rest_route=\/wp\/v2\/posts\/682\/revisions\/683"}],"wp:attachment":[{"href":"https:\/\/digitalsos.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalsos.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalsos.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}