How to Set Up Windows 10 IKEv2 VPN: Step-by-Step
In this article
You can set up an IKEv2 VPN in Windows 10 using the built-in VPN client in about two minutes, provided you already have the server address, credentials, and any required certificate or pre-shared key from your VPN provider or network administrator. Windows 10 supports IKEv2 natively under the VPN provider list, so no third-party client is needed for a basic connection. This guide walks through creating the profile, entering the correct settings, connecting, and fixing the most common failures.
What You'll Need
- The VPN server address (a hostname or IP address) and the exact authentication type your provider uses: username and password, a pre-shared key, or a machine certificate.
- Your VPN username and password, if applicable.
- A pre-shared key (PSK) if your provider uses one; this is separate from your login password.
- A client certificate installed in the Windows certificate store if your provider requires certificate-based authentication.
- An active internet connection and permission to change network settings on the PC.
Step-by-Step
- Open Settings from the Start menu, then go to Network & Internet and select VPN in the left-hand list. Menu labels can differ slightly by Windows version and region, but the VPN page is the same place in Windows 10.
- Click Add a VPN connection.
- In the VPN provider drop-down, choose Windows (built-in). This is what enables the native IKEv2 option.
- In the Connection name field, type a name you will recognise, such as the provider's name or "Work VPN". This label is only for your own reference.
- In the Server name or address field, enter the exact hostname or IP address supplied by your VPN provider. Do not add "https://" or a port number here; the field expects only the address.
- In the VPN type drop-down, select IKEv2. If your provider specifically instructs you to use "Automatic", follow their instruction instead, but IKEv2 is the explicit choice for this protocol.
- In the Type of sign-in info drop-down, choose the method your provider requires: User name and password, Pre-shared key, or Certificate. Choosing the wrong one is the most common reason a connection fails immediately.
- Enter the username and password, the pre-shared key, or select the certificate as appropriate. If you choose certificate authentication, the certificate must already be installed in the correct store; Windows will not prompt you to import one here.
- Leave Remember my sign-in info checked if you do not want to retype the credentials each time, then click Save.
- Back on the VPN page, click your new connection and press Connect. You can also click the network icon in the taskbar, select the VPN entry, and connect from there.
- Confirm the connection is active: the VPN entry should show Connected, and the taskbar network icon will display the VPN indicator. Open a browser and load a page to verify traffic is flowing.
Common Mistakes
- Pasting the server address with a protocol prefix. Enter only the hostname or IP address, not "https://" or "vpn://".
- Mismatching the sign-in type. If your provider issues a pre-shared key, selecting "User name and password" will fail even if the password is correct.
- Using the wrong password field. The pre-shared key is not your account password; entering one in place of the other produces an authentication error.
- Forgetting the certificate. Certificate-based IKEv2 will not work until the certificate is installed and trusted on the PC.
- Assuming a saved profile is connected. Saving the VPN entry does not connect it; you must press Connect each session.
- Editing the wrong profile. If you have several VPN entries, open the one you just created and check its settings rather than a similarly named older profile.
Tips
- Keep the connection name short and specific so it is easy to identify in the taskbar network flyout.
- If your provider gives you both a hostname and an IP address, try the hostname first; it survives server IP changes.
- Test the connection on a different network if it fails at home; some routers block the ports IKEv2 uses.
- Record the exact authentication type and server address your provider supplied, so you can recreate the profile quickly if it is removed.
- Use the built-in Windows client rather than third-party tools unless your provider specifically requires its own app for additional features.
Troubleshooting
Work through these in order, simplest first.
- Restart the PC and try again. A reboot clears temporary network stack issues that can block a new VPN profile.
- Re-check the server address and authentication type by opening the VPN entry and selecting Advanced options or Edit. Compare every field against the provider's instructions.
- Confirm the internet works without the VPN. If the normal connection is down, the VPN cannot connect either.
- Try a different network. Hotel, campus, and some home routers block the ports IKEv2 needs. A mobile hotspot is a quick test.
- Check the certificate if you selected certificate authentication. Open the certificate manager and confirm the certificate is present and valid; an expired or missing certificate will fail silently.
- Remove and recreate the profile if settings appear correct but the connection still fails. This clears any corrupted saved state; you will need to re-enter the server address and credentials.
- Contact your VPN provider or network administrator with the exact error message. Some failures are server-side and cannot be fixed on the PC.
If none of that works, ask your provider whether IKEv2 is enabled on your account and whether they require a specific server hostname rather than a generic one.
Frequently Asked Questions
Does Windows 10 support IKEv2 without extra software?
Yes. The built-in VPN client includes IKEv2 as a VPN type, so you can create and connect to an IKEv2 profile without installing a third-party app.
What is the difference between the pre-shared key and my password?
The pre-shared key is a shared secret configured on the VPN server; your password is your user account credential. They are separate values, and the sign-in type you choose must match the one your provider uses.
Why does the connection fail right after I click Connect?
The most common causes are a wrong server address, a mismatched sign-in type, or a missing certificate. Recheck those three before changing anything else.
Can I use IKEv2 on a metered connection?
Yes, but Windows may treat the VPN as using metered data. Check the connection's data settings if you are on a limited plan.
Do I need to reinstall Windows to fix a broken VPN profile?
No. Removing and recreating the VPN entry is enough in almost every case; reinstalling the operating system is not a normal troubleshooting step for this.
Where do I find the server address my provider gave me?
It is in the setup instructions or account dashboard from your VPN provider or IT department. Windows cannot discover it automatically.