Quick fix: Open Settings → Network & internet → pick connection → Network profile type → pick Private network. If toggle doesn’t persist: open PowerShell (Admin) and run Get-NetConnectionProfile to see current. Then Set-NetConnectionProfile -InterfaceAlias "Wi-Fi" -NetworkCategory Private (replace Wi-Fi with adapter name).
Network profiles: Public (firewall stricter, network discovery off) vs Private (relaxed, discovery on). Switching via Settings should work but occasionally stuck. PowerShell command forces change.
Affects: Windows 11.
Fix time: ~5 minutes.
What causes this
Network profile affects firewall rules and discovery. Stuck on Public means: file sharing, printer sharing, network discovery don’t work. Causes: corrupted profile cache, conflicting domain settings, registry issue.
Method 1: Use Settings UI
The standard route.
- Open Settings → Network & internet.
- Click your active connection (Wi-Fi or Ethernet).
- Find Network profile type.
- Pick Private network radio button.
- Apply.
- For Wi-Fi: per-Wi-Fi network setting. Each saved Wi-Fi remembers profile.
- For Ethernet: setting per-connection.
- Verify: Settings should show Private after change.
- If reverts to Public on reconnect: continue to Method 2.
This is the standard fix.
Method 2: Force change via PowerShell
For stuck profile.
- Open PowerShell as Admin.
- List current profiles:
Get-NetConnectionProfileShows: InterfaceAlias, NetworkCategory (Public / Private / DomainAuthenticated).
- Change profile:
Set-NetConnectionProfile -InterfaceAlias "Wi-Fi" -NetworkCategory PrivateReplace “Wi-Fi” with actual adapter name from Get-NetConnectionProfile output.
- Verify: re-run Get-NetConnectionProfile. Should show Private.
- For multiple adapters: each can have different profile.
- For domain joined: DomainAuthenticated is automatic when connected to domain. Can’t change manually.
- For Ethernet: same command, adjust InterfaceAlias to “Ethernet” or actual name.
This is the forced fix.
Method 3: Clear network profile cache
For persistent stuck.
- If profile keeps reverting:
- Open Registry Editor as Admin.
- Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles. - Find the profile (each has GUID). Look for ProfileName matching your network name.
- For each profile, check Category DWORD:
- 0 = Public
- 1 = Private
- 2 = Domain
- Set to 1 for Private.
- Close Registry Editor.
- Disconnect and reconnect to network.
- Profile should be Private now.
- For removing stale profiles: delete entire GUID subkey (with care).
- For chronic profile issues: Group Policy may force. Check
gpresult /h.
This is the registry route.
How to verify the fix worked
- Settings shows Network profile: Private.
- PowerShell
Get-NetConnectionProfileshows NetworkCategory: Private. - Network discovery / file sharing works.
- Profile persists after reconnect.
If none of these work
If profile reverts: Group Policy enforcing: corporate-managed PCs may force Public. Contact IT. For domain-joined PCs: profile auto-DomainAuthenticated when on domain. Can’t change. For Public Wi-Fi auto-detected: Windows correctly identifies as Public. Don’t change for security. For Wi-Fi with no network info: Windows may default to Public. Connect to internet (DHCP) first. For corrupted network profile: forget Wi-Fi network → reconnect → re-pick profile. For chronic issues: Settings → Network & internet → Advanced → Network reset. Reverts to defaults. For Ethernet vs Wi-Fi different behavior: each has separate profile cache.
Bottom line: Settings → Network & internet → pick connection → Private network. If stuck: PowerShell Set-NetConnectionProfile -InterfaceAlias "Wi-Fi" -NetworkCategory Private as Admin.