Network Profiles
Cheat sheet · https://pcornel.dk/topic.php?topic=3068
Answer
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.
Remember
- 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.
First checks
Get-NetIPConfiguration— addresses, gateway and DNS per interfaceGet-NetAdapter— adapters, status and link speedGet-NetRoute -AddressFamily IPv4— routes and metricsTest-NetConnection <host> -Port <p>— ping, route and TCP port testipconfig /all— full IP configuration
Verify in this order
NLA identifies the network → profile assigned → firewall profile applied
Where it usually breaks
First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.
Windows Networking → Network Profiles reference map
| 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 |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3068