Cannot Install Windows Azure VPN Client After Uninstall

VPN Client

I installed a Virtual Network within Windows Azure and downloaded the 64-bit VPN client that has a configuration script that corresponds with your VPN device.

Windows Azure Resources


When you start the install process, Windows 8 prompts you for permissions. You need to select “more info” and then “Run anyway”


Everything installed fine and the VPN was created. However, when I ran the VPN it could not connect to the Windows Azure network I created. I tried a few times, rebooted the computer but still no luck. When I created the Virtual Network it came from a deployment script and the troubleshooting tips where to remove the Gateway from Windows Azure and recreate it.

However, when you delete a gateway and recreate one, you have to process the VPN configuration script again. Meaning, I need to download a new VPN script.

Once the gateway was finished creating, I went into the VPN Manager (Search -> VPN) and ‘deleted’ the VPN that the script created.

I downloaded the new script. Ran it. And this time, I could tell something was wrong right away. The powershell script did not execute like last time.

Windows 8 Networks

I went into my network icon on the notification bar and I did not see the DevTest-Network that was there before.

I ran the script again and no luck. I did it a few more times and it would not configure the VPN.

I opened a powershell prompt and ran the command Get-VpnConnection and it was not listed.

It must be the new gateway script. So I downloaded another one and still no luck.

I then used my other Windows 8 device and it worked. So no I know it is not the script but my main computer.

I started getting pretty fustrated since searches were coming up blank. “cant install vpn” ” windows azure vpn not installing” and a few more. Until I stumbled across an article about exporting VPN settings. These settings are located in C:\USERS\<name>\AppData\Microsoft\Network\Connections

Windows Explorer

Since the VPN script that comes from Windows Azure is GUID based, I saw a directory and CMP file that corresponded to the “first” VPN. So I deleted it, ran the new script and BANG! It installed and worked like a charm.

So, long story short. If you install a Windows Azure VPN script and then remove it and try to install another one and you cannot. Check out the Connections folder and remove the old files.

Leave a Comment


  • Benjamin Finkel

    Wow, thanks Joshua!

    I ran into exactly this same problem and your post solved it perfectly. Much appreciated!

  • Chris

    Should add Roaming in the folder path;
    C:\USERS\\AppData\Roaming\Microsoft\Network\Connections as seen in the screenshot…

  • Leah C.

    Thanks, saved me hours!

  • Yog


    I have followed your steps but still i am not able to successfully able to see the azure vpn icon in my system.
    My VPN Client size 201 KB.

  • Tracy

    This worked perfectly. Thanks for doing the research

  • ben becker

    banging my head the past couple nights trying to figure this one out, thanks a ton, this was my issue exactly!

  • Alfredo Rangel


  • Thomas

    Thank you so much, Joshua! I just spent hours troubleshooting, after finding your article the problem was solved in an instant.

  • Your email address will not be published. Required fields are marked *