- To export VPN connections on Windows 11, from the “%AppData%\Microsoft\Network\Connections” location, copy the “Pbk” folder containing the VPN settings.
- To import VPN connections, replace the “Pbk” folder on “%AppData%\Microsoft\Network\Connections” with the backup copy of the “Pbk” with the exported settings.
On Windows 11, you can export Virtual Private Network (VPN) connections, which you can import into another device, and in this guide, you will learn how.
Although setting up a VPN connection is a straightforward process, the ability to export and import settings can help to migrate the configuration to other devices faster. The only caveat is that Windows 11 doesn’t include an option to transfer these settings, but there’s a workaround that you can use.
In this guide, you will learn the steps to export and import VPN connections on Windows 11.
- Export VPN connections on Windows 11
- Import VPN connections on Windows 11
- Change VPN connection credentials on Windows 11
Export VPN connections on Windows 11
To export VPN connections on Windows 11, connect a flash drive, and use these steps:
-
Open File Explorer on Windows 11.
-
Copy the following path to the address bar and press Enter:
%AppData%\Microsoft\Network\Connections
-
Select the Pbk folder and click the Copy button from the address bar.
-
Open the location to export the VPN settings.
-
Click the Paste button from the command bar.
Once you complete the steps, the VPN connections will export to the flash drive (or network folder).
These instructions will export all the configuration settings, but it is impossible to export the account credentials. You have to add them manually with the steps below.
Import VPN connections on Windows 11
To import the VPN connections to another computer, connect the flash drive with the backup files, and use these steps:
-
Open File Explorer.
-
Click on This PC from the left navigation pane.
-
Open the flash drive.
-
Select the Pbk folder and click the Copy button from the address bar.
-
Copy the following path in the File Explorer address bar and press Enter:
%AppData%\Microsoft\Network\Connections
-
Click the Paste button from the command bar.
-
Click the “Replace the files in the destination” button.
After you complete the steps, the Virtual Private Network connections will transfer and become available from the “VPN” settings page.
It’s important to note that importing all the VPN connections from another computer will delete the previous connections in the destination device. Also, you need to re-enter your credentials manually.
Change VPN connection credentials on Windows 11
To add or change a VPN connection username and password information, use these steps:
-
Open Settings.
-
Click on Network & Internet.
-
Click the VPN tab.
-
Select the Virtual Private Network connection.
-
Click the Advanced options button.
-
Click the Edit button.
-
Confirm the username and password information.
-
Click the Save button.
Once you complete the steps, the VPN connections will now be available on the new Windows 11 device.