On 20/02/17 13:09, Gert Doering wrote:
> Hi,
>
> On Mon, Feb 20, 2017 at 12:44:37PM +0000, debbie10t wrote:
>> I am a little bit rusty with windows and I can't figure out how this is
>> happening.
>>
>> Computer is Windows 7 Home
>>
>> Openvpn 2.4.0 standard install + easyrsa
>>
>> Openvpn Interactive service = Auto, does start at logon OK
>> Openvpn Legacy service = Manual, does *not* start at logon OK
>> Openvpn service (openvpnserv2) = Manual, *Does* start at logon BAD!
>>
>> Can anybody please explain why this service is being started ?
>> I have run out of ideas ..
>
> No of these services should ever start at *logon* - iservice should start
> on boot, the others only if enabled in the services control panel.
>


I have tested this *many* times because I was so surprised!
openvpnserv2 is being auto started somehow.

Some details:

I have
/program file/openvpn/config/tapserver.ovpn (one config file)
/user/*/openvpn/config/ (ZERO files)

I double checked, I have *never* installed nssm on this machine!

OpenvpnServ2 registry is set to:
Start 0x03 (3) Manual
Type 0x10 (16) ?

Openvpn Interactive Service registry is set to:
Start 0x02 (2) Auto
Type 0x10 (32) ?

I have checked all HKLM/HKCU:/../Run +Runonce (that I know of)

I have not made any changes from the default openvpn-2.4.0 install
except to turn off openvpn-gui autostart at logon.  Everything else
is as default. Plus my single --dev tap --server config file (as above)

The Openvpn-Admin group has not been created as it is not required.

I understand this is not expected behaviour but I cannot work out
why it is being started.

My only assumption is that windows has screwed something up but ..
where to look ?

I have systernals autostart showing nothing unusual ..

UPDATE:

I have un+reinstalled openvpn-2.4.0 and the same behaviour occurs.
The only change I made from install is to rename the tap adapter
to coincide with the name used in the only config in
/program files/openvpn/config/tapserver.ovpn


After full reboot:
openvpnserv2 is starting.
There is a delay suggesting it is the "delayed auto-start" option being
used.  The service manager shows as openvpnservice (serv2) Manual




*** If any other user has access to win7 and they can
     test this for me I would appreciate your help.




Side note: after re-install the openvpn-gui is still set to *not*
run even though the installer is set to auto-load at user logon.
(registry not being updated during install?)

I am not in a rush to work this out, I was only using W7 to work
on #828 .. unfortunately, I cannot get access to the pc for a few
hours now (it is on facebook duty)


Thanks

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to