How to: prevent password expiration domain wide

First of all what this post suggest is absolute no go for production environments, but at the same absolute must have for some training/test environments where you want to use the same static passwords all the time without pesky password expiration/change requests. This is one of the first things I do in my test environments (OK, maybe not first, but usually I do this right after first password change prompt 🙂 ). So to get rid of this in test environment just create new GPO and link it to domain (also not the best practice for production/real world, but were fitting for test lab use case), and set settings as depicted below:

That’s it – execute gpupdate and revert to your default password which won’t expire anymore with these group policies in place.

Leave a Reply

Your email address will not be published. Required fields are marked *