Pcornel
Windows · Windows Networking

Network Location Awareness

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

Back to the Topic

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 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 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

BoundaryMeaningEvidence limit
InputsInterface/route/name/domain signalsfailure may originate upstream
IdentificationWindows network-context decisioncan change dynamically
ProfilePublic/Private/DomainAuthenticated resultpolicy context only
ConsumerFirewall/apps use classificationconsumer may have own errors
Fix orderRepair first failed dependencyavoid 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

Confirmation

Confirm action

Continue?