Portal Home > Knowledgebase > Troubleshooting > On-Going Issues > I can connect but I have an ERROR: Windows route add command failed. Help!

I can connect but I have an ERROR: Windows route add command failed. Help!

When you connect with OpenVPN with Windows Vista, 7 or 8, you can sometimes notice in your log files that you have the following error.

Sun Jun 23 16:34:54 2013 C:\Windows\system32\route.exe ADD 176.31.250.232 MASK 255.255.255.255 192.168.3.1
Sun Jun 23 16:34:54 2013 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Sun Jun 23 16:34:55 2013 ERROR: Windows route add command failed: returned error code 1
Sun Jun 23 16:34:55 2013 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.11.0.169
Sun Jun 23 16:34:55 2013 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Sun Jun 23 16:34:55 2013 ERROR: Windows route add command failed: returned error code 1

This error explains that the route supposed to be built between your computer and our servers could not be created because of administrative privileges issues. This is an important error because it means that even though OpenVPN thinks it's connected, you are not actually routed to our servers. Hence your IP and location will not be hidden.

In order to resolve this problem, you need to make sure that you run OpenVPN with administrative privileges (right click > run as administrator or properties > administrator privileges) or that you add your current Windows login user to the "Network administrators" group if you are using Professional or higher edition of Windows Vista, 7 or 8.

Once you have given sufficient privileges to your account or to OpenVPN software, try to connect again and the route.exe ADD execution in your log files should no longer return an error. Your IP and location are now fully hidden.
Related Knowledgebase Articles