Service openvpn interactive service failed to start при установке windows 7

Issue

Open VPN GUI shows the following error message when starting:

OpenVPN GUI
“OpenVPNServicelnteractive” is not started.
Tasks requiring administrative access may not work.

The obvious solution for this would be to manually start OpenVPN Interactive Service. However, this fails with the following error:

Windows could not start the OpenVPN Interactive Service service

Services
Windows could not start the OpenVPN Interactive Service service on Local Computer.
Error 1068: The dependency service or group failed to start.

After some further investigation, I found that the computer’s Network Connections didn’t have TAP-Windows Adapter v9 which is normally installed with OpenVPN GUI. Reinstalling OpenVPN or the TAP adapter separately didn’t make any difference. Installations would finish without errors, but TAP adapter was nowhere to be found, and OpenVPN Interactive Service would still fail to run.

Resolution

After further digging into Windows Device Manager I found that TAP-Windows Adapter v9 was present in there but in an error state. The issue was completely resolved by deleting the adapter from Windows Device Manager (along with its driver) and then reinstalling OpenVPN GUI.

Delete TAP-Windows Adapter v9

September 2019
Windows 10 Home 1903
Open VPN GUI

openvpn service interactive is not started

openvpn service interactive is not started

OpenVPN is without any doubt the best service out there and it is offering tons and tons of interactive features that would make it a perfect choice for any business or individual to have it for their usage. OpenVPN features are not the best thing about it, but its extensive security and safety make it worth considering for anyone who might be looking for a decent VPN service.

OpenVPN works out without any sorts of issues and that would work out perfectly for you. However, if on start you see a dialogue message stating “OpenVPNServiceInteractive” is not started. Here is how you can fix this.

1) Run as Administrator

There are some issues with the OpenVPN that might not be an actual error. There are some features and access requirements on the OpenVPN that need administrator privileges to be run. So, you will need to run the OpenVPN application as an administrator and that will work it out perfectly fine for you.

However, you might need to have the admin privileges and credentials to make it possible and that is what you need to figure out on your own, if you own them or you need to login using those, you will need to contact the administrator and get those credentials.

2) Change the Startup

Another thing that you need to be careful about while you are using OpenVPN and getting this sort of error message is that it is often set as startup Automatic (Delayed). So, you will need to open the services menu, locate the OpenVPN there, and check for its startup settings. It should not be delayed.

So, look out for the “OpenVPN Interactive Service” and change the startup type to Automatic. This should be fixing up the issue for you and you will never have to face this problem again. Once you do that, you will have to save the settings as well, and then restart your PC once. This is going to help you get away with the error message and not see it again while trying to use OpenVPN.

3) Re-install the VPN

Another thing that you will need to try out if nothing else has worked out for you so far, is to re-install the VPN from very scratch and that will make it perfectly work for you. Be mindful to try out the options above first and only after that you will be able to make it work.

So, you will need to make sure that you are uninstalling the VPN properly from your PC and then clear out the registry information as well. This registry information is crucial to the working of the software so clear it up and after that, you will need to restart the PC as well.

Once the PC has been restarted, you will need to install the latest version of the VPN application downloaded from the OpenVPN application and that will be the perfect thing that you can need to not see the error again.

Отвечу на свой вопрос. В папке куда установлен клиент OpenVPN есть файл INSTALL-win32.txt, где дано объяснение, почему нет отдельного сервиса для автоподключения VPN через сервис (службу). Коротко, с версии OpenVPN 2.5-beta1 есть теперь два сервиса:
1) OpenVPNServiceInteractive (openvpnserv.exe), который отвечает за OpenVPN GUI
2) OpenVPNService (openvpnserv2.exe), как раз отвечает за автозапуск, по умолчанию НЕ УСТАНАВЛИВАЕТСЯ установщиком OpenVPN клиента.
Этот сервис нужно устанавливать вручную:
1) Идем сюда: https://github.com/OpenVPN/openvpnserv2, качаем исходники
2) Компилируем openvpnserv2.exe запустив файл build.cmd. Для компилирования нужен msbuild.exe, который как я понял входит в состав Net Framework и еще куда-то. У меня как раз установлен Net Framework 4.8.
3) Получившийся файл openvpnserv2.exe (x86 или x64) я поместил в папку C:\Program Files\OpenVPN\bin
4) Далее нужно установить сервис, для этого надо воспользоваться программой installutil.exe, которая тоже входит в состав Net Framework. Синтаксис простой, из командной строки: installutil openvpnserv2.exe. После это, если зайти в управление службами (Win+R, service.msc), там появится необходимая нам служба OpenVPNService. Далее просто проверяем, чтобы тип запуска был Автоматический.
5) Заходим в редактор реестра, HKEY_LOCAL_MACHINE\SOFTWARE\OpenVPN, создаем строковый параметр autostart_config_dir, куда прописываем путь к папке, где лежать файлы конфигурации для подключения к VPN. В моем случае путь такой: C:\Program Files\OpenVPN\config-auto
Копируем в папку C:\Program Files\OpenVPN\config-auto необходимы файлы конфигурации.
Далее проверяем работу службы. Если все сделано правильно, то после перезапуска служба OpenVPNService автоматически подключит VPN.

Пишу по горячим следам, чтобы не забыть (может ещё потребоваться).

Иногда при установке OpenVPN на Windows 7 (в моём случае — 64-разрядная) происходит следующее. Установка проходит нормально, но подключиться к сети не получается, в конце лога выдаётся ошибка: All TAP-Windows adapters on this system are currently in use. При этом в диспетчере устройств в категории «Сетевые адаптеры» устройство TAP Windows Adapter V9 (виртуальный сетевой интерфейс, используемый для OpenVPN) подсвечено восклицательным знаком и в свойствах показывает ошибку проверки подписи файлов драйвера (точный текст, к сожалению, сейчас не воспроизведу).
В сети есть множество советов — от переустановки драйвера до отключения проверки подписи драйверов (последнее на x64 не работает и вообще не рекомендуется). Лично мне после часа мучений проблему удалось решить следующим образом:
1. На https://openvpn.net/community-downloads/ скачать установочный OpenVPN версии 2.4.7 (предыдущую версию — проблема была с 2.4.8) для Windows 7-8.1;
2. С помощью 7-Zip открыть скачанный файл как архив (в меню 7-Zip — «Открыть изнутри») и из папки $TEMP вытащил файл tap-windows.exe (драйвер для устройств TAP);
3. Запустить распакованный файл от имени администратора и установить драйвер. После этого в Диспетчере устройств статус поменяется на «Устройство работает нормально», восклицательный знак исчезнет — можно снова пробовать подключаться к сети.

Skip to content



Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Description

Hello, I’m using the latest version of OpenVPN v2.4.0 just released a few days ago. I’ve enabled the option «Launch on Windows startup» in OpenVPN GUI. Once I restart my computer I get the a messagebox

«OpenVPNInteractiveService» is not started.
Tasks requiring administrative access may not work.

Everything is working fine though…
I checked the mentioned service and it gets automatically started. Maybe Windows is starting the GUI and service in the wrong order. Is there any way to fix?

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как активировать windows 7 профессиональная 64 bit
  • Не удалось запустить windows возможно это произошло из за недавнего изменения конфигурации winload
  • Курсор мыши постоянно грузится windows 10
  • Галочки на рабочем столе windows 10 как убрать со значков
  • Где хранится dump windows