Change Network Profile to Private Using PowerShell

If you’re fighting with Network Level Authentication (see this post) and need to quickly change a workstation from Public to Private, this should work in PowerShell:


Note the InterfaceIndex of the adapter you want to change, e.g. 13.

Set-NetConnectionProfile -InterfaceIndex 13 -NetworkCategory Private

Credit to this post.

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.

This site uses Akismet to reduce spam. Learn how your comment data is processed.