Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#804 closed Bug / Defect (notabug)

OpenVPNService can't restart on boot

Reported by: maverick74 Owned by: Samuli Seppänen
Priority: major Milestone:
Component: Generic / unclassified Version: OpenVPN 2.4.0 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:
Cc: debbie10t@…

Description

Environment:
Windows 10 Home 64Bit

Steps to reproduce:

1.In "Services" set OpenVPNService to start "Automatically" on Windows Logon.
2.Reboot.
3.OpenVPNService started.
4.Go to "TaskManager?" > "Services" tab > Search for OpenVPNService > Stop it!
5.ShutDown? (not reboot)
6.Turn computer on.
7.OpenVPNService didn't start.

NOTE:This happens ONLY in this case! It does not happen if, for example, in 5. you reboot, instead of shutdown.

Change History (10)

comment:1 Changed 4 years ago by Samuli Seppänen

Owner: set to Samuli Seppänen
Status: newaccepted

I will try to reproduce this and report back.

comment:2 Changed 4 years ago by Samuli Seppänen

I followed the exact steps given in the report, but was unable to reproduce the problem on Windows Server 2012r2.

comment:3 Changed 4 years ago by maverick74

I, in the meanwhile, tested it in another system (this time in a 32Bit system) and i got the same result. I might test it in other computers if you wish.

what else can i do?

Tks

Last edited 4 years ago by maverick74 (previous) (diff)

comment:4 Changed 4 years ago by Samuli Seppänen

@maverick74: these are all Windows 10 systems, right?

comment:5 in reply to:  4 Changed 4 years ago by maverick74

Replying to samuli:

@maverick74: these are all Windows 10 systems, right?

Yes. (all upgraded from windows 7)

comment:6 Changed 4 years ago by maverick74

@samuli: If i can help in any way, say something...

Update: forgot to say that the 32Bit machine is not a Home Edition but a Pro (if this helps in anyway)...

Last edited 4 years ago by maverick74 (previous) (diff)

comment:7 Changed 4 years ago by Samuli Seppänen

comment:8 Changed 4 years ago by Samuli Seppänen

Cc: debbie10t@… added

I think debbie10t was able to reproduce this. It could be that Windows 10 is actually not powering off, but hibernating, and thus services that were shut down before, are still shut down after resume. If this is indeed the case, it is questionable if we should do anything about this, as this would be a (surprising) Windows feature, and all services, not just OpenVPN, would be affected.

I will have a look when I get access to a Windows 10 VM.

comment:9 Changed 4 years ago by Samuli Seppänen

Resolution: notabug
Status: acceptedclosed

I got confirmation that disabling "Fast start" in Windows solves this. So this is a feature in Windows, not a bug in OpenVPN.

comment:10 Changed 4 years ago by maverick74

I can confirm this as well. Disabling "Wind-Oze"'s Fast Startup does solve the problem.

Thank you

Note: See TracTickets for help on using tickets.