id summary reporter owner description type status priority milestone component version severity resolution keywords cc 399 Issue with register-dns in Windows 8.1 iceh Samuli Seppänen "Hi, I noticed an issue with register-dns in Windows 8.1. ""C:\Windows\system32\ipconfig.exe /registerdns"" needs to run as administrator in Win 8.1. Please note! Openvpn / OpenVPN is started as Admin user! I get a connect! I have an IP! Only register-dns fails. I get this logfile: --- Sat May 03 12:51:17 2014 Start net commands... Sat May 03 12:51:17 2014 C:\Windows\system32\net.exe stop dnscache Sat May 03 12:51:27 2014 C:\Windows\system32\net.exe start dnscache Sat May 03 12:51:27 2014 ERROR: Windows ipconfig command failed: returned error code 2 Sat May 03 12:51:27 2014 C:\Windows\system32\ipconfig.exe /flushdns Sat May 03 12:51:27 2014 C:\Windows\system32\ipconfig.exe /registerdns Sat May 03 12:51:30 2014 End net commands... --- I checked the source: in win32.c we have a function openvpn_execve(...) This calls CreateProcessW(...) a Win32 API method. Child processes are executed non elevated. Which is a problem. My conclusion: This needs to be fixed in Openvpn as Win8.1 needs admin privileges for ""ipconfig.exe /registerdns"". " Bug / Defect closed major release 2.5 Generic / unclassified OpenVPN 2.3.4 (Community Ed) Not set (select this one, unless your'e a OpenVPN developer) fixed