Cannot Install Windows Azure VPN Client After Uninstall
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.
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.
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
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.