Easy management

How to export and import VPN connections on Windows 10

You can export and import your VPN settings to another computer, and in this guide, you'll learn how to do this.

Import and export VPN settings on Windows 10

On Windows 10, you can add and remove VPN (virtual private network) connections very easily, but you won’t find an option to export existing connections that you can use to import settings onto another computer.

Although setting up VPN connection isn’t a difficult task, the ability to export and import settings can always speed up the process to configure the same connections on multiple computers, or when you want to move a VPN connection with specific settings to another device.

If you want to move VPN connections to another computer, there’s a workaround to export and import the settings.

In this guide, you’ll learn the steps to export and import VPN connections on Windows 10.

How to export VPN connections on Windows 10

To export your VPN connections on Windows 10, connect a removable drive to your device, and use these steps:

  1. Open File Explorer.

  2. Copy and paste the following path in the address bar and press Enter:

    %AppData%\Microsoft\Network\Connections
  3. Right-click the Pbx folder and select the Copy option.

    Export VPN settings on Windows 10
    Export VPN settings on Windows 10
  4. Open the location that you want to use to export the VPN settings.

  5. Right-click on the folder and select the Paste option.

Once you complete the steps, you can take the removable media to a different computer to import the settings.

In the guide, we’re using a removable drive to export and import VPN connections to another device, but you can use a network shared folder or any other sharing method.  

How to import VPN connections on Windows 10

To import the VPN connections to a Windows 10 device, connect the removable drive with the exported files, and use these steps:

Warning: Importing all the VPN connections from another device will delete the previous connections in the destination device.
  1. Open the removable drive.

  2. Right-click the Pbx folder and select the Copy option.

  3. Copy and paste the following path in the File Explorer address bar and press Enter:

    %AppData%\Microsoft\Network\Connections
  4. Right-click on the folder and select the Paste option.

    Import VPN settings on Windows 10
    Import VPN settings on Windows 10
  5. Click the Replace the files in the destination button. (This process will delete previously configured connections.)

After completing the steps, the VPN connections should be available in the Settings app. However, there’s not a way to export and import the usernames and passwords, as such you need to enter them manually.

How to change VPN connection username and password on Windows 10

To add or change a VPN connection username and password information, use these steps:

  1. Open Settings.

  2. Click on Network & Internet.

  3. Click on VPN.

  4. Select the VPN connection.

  5. Click the Advanced options button.

    VPN settings on Windows 10
    VPN settings on Windows 10
  6. Under the “Connections properties” section, click the Edit button.

    Edit VPN settings on Windows 10
    Edit VPN settings on Windows 10
  7. Complete the username and password information.

    Change VPN username and password on Windows 10
    Change VPN username and password on Windows 10
  8. Click the Save button.

Once you complete the steps, the VPN connection should be able to connect automatically without any additional steps.