DEV Community

Cover image for Disable password expiration in Windows
Sergio Peris
Sergio Peris

Posted on • Originally published at sertxu.dev

Disable password expiration in Windows

Some Windows installations have configured by default a password expiration of 42 days, if you want to disable it you might follow the next steps.

First, we need to run the lusrmgr.msc tool, this will allow us to edit local users configurations.

Next, we click on Users, and right click on the user we want to change its configuration and select Properties.

In the General tab, check the box that states Password never expires and save the changes.

Now the password will never expire. You can check again the checkbox any time if you want to enable password expiration again.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay