How to Set Up IKEv2 VPN on Windows 8
In this article
To set up an IKEv2 VPN on Windows 8, you create a new VPN connection in the Network and Sharing Center, choose the VPN provider as the type, select IKEv2 as the VPN type, and enter the server address and your credentials. Windows 8 supports IKEv2 natively, so no third-party client is required as long as your VPN service gives you the server address, username, password, and any certificate or pre-shared key it uses. This guide walks through the built-in Windows 8 method, then covers the certificate step that most IKEv2 setups need and the fixes for the errors people hit most often.
What You'll Need
- A Windows 8 or Windows 8.1 PC with an active internet connection.
- Your VPN provider's server hostname or IP address for IKEv2 (often a specific endpoint, not the same as the OpenVPN or L2TP address).
- Your VPN username and password, or the certificate your provider issues for IKEv2 authentication.
- Administrator rights on the PC, because installing a certificate and changing adapter settings requires elevation.
- Any pre-shared key or server certificate file your provider supplies, saved somewhere you can find it.
Step-by-Step
- Open the Start screen, type Control Panel, and press Enter. Switch the view to Large icons or Small icons so the individual applets are visible. Menu labels can differ slightly depending on your Windows 8 edition and language.
- Click Network and Sharing Center.
- Click Set up a new connection or network.
- Select Connect to a workplace and click Next.
- Choose Use my Internet connection (VPN).
- In the Internet address field, type the IKEv2 server hostname your provider gave you. In the Destination name field, type a label you will recognise, such as the provider's name.
- Tick Remember my credentials if you want Windows to store the username and password, then click Create. If you prefer to enter credentials each time, leave it unticked.
- Return to the Network and Sharing Center and click Change adapter settings in the left pane.
- Right-click the new VPN connection and choose Properties.
- Open the Security tab. Set Type of VPN to IKEv2. Under authentication, choose the method your provider specifies: usually Use Extensible Authentication Protocol (EAP) with Microsoft: Secured password (EAP-MSCHAP v2) for username and password logins, or Use machine certificates when the provider issues a client certificate.
- If your provider uses a pre-shared key instead of certificates, select Use pre-shared key for authentication and paste the key exactly as supplied, including any punctuation.
- Click OK to save. If your provider requires a client certificate, install it before connecting: double-click the certificate file, click Install Certificate, choose Current User or Local Machine as instructed, and place it in the Personal store.
- Click the network icon in the system tray, select the VPN connection, and click Connect. Enter your username and password when prompted.
- Once connected, open a browser and check your public IP address to confirm traffic is routing through the VPN.
Common Mistakes
The most frequent failure is using the wrong server address. Many providers publish separate endpoints for OpenVPN, L2TP, and IKEv2, and pasting the general address into the IKEv2 field will simply time out. Check the provider's setup page for the exact IKEv2 hostname.
Another common error is leaving Type of VPN on Automatic. Windows may then negotiate a different protocol and fail against an IKEv2-only endpoint. Set it explicitly to IKEv2.
People also mistype the pre-shared key, especially when it contains similar-looking characters such as zero and the letter O. Copy and paste it rather than retyping.
Finally, installing a client certificate into the wrong store is a frequent cause of authentication errors. If the provider says Local Machine and Personal, follow that exactly rather than letting Windows pick a default.
Tips
Keep the VPN connection pinned to the Start screen so you can connect in one click. Right-click the connection in the Networks flyout and choose Pin to Start.
If you connect from behind a restrictive router or hotel network, IKEv2 can be blocked because it uses UDP ports 500 and 4500. Trying a different network is the quickest way to tell whether the problem is the VPN configuration or the local firewall.
Set the connection to reconnect automatically by opening the VPN connection's properties and enabling redial options on the Options tab, which helps on laptops that sleep and wake frequently.
Keep Windows updated through Windows Update. Windows 8.1 received several fixes for VPN negotiation, and running the current updates for your edition avoids known bugs.
Troubleshooting
Error 809 or a timeout. This usually means the server is unreachable or a firewall is blocking IKEv2 traffic. Confirm the hostname, try another network, and check whether your router has an IPSec or VPN passthrough setting that needs enabling.
Error 691 or repeated credential prompts. The username or password is wrong, or the authentication method on the Security tab does not match what the provider expects. Re-enter credentials carefully and confirm whether the provider wants EAP-MSCHAP v2 or certificates.
Error 13801 or certificate errors. The client certificate is missing, expired, or installed in the wrong store. Reinstall it into the store the provider specifies and confirm the certificate's validity dates.
Connection succeeds but no internet. Open the adapter properties, check that Internet Protocol Version 4 is set to obtain an address automatically, and confirm the provider is not requiring a specific DNS setting.
If that did not work, delete the VPN connection and recreate it from scratch, since a corrupted profile can cause persistent failures. Before deleting, note the server address and settings so you can re-enter them. If the problem persists across networks and a fresh profile, contact your VPN provider's support with the exact error code.
Frequently Asked Questions
Does Windows 8 support IKEv2 without extra software?
Yes. Windows 8 and 8.1 include a built-in IKEv2 VPN client, so you only need the settings from your provider.
Do I need a certificate for IKEv2?
It depends on the provider. Some use username and password with EAP-MSCHAP v2, others require a client certificate or a pre-shared key. Follow the provider's instructions for the authentication type.
Why does my connection drop when the laptop sleeps?
IKEv2 is designed to survive network changes, but Windows may not redial automatically. Enable the redial options in the connection's properties to reconnect after wake.
Can I use the same server address as my other VPN protocols?
Not usually. Providers often publish a dedicated IKEv2 endpoint, so use the address listed specifically for IKEv2.
Is IKEv2 faster than other VPN types on Windows 8?
IKEv2 is generally efficient and reconnects quickly after network changes, but actual speed depends on the server, your connection, and the encryption settings the provider uses.