Always On VPN is the Microsoft remote access technology that connects managed Windows devices to the corporate network automatically, without the user starting a connection by hand. It is built into the Windows VPN client and configured through policy profiles, so a laptop in a hotel or at home reaches internal servers almost as if it were in the office.
In Windows networking, Always On VPN is the successor to DirectAccess. It arrived with Windows 10 and remains supported in Windows 11. Unlike DirectAccess, it does not require domain membership for every scenario, supports IPv4 and IPv6, and works with Microsoft and many third-party VPN gateways.
How Always On VPN establishes the connection
The client builds the tunnel according to a profile defined in the VPNv2 configuration service provider (CSP). The profile, written as ProfileXML, describes the server address, protocol, authentication method, routes, DNS rules and triggers. Mobile device management such as Microsoft Intune, Configuration Manager or a PowerShell script delivers the profile to the device.
Once the profile is present, Windows watches network changes. When the device leaves the corporate network, trusted network detection notices that the internal DNS suffix is missing and the client connects on its own. When the device returns to the office, the tunnel is torn down to avoid routing traffic twice.
| Component | Role | Common implementation |
|---|---|---|
| VPN client | Builds and maintains the tunnel | Built-in Windows client |
| VPN gateway | Terminates tunnels at the edge | RRAS or a third-party appliance |
| RADIUS server | Authenticates users and devices | Network Policy Server (NPS) |
| Certificate authority | Issues user and device certificates | Active Directory Certificate Services |
| Management platform | Deploys the ProfileXML | Intune or Configuration Manager |
Device tunnel and user tunnel
Always On VPN supports two independent tunnel types that can run at the same time. The device tunnel connects before anyone signs in, which allows management tasks and first-time logons. The user tunnel connects after sign-in and carries the user’s application traffic.
| Property | Device tunnel | User tunnel |
|---|---|---|
| When it connects | Before user sign-in | After user sign-in |
| Protocols | IKEv2 only | IKEv2, SSTP or vendor plug-in |
| Authentication | Machine certificate | User certificate or EAP methods |
| Edition requirement | Enterprise or Education, domain-joined | Most business editions |
| Typical traffic | Domain controllers, management servers | File shares, intranet, business apps |
Best practice limits the device tunnel to a small set of infrastructure routes through traffic filters. A broad device tunnel exposes the network to any process on the machine, even when no user is signed in.
Routing, name resolution and triggers
The profile decides which traffic enters the tunnel. With split tunneling, only routes to internal subnets use the VPN, while internet traffic goes directly out. With force tunneling, all traffic passes through the corporate gateway, which supports central inspection but increases latency and bandwidth costs.
Name resolution relies on the Name Resolution Policy Table (NRPT), which sends queries for internal DNS suffixes to internal DNS servers. Triggers can start the tunnel when a specific application launches or when the user accesses an internal name, while the always-on setting keeps the connection permanently up.
| Situation | Recommended mode | Reason |
|---|---|---|
| Heavy video meetings from home | Split tunneling | Keeps media off the VPN gateway |
| Strict compliance inspection | Force tunneling | All traffic passes central filters |
| Limited gateway capacity | Split tunneling | Reduces load and bandwidth |
| Untrusted public Wi-Fi only | Force tunneling | Protects all outbound traffic |
Always On VPN compared with DirectAccess
DirectAccess provided a similar seamless experience but depended on IPv6 transition technologies, domain-joined Enterprise clients and Windows Server only. Microsoft no longer develops DirectAccess and recommends migration to Always On VPN or to newer identity-based access services such as Microsoft Entra Private Access.
- Always On VPN supports Microsoft Entra joined and Intune-managed devices, not only domain members.
- It works with third-party VPN gateways through plug-in profiles.
- It allows conditional access checks based on device compliance before a certificate is issued.
- DirectAccess remains limited to IP-HTTPS, 6to4 and Teredo transport over IPv6.
Limitations and common deployment problems
Always On VPN is powerful but configuration-sensitive. Most failures trace back to certificates, firewalls or a mistake in the ProfileXML rather than to the client itself.
| Symptom | Likely cause | Remedy |
|---|---|---|
| Error 809 on connect | IKEv2 ports blocked by a firewall | Open UDP 500 and 4500 or use SSTP |
| Error 13801 | Invalid or untrusted server certificate | Check the certificate chain and EKU |
| Tunnel connects inside the office | Trusted network detection not set | Add the internal DNS suffix to the profile |
| Large packets fail over IKEv2 | IP fragmentation dropped on the path | Enable IKEv2 fragmentation support |
Because profiles are deployed as XML, a single typo can silently break triggers or routes. Testing each profile on a pilot group of devices before broad rollout prevents costly helpdesk waves.
Capacity planning is another frequent gap. A single RRAS server can handle several hundred concurrent IKEv2 connections, but the real limit depends on CPU, encryption overhead and network throughput. Larger organizations place several gateways behind a load balancer and use geographic DNS so that users connect to the nearest site.
Finally, Always On VPN is still a network-level access model: once connected, a device can reach every subnet the routes allow. Organizations moving toward zero trust often combine it with strict traffic filters or replace parts of it with per-application access that checks identity for each connection.
A plain-language summary
A VPN is a private tunnel through the public internet. It links a laptop to the company network. Usually, people must start it by hand.
Always On VPN removes that step. The laptop notices when it is outside the office. It then opens the tunnel by itself. The user simply works as usual. Files, printers and internal websites stay reachable from home or a hotel. When the laptop comes back to the office, the tunnel closes again.
An example from practice
A regional insurance company with 800 field employees used a manual VPN client. Staff often forgot to connect, so laptops missed security updates and password changes for weeks. Helpdesk calls about expired cached credentials averaged about 60 per month.
The IT team deployed Always On VPN through Intune. A device tunnel with IKEv2 now gives domain controllers and update servers access before sign-in, limited by traffic filters. A user tunnel with split tunneling reaches file shares and the claims application, while video calls go directly to the internet.
After a three-month rollout, patch compliance for remote laptops rose to over 95%, and password-related calls dropped to a handful per month. Employees reported that they no longer needed to think about the VPN at all.