{"id":1486,"date":"2020-12-09T08:55:55","date_gmt":"2020-12-09T14:55:55","guid":{"rendered":"https:\/\/it.thelibrarie.com\/weblog\/?p=1486"},"modified":"2020-12-09T08:55:55","modified_gmt":"2020-12-09T14:55:55","slug":"windows-change-network-type","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2020\/12\/windows-change-network-type\/","title":{"rendered":"Windows Change Network Type"},"content":{"rendered":"\n<p>I completely understand the segmentation of networks based on labels &#8211; Private for trusted internal communications, Public for non-trusted or external communications, and DomainAuthenticated for domain-joined systems. This allows for a more fine-tuned windows firewall experience and can create a more secure environment.<\/p>\n\n\n\n<p>Unless the automatic labels get it wrong. OK, I should preface that I&#8217;ve never seen the automatic network labels go the wrong way &#8211; that is to say a &#8220;public&#8221; connection that is actually labeled as a private\/trusted one. However, it&#8217;s still a PITA when Windows thinks the connection is untrusted (public) when it&#8217;s really something on the internal network.<\/p>\n\n\n\n<p>It generally does this with my VPN connections. TUN and TAP both have had this issue, so I think it&#8217;s more a Windows-feature than anything else.<\/p>\n\n\n\n<p>Enter PowerShell. You&#8217;ll see a theme here, I&#8217;ve been PSing a lot more lately.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Run an Elevated Powershell (run as administrator)<\/li><li>List out all network profiles<ul><li><code>Get-NetConnectionProfile<\/code><\/li><\/ul><\/li><li>Find the Interface Index of your connection, then set the category<ul><li><code>Set-NetConnectionProfile -InterfaceIndex 22 -NetworkCategory Private<\/code><\/li><\/ul><\/li><\/ul>\n\n\n\n<p>There are ways to do this from a Registry Editor perspective as well, but this seems to be the easiest way (and doesn&#8217;t require a reboot). More info here <a href=\"http:\/\/woshub.com\/how-to-change-a-network-type-from-public-to-private-in-windows\/\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/woshub.com\/how-to-change-a-network-type-from-public-to-private-in-windows\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I completely understand the segmentation of networks based on labels &#8211; Private for trusted internal communications, Public for non-trusted or external communications, and DomainAuthenticated for domain-joined systems. This allows for a more fine-tuned windows firewall experience and can create a more secure environment. Unless the automatic labels get it wrong. OK, I should preface that &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2020\/12\/windows-change-network-type\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Windows Change Network Type<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-1486","post","type-post","status-publish","format-standard","hentry","category-microsoft"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=1486"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1486\/revisions"}],"predecessor-version":[{"id":1487,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1486\/revisions\/1487"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=1486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=1486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=1486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}