Use this topic when firewall behavior changes after moving networks, a machine shows Public instead of Private/Domain, discovery/sharing rules differ unexpectedly, or a profile-dependent policy appears wrong.
Network Profiles
Windows Network Profiles classify a connected network context—commonly Public, Private or Domain-authenticated—and provide policy context used by features such as Windows Defender Firewall rules.
1. Get-NetConnectionProfile — Public, Private or DomainAuthenticated?
2. Wrong profile changes firewall rules.
3. Set: Set-NetConnectionProfile -NetworkCategory Private.
4. Domain profile requires DC reachability (NLA).
5. Re-check firewall behaviour.
NLA identifies the network → profile assigned → firewall profile applied
Inspect NLA/domain-identification evidence and the effective profile-scoped firewall rule for the flow.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Do not change Public to Private merely to make an application work without understanding the firewall difference. Do not treat DomainAuthenticated absence as evidence the computer left the domain.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Record active profile/category, verify the expected interface, then inspect only rules/policies scoped to that profile. If domain profile is missing, continue into NLA/domain/DNS/DC reachability rather than overriding policy blindly.
and state what the evidence does not show.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Network profile is policy context, not an IP-connectivity mechanism.
- Public and Private are administrator/user network categories; DomainAuthenticated depends on domain detection rather than a simple manual toggle.
- Firewall rules can be scoped to one or more profiles.
- A correct profile does not prove firewall rules permit the desired traffic.
- Profile changes can explain policy differences even when IP configuration is identical.
ReferenceWhat it is1 section · depth on demand
Core model
Windows can apply different policy sets to the same protocol depending on the active network profile. This makes profile evidence important when a host behaves differently across locations or after network changes.
ReferenceImportant terms & boundaries2 sections · depth on demand
Windows boundary
Profile state should be correlated to the interface/connection used by the target flow. DomainAuthenticated is an observed domain-network classification, not simply a label to force when domain dependencies are broken.
In depth
Network profiles (Domain, Private, Public) decide which firewall profile applies and whether discovery features are on.
Get-NetConnectionProfile
Set-NetConnectionProfile -InterfaceAlias Ethernet -NetworkCategory Private
Get-NetFirewallProfile | ft Name,Enabled,DefaultInboundAction
The Domain profile is chosen automatically when the machine can reach a domain controller via LDAP on that interface; it cannot be set manually. Servers stuck on Public after boot usually have NLA running before DNS/DC reachability.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Windows Networking → Network Profiles. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/networking/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Windows Networking → Network Profiles reference map
Fast lookup boundaries for Windows Networking → Network Profiles.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Public | Untrusted/general category | usually tighter policy assumptions |
| Private | Trusted local category | does not itself enable a service |
| DomainAuthenticated | Domain-authenticated network context | depends on domain identification |
| Firewall scope | Rules tied to profiles | actual rule evaluation still separate |
| Connectivity | IP/service path | independent evidence chain |