title: How to programmatically set Unidentified Networks to be a Private or Public Network Location on Windows 10?
body: <p>Changing Ethernet or Wi-Fi connections to Private/Public is something very easy to be done. I can do that either from PowerShell or Registries.</p>
  <p>But, is there a way of changing Unidentified Networks or Identifying Networks to Private/Public in a programmatically way on Windows 10 ? I would like to include this step into one of my projects.</p>
  <p>I found this answer on the <a href="https://www.sevenforums.com/tutorials/71408-unidentified-networks-set-private-public.html" rel="nofollow noreferrer">sevenforums.com</a> , but it applies only to Windows 7.</p>