Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix task order for lockout policy #16

Closed
wants to merge 1 commit into from

Commits on May 24, 2023

  1. Fix task order for lockout policy

    In windows server 2022, the default values for LockoutDuration and ResetLockoutCount are 30. 
    
    Setting lockout duration to a value lower than ResetLockoutCount will result in "Failed to import secedit.ini file from C:\\TEMP\\tmpxxxx.tmp" and "The parameter is incorrect" errors. (default applied here is 15)
    
    This brings Windows-2022-CIS inline with the order of Windows-2019-CIS which sets ResetLockoutCount first, then LockoutDuration.
    
    See this resolved issue: ansible/ansible#62594
    
    Signed-off-by: Shaawing <[email protected]>
    Shaawing authored May 24, 2023
    Configuration menu
    Copy the full SHA
    8aa9fd0 View commit details
    Browse the repository at this point in the history