Skip to content

"Password Expired" #98

@Botspot

Description

@Botspot

Hey everyone. Sorry about this issue. I was not aware that by default, Windows requires you to change your password every 42 days for local accounts. This effectively breaks RDP connections (Remmina and FreeRDP) until you change the password, which you cannot easily do with RDP connections being declined.

To fix:

  1. Boot the VM without using RDP. Boot with the "Direct" view mode in GUI, or ~/bvm/bvm boot ~/win11 in a terminal.
    You should see this screen.
    Image
  2. Change the password as prompted.
    Image
  3. Edit BVM's config file to tell it the new password. The file is named bvm-config and it's stored in the win11 folder. (unless you named it something else) Now, RDP connections with Remmina/FreeRDP should work again.
  4. To prevent your new password from expiring 42 days from now, open an administrator command prompt in Windows, and run this command: net accounts /maxpwage:unlimited Full disclosure: Until 42 more days, I cannot 100% guarantee this works, but this site says it works.
  5. Continue using BVM as before.

I have added net accounts /maxpwage:unlimited to the list of commands that runs in Windows during its installation, but that change will only help new BVM users who are installing Windows after today. Everyone else needs to follow the workaround above.

Sorry for the inconvenience. Comment below if you need further help.
-Botspot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions