Pcornel
Windows · Windows Networking

Network Profiles

Cheat sheet · https://pcornel.dk/topic.php?topic=3068

Back to the Topic

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 interface
  • Get-NetAdapter — adapters, status and link speed
  • Get-NetRoute -AddressFamily IPv4 — routes and metrics
  • Test-NetConnection <host> -Port <p> — ping, route and TCP port test
  • ipconfig /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

BoundaryMeaningEvidence limit
PublicUntrusted/general categoryusually tighter policy assumptions
PrivateTrusted local categorydoes not itself enable a service
DomainAuthenticatedDomain-authenticated network contextdepends on domain identification
Firewall scopeRules tied to profilesactual rule evaluation still separate
ConnectivityIP/service pathindependent 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

Confirmation

Confirm action

Continue?