{"id":650,"date":"2019-08-08T21:30:11","date_gmt":"2019-08-09T02:30:11","guid":{"rendered":"http:\/\/zewwy.ca\/?p=650"},"modified":"2019-08-08T21:30:20","modified_gmt":"2019-08-09T02:30:20","slug":"setting-network-profile-from-public-to-domain-on-core","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2019\/08\/08\/setting-network-profile-from-public-to-domain-on-core\/","title":{"rendered":"Setting Network Profile from Public to Domain on Core"},"content":{"rendered":"<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Get_Network_interfaces_profile\"><\/span>Get Network interfaces profile<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>Get-NetConnectionProfile<\/pre>\n<p><a href=\"https:\/\/i.imgur.com\/DnuVcce.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/DnuVcce.png\" alt=\"\" width=\"372\" height=\"167\" \/><\/a><\/p>\n<p>sometimes when you recover a VM from backup it likes to change to Public even though all the other network settings were recovered successfully.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/AWSPaHx.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/AWSPaHx.png\" alt=\"\" width=\"437\" height=\"164\" \/><\/a><\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"NLA_Reset_via_DisableEnable_NIC\"><\/span>NLA Reset via Disable\/Enable NIC<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>first thing to try is simply disable and re-enable the NIC once connection to a DC is verified.<\/p>\n<pre>Get-NetAdapter | Disable-NetAdapter\r\nGet-NetAdapter | Enable-NetAdapter<\/pre>\n<p><a href=\"https:\/\/i.imgur.com\/ebJOP32.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/ebJOP32.png\" alt=\"\" width=\"735\" height=\"117\" \/><\/a><\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"All_else_fails_Set_the_DNS_Suffix\"><\/span>All else fails, Set the DNS Suffix<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If the NLA still refuses to show Domain status, try setting the DNS suffix&#8230;<\/p>\n<pre>Get-NetAdapter Ethernet | Set-DNSClient -ConnectionSpecificSuffix \"Zewwy.ca\" -UseSuffixWhenRegistering $true<\/pre>\n<p>Then, again disable, enable the interface.<\/p>\n<p>It should go back to DomainAuthenticated. If not verify the computer is still actually authenticated with a DC with nltest.<\/p>\n<p>Hope this helps someone.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Get Network interfaces profile Get-NetConnectionProfile sometimes when you recover a VM from backup it likes to change to Public even though all the other network settings were recovered successfully. NLA Reset via Disable\/Enable NIC first thing to try is simply disable and re-enable the NIC once connection to a DC is verified. Get-NetAdapter | Disable-NetAdapter &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2019\/08\/08\/setting-network-profile-from-public-to-domain-on-core\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Setting Network Profile from Public to Domain on Core&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[12,8,197],"tags":[220,218,219],"class_list":["post-650","post","type-post","status-publish","format-standard","hentry","category-powershell","category-server-administration","category-windows","tag-domainauthenticated","tag-nla","tag-public"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=650"}],"version-history":[{"count":2,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/650\/revisions"}],"predecessor-version":[{"id":652,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/650\/revisions\/652"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}