dsccommunity / SecurityPolicyDsc

A wrapper around secedit.exe to configure local security policies
MIT License
177 stars 53 forks source link

Still can't set the account lockout duration to infinite #198

Open jeremyhagan opened 1 month ago

jeremyhagan commented 1 month ago

Back in 2019 I reported that I couldn't set the account lockout duration to "infinite". This is done in GPO by setting to 0, but when you export the policy, the inf file has it as -1.

This was listed as fixed 4 years about. But the resource still doesn't work and the doco doesn't even acknowlege that the setting can be anthing but 1 - 99,999.

Is this supposed to work?