Finding out when your domain password will expire

To determine when the password for your Active Directory user account will expire, open a command prompt window and type the following command:

net user %USERNAME% /domain

The output of this command will span several lines, so look for the line that starts with "Password expires" and you can see the exact day and time when your domain password will expire.

If you have feedback concerning this tip, please email me. And be sure to check out my website!

About The Author

7 thoughts on “Finding out when your domain password will expire”

    1. You may be using PowerShell, type cmd in there to open Command Prompt within it or open a different cmd window then run the command.

  1. You can also pipe the output to findstr to limit the output. Example:
    net user %username% /domain | findstr “Password expires”

  2. If you are getting “The user name could not be found” your account may not be a local account not a domain account. So omit the ‘domain’ part of the command – “net user %USERNAME%”

  3. I keep getting the message that “the specified domain either does not exist or could not be contacted”, so any ideas on what I should do now?

Leave a Comment

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top