Network Location Awareness
Cheat sheet · https://pcornel.dk/topic.php?topic=3069
Answer
Network Location Awareness (NLA) is the Windows mechanism/service context that identifies network connectivity and characteristics so Windows and applications can react to network changes and select location-dependent behavior.
Remember
- NLA consumes network/domain signals; it is not a replacement for DNS, routing or authentication.
- Domain network classification depends on successful domain-related detection conditions, so failures elsewhere can surface as a profile symptom.
- NLA state can change as interfaces/routes/domain reachability change.
- A wrong category may be a downstream symptom rather than the root cause.
- Forcing profile behavior can hide the first failed dependency.
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 probes DC/internet → identifies network → profile and connectivity status
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 Location Awareness reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Inputs | Interface/route/name/domain signals | failure may originate upstream |
| Identification | Windows network-context decision | can change dynamically |
| Profile | Public/Private/DomainAuthenticated result | policy context only |
| Consumer | Firewall/apps use classification | consumer may have own errors |
| Fix order | Repair first failed dependency | avoid forced classification |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3069