| 1 | This FAQ entry was originally taken from [http://thread.gmane.org/gmane.network.openvpn.user/34867 this email thread]. |
| 2 | |
| 3 | ---- |
| 4 | |
| 5 | I installed openvpn to a wrong folder, then I reinstalled and installed it to the correct folder. Now I'm getting: |
| 6 | |
| 7 | {{{ |
| 8 | CreateProcess failed, exe=’D:\Lukas\Apps\personalVPN\bin\openvpn.exe’ cmdline=’openvpn—version’ dir=’D:\Lukas\Apps\personalVPN\bin’ |
| 9 | }}} |
| 10 | |
| 11 | How can that be fixed? |
| 12 | |
| 13 | ---- |
| 14 | |
| 15 | This happens because OpenVPN-GUI adds it's registry keys when it launches the first time (as an administrator) but never ever validates or changes them again. Basically OpenVPN-GUI is looking for openvpn.exe from the old location and gets confused. In the upcoming 2.4 releases this problem will be fixed, as openvpn-gui has it's own installer which should do a pretty good job at automatically sorting out this kind of problems. |
| 16 | |
| 17 | For now you can fix this by either removing OpenVPN-GUI's registry keys (HKEY_LOCAL_MACHINE\Software\OpenVPN-GUI) and running OpenVPN-GUI (as an admin), or by changing the value of the registry key which tells OpenVPN-GUI where to look for openvpn.exe. |