Win-acme: Error NotV2SupportedException

Created on 29 Jul 2017  路  2Comments  路  Source: win-acme/win-acme

I used letsencrypt-win-simple.V1.9.4.zip and got the Error NotV2SupportedException below.
I ran letsencrypt under CMD administrator mode.
No letsencrypt Task Schedule or HKCU\Software\letsencrypt-win-simple was created.
Certificate was successfully generated.

Creating Task letsencrypt-win-simple httpsacme-v01.api.letsencrypt.org with Wind
ows Task scheduler at 9am every day.
Error NotV2SupportedException {Message="Task Scheduler 2.0 (1.2) does not suppor
t setting this property. You must use an InteractiveToken in order to have the t
ask run in the current user session.", MinimumSupportedVersion=V1, Data=[], Inne
rException=null, TargetSite=Void set_RunOnlyIfLoggedOn(Boolean), StackTrace="
at Microsoft.Win32.TaskScheduler.TaskSettings.set_RunOnlyIfLoggedOn(Boolean valu
e)
at LetsEncrypt.ACME.Simple.Program.EnsureTaskScheduler()
at LetsEncrypt.ACME.Simple.Program.ScheduleRenewal(Target target)
at LetsEncrypt.ACME.Simple.Program.Auto(Target binding)
at LetsEncrypt.ACME.Simple.Plugin.Auto(Target target)
at LetsEncrypt.ACME.Simple.ManualPlugin.HandleMenuResponse(String response, L
ist1 targets) at LetsEncrypt.ACME.Simple.Program.HandleMenuResponseForPlugins(List1 target
s, String command)
at LetsEncrypt.ACME.Simple.Program.Main(String[] args)", HelpLink=null, Sourc
e="Microsoft.Win32.TaskScheduler", HResult=-2146233088}
Press enter to continue.

Most helpful comment

Just want to give a bit thanks to @WouterTinus for taking charge here and cleaning house. I'm very glad to see some activity in this project again, as we rely on it for a fair number of client servers. I'll be testing out 1.9.4 later this week as we've been using the custom-compiled version linked in one of the issues here for renewing SAN certs via scheduled task.

All 2 comments

That's a pretty serious bug, so I rolled out a new beta for you to try. Turns out I set a flag which only works on older versions of Windows.

Just want to give a bit thanks to @WouterTinus for taking charge here and cleaning house. I'm very glad to see some activity in this project again, as we rely on it for a fair number of client servers. I'll be testing out 1.9.4 later this week as we've been using the custom-compiled version linked in one of the issues here for renewing SAN certs via scheduled task.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SDedik picture SDedik  路  4Comments

WouterTinus picture WouterTinus  路  3Comments

Michael-the-Great picture Michael-the-Great  路  4Comments

AHTUxPK picture AHTUxPK  路  3Comments

rickster2 picture rickster2  路  3Comments