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

Conversation

Shaawing
Copy link

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

Overall Review of Changes

A general description of the changes made that are being requested for merge

Issue Fixes

Please list (using linking) any open issues this PR addresses

Enhancements

Please list any enhancements/features that are not open issue tickets

How has this been tested?

Please give an overview of how these changes were tested. If they were not please use N/A

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]>
@frederickw082922
Copy link
Contributor

Thank you @Shaawing ! We have the fix order implemented!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants