How To Change Public Network To Private In Windows 11 (2027)

To change a network from public to private in Windows 11, open Settings, go to Network & internet, pick your Wi-Fi or Ethernet connection and set the network profile type to Private network.

Windows 11 marks every new network as public by default, so your PC stays hidden until you change it.

The change takes under a minute and this guide also covers PowerShell and the firewall profiles that go with it.

Table of Contents

Quick answer: change a network from public to private

ConnectionWhere to clickSetting to pickNeeds admin?
Wi-FiSettings > Network & internet > Wi-Fi > your connected networkNetwork profile type > Private networkNo
EthernetSettings > Network & internet > EthernetNetwork profile type > Private networkNo
Either (command line)PowerShell: Set-NetConnectionProfile-NetworkCategory PrivateUsually yes, run PowerShell as administrator

Pick Private network only on a home or work network where you know and trust the people and devices.

What is the difference between public and private network in Windows 11?

The profile tells Windows how visible your PC should be to other devices on the same network.

ProfileMeant forPC visible to others?File and printer sharing
Public network (Recommended)Networks in public places, and the default for new connectionsNo, your PC is hiddenCannot be used
Private networkNetworks at home or work where you trust the devicesYes, your PC is discoverableCan be used if you set it up
Domain networkWorkplace networks joined to a domainSet by the network, not by youControlled by your organization

How to change a Wi-Fi network to private

  1. Open Start, then select Settings.
  2. Select Network & internet.
  3. Select Wi-Fi.
  4. Select the Wi-Fi network you are connected to.
  5. Under Network profile type, select Private network.

You can also reach the same page by right-clicking the Wi-Fi icon on the taskbar and choosing Network and internet settings.

How to change an Ethernet connection to private

  1. Open Settings and select Network & internet.
  2. Select Ethernet.
  3. Under Network profile type, select Private network.

Microsoft lists the same Network profile type choice on the Ethernet page as on the Wi-Fi page.

How to change the network profile with PowerShell

The Set-NetConnectionProfile cmdlet changes the profile by adapter name.

  1. Right-click Start and open Terminal (Admin) or PowerShell as administrator.
  2. Run Get-NetConnectionProfile to see each connection’s InterfaceAlias and current NetworkCategory.
  3. Run Set-NetConnectionProfile -InterfaceAlias "Ethernet" -NetworkCategory Private, replacing Ethernet with your own alias.
  4. Run Get-NetConnectionProfile again to confirm the category now reads Private.

Microsoft’s documentation says DomainAuthenticated is set by the server, so you cannot choose it with this cmdlet.

NetworkCategory valueWhat it meansCan you set it yourself?
PublicPublic places such as an airport or coffee shopYes
PrivateHome or work networks you trustYes
DomainAuthenticatedDomain-joined workplace networkNo, set automatically

How to check which profile a network is using

The quickest check is the Network profile type setting on the connection’s own page in Settings.

  1. Open Settings and select Network & internet.
  2. Select Wi-Fi or Ethernet, then your connected network.
  3. Read which option is selected under Network profile type.

In PowerShell, Get-NetConnectionProfile lists every connection with its NetworkCategory.

Why is the Private network option missing or greyed out?

On a work or school PC, organization policy may block network and firewall changes, and Microsoft says to contact your administrator in that case.

If the connection you opened is not the one that is actually active, go back one page and select the network that shows Connected.

A Domain network profile is set automatically when the network authenticates to a domain controller, so you cannot choose it yourself.

How do firewall profiles relate to the network profile?

Microsoft Defender Firewall keeps separate settings for the Domain network, Private network and Public network profiles.

  1. Open the Windows Security app.
  2. Select Firewall & network protection.
  3. Select Domain network, Private network or Public network.
  4. Check that the Microsoft Defender Firewall toggle is On.

Microsoft warns that turning the firewall off can make your device more vulnerable, so leave it on unless you have a reason.

If a single app is blocked, see our guide to turning the Windows 11 firewall off temporarily before changing the toggle.

Why can’t I see other devices after switching to private?

A private profile makes your PC discoverable, but sharing features can still need to be turned on.

Follow our fix for network discovery is turned off if the other devices still do not appear.

SymptomLikely causeWhat to try
Other PCs and printers not listedProfile still set to PublicSwitch to Private network in Settings
Wrong network changedOpened a connection that is not the active oneSelect the network that shows Connected, then set Private network
Still no devices after PrivateDiscovery or sharing not enabledTurn on network discovery and file sharing
Settings shows no profile choiceDomain or managed deviceAsk your administrator

What are the risks of choosing the wrong profile?

Microsoft says to use Private network only with people and devices you know and trust.

Choosing Private on an unknown network makes your PC discoverable to every device on it.

Choosing Public on your home network keeps your PC hidden, which stops file and printer sharing.

When should I keep the network public?

  • Cafes, airports and hotels: stay on Public so your PC is hidden.
  • Shared or guest Wi-Fi: keep Public unless you know every device on it.
  • Your own home router: Private is the usual choice if you want file and printer sharing.

How to switch a network back to public

Use the same screen and choose the other option.

  1. Open Settings, then Network & internet.
  2. Select Wi-Fi or Ethernet and open your connected network.
  3. Under Network profile type, select Public network (Recommended).

For PowerShell, run Set-NetConnectionProfile -InterfaceAlias "Wi-Fi" -NetworkCategory Public with your own alias in place of Wi-Fi.

Do this whenever you move a laptop to a shared network you do not control.

Does this work the same on Windows 10?

Microsoft’s current profile instructions are written for Windows 11, so the menu names here apply to Windows 11 only.

The PowerShell command works from the command line independent of the Settings layout.

What if the network still will not connect properly?

A broken adapter or stale network stack can stop the profile from sticking.

Try our guide to resetting network settings in Windows 11, which removes saved networks so you will need to reconnect and pick the profile again.

For wider connection trouble, work through Windows 11 internet connection issues.

Official sources

2 Comments

  1. the option public/private hs been removed, I guess… nowhere to be found in Windows 11 Home. Any ideas?

  2. Windows 11: Settings: Network & Internet: Ethernet (ie: A WIRED connection)

    There is no option to set public or private.

Leave a Reply

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