Skip to content

Conversation

lvillani
Copy link
Contributor

@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.
Tested also on a clean Windows 11 25H2 VM.

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

Copy link
Contributor

@philclifford philclifford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a little conflict resolution.

You might like to add a trailer to your commit message to reflect your expressed thanks to Bogdan.

@lvillani lvillani force-pushed the windows-account-password-never-expire branch from d79ca5f to c7c5688 Compare October 18, 2025 09:50
@lvillani lvillani force-pushed the windows-account-password-never-expire branch from c7c5688 to 6376c7d Compare October 18, 2025 09:51
@lvillani
Copy link
Contributor Author

Rebased, solved conflicts and added a trailer to the commit message. I also had the chance to test these changes on Windows 11 25H2 (I have updated the description to match).

@philclifford philclifford merged commit 2311b95 into quickemu-project:master Oct 20, 2025
6 checks passed
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

2 participants