Skip to content

Conversation

lvillani
Copy link

@lvillani lvillani commented Oct 2, 2025

Description

Set unlimited password age for local accounts on Windows.

Encountered this issue on a couple of long-lived Windows 10 22H2 VMs and tested the fix there. The fix should apply also to recent Windows 11 builds but haven't had a chance to test there yet.

Thanks to user @bogiord for providing the fix. I'm just packaging it up in a PR 😃

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have performed a self-review of my code
  • I have tested my code in common scenarios and confirmed there are no regressions
  • I have added comments to my code, particularly in hard-to-understand sections

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.

feat: Disable password expiration for Windows guests

1 participant