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
- What is the difference between public and private network in Windows 11?
- How to change a Wi-Fi network to private
- How to change an Ethernet connection to private
- How to change the network profile with PowerShell
- How to check which profile a network is using
- Why is the Private network option missing or greyed out?
- How do firewall profiles relate to the network profile?
- Why can’t I see other devices after switching to private?
- What are the risks of choosing the wrong profile?
- When should I keep the network public?
- How to switch a network back to public
- Does this work the same on Windows 10?
- What if the network still will not connect properly?
- Official sources
Quick answer: change a network from public to private
| Connection | Where to click | Setting to pick | Needs admin? |
|---|---|---|---|
| Wi-Fi | Settings > Network & internet > Wi-Fi > your connected network | Network profile type > Private network | No |
| Ethernet | Settings > Network & internet > Ethernet | Network profile type > Private network | No |
| Either (command line) | PowerShell: Set-NetConnectionProfile | -NetworkCategory Private | Usually 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.
| Profile | Meant for | PC visible to others? | File and printer sharing |
|---|---|---|---|
| Public network (Recommended) | Networks in public places, and the default for new connections | No, your PC is hidden | Cannot be used |
| Private network | Networks at home or work where you trust the devices | Yes, your PC is discoverable | Can be used if you set it up |
| Domain network | Workplace networks joined to a domain | Set by the network, not by you | Controlled by your organization |
How to change a Wi-Fi network to private
- Open Start, then select Settings.
- Select Network & internet.
- Select Wi-Fi.
- Select the Wi-Fi network you are connected to.
- 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
- Open Settings and select Network & internet.
- Select Ethernet.
- 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.
- Right-click Start and open Terminal (Admin) or PowerShell as administrator.
- Run
Get-NetConnectionProfileto see each connection’s InterfaceAlias and current NetworkCategory. - Run
Set-NetConnectionProfile -InterfaceAlias "Ethernet" -NetworkCategory Private, replacing Ethernet with your own alias. - Run
Get-NetConnectionProfileagain 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 value | What it means | Can you set it yourself? |
|---|---|---|
| Public | Public places such as an airport or coffee shop | Yes |
| Private | Home or work networks you trust | Yes |
| DomainAuthenticated | Domain-joined workplace network | No, 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.
- Open Settings and select Network & internet.
- Select Wi-Fi or Ethernet, then your connected network.
- 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.
- Open the Windows Security app.
- Select Firewall & network protection.
- Select Domain network, Private network or Public network.
- 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.
| Symptom | Likely cause | What to try |
|---|---|---|
| Other PCs and printers not listed | Profile still set to Public | Switch to Private network in Settings |
| Wrong network changed | Opened a connection that is not the active one | Select the network that shows Connected, then set Private network |
| Still no devices after Private | Discovery or sharing not enabled | Turn on network discovery and file sharing |
| Settings shows no profile choice | Domain or managed device | Ask 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.
- Open Settings, then Network & internet.
- Select Wi-Fi or Ethernet and open your connected network.
- 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.
the option public/private hs been removed, I guess… nowhere to be found in Windows 11 Home. Any ideas?
Windows 11: Settings: Network & Internet: Ethernet (ie: A WIRED connection)
There is no option to set public or private.