Before getting started, you can check when your domain account password is going to expire. Just open the Command Prompt as administrator, type the following command and press Enter.
net user <USERNAME> /domain
In this example you can see when the password of the account was last set, when it expires and if the account is active, Along with other useful information about the account.
In order to set the password of a specific account not to expire you will need to open Active Directory and search for the account. Open the properties for the account that you want to update and click on the “account” tab, then tick the “password never expires” box.