banner
呗湪

呜喵's Blog

designer from Canton China
telegram
twitter

How to change the network category from "Public" to "Private" for networks not connected to the internet in Windows 11

Even by the end of 2024, Windows 11 still has many issues, and the migration of the Control Panel to the new Settings still has many problems. One recent issue I encountered is that if there are multiple networks, when using the network properties configuration type in Windows, the new network settings page does not allow changing the configuration type of other networks that are not connected to the internet (such as ZeroTier and some VPN virtual network cards). In the old Control Panel, this could be changed, but now (I am using Windows 11 version 23H2) this option has been removed from the Control Panel, and the migration to Settings is, as mentioned above, not complete...
End of rambling, here are the methods for the settings:

  1. List all currently connected networks. Find the Name (network name) or InterfaceAlias (interface alias) of your VPN network.
Get-NetConnectionProfile
  1. Change the network category from Public to Private
Set-NetConnectionProfile -Name "Your VPN Network Name" -NetworkCategory Private

or

Set-NetConnectionProfile -InterfaceAlias "Interface Alias" -NetworkCategory Private
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.