Forum Discussion

BennettFrost's avatar
BennettFrost
Iron Contributor
Apr 27, 2025

User account password never expire in Win 11 Home

Please are there commands for Command Prompt (or Power Shell) to set the password property of a local account to never expire that are being supported in Win 11 Home? By searching I only found commands around creating an account and changing its properties which are not supported in Win 11 Home.

I also found that Users are not in the Management Console and lusrmgr.msc is not supported either. It is possible to create accounts using the basic Control Panel possibilities, but the property of a permanent password is not included there.

I hesitate to use a third-party alternative lusrmgr.exe, maybe I should not...

3 Replies

  • Open a Command Prompt as an administrator and run the command `wmic UserAccount where “Name=‘username’” set PasswordExpires=false` to set the password to never expire.

     

  • Wutisngwu's avatar
    Wutisngwu
    Iron Contributor

    Set the local account password to never expire via CMD, or force disable password changes through the registry.