domain account expires issue

xhope 221 Reputation points
2022-03-10T11:17:37.887+00:00

Dear experts,

when user try to change his domain account password, it shows "the user accounts has expired". when I check the account property, it shows never expire.

Thanks for your suggestion.

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 39,926 Reputation points
    2022-03-16T09:35:44.167+00:00

    Hello @RICK-0238

    The main reason why the error appears is because the Account has set some expiration date, you can check this in:

    Accessing to the Domain Controller, and opened AD Users and Computers, and right clicked on the user, choose properties, and click on the Account Tab, you will see at the bottom of the Tab an item called: Account expires. Your choices are "Never" and "End of". I suspect the user account was set to expire.

    Another possibility is that there is some AD replication issue for the account, for this:

    first run: dsquery user -name lisalu

    this will display the distinguishedName of the user.

    Use that value to run the following (replace the entries in italics with the corresponding names):

    repadmin /showobjmeta <DC_in_the_central_site_or_PDC> <distinguishedName_of_the_user>
    and
    repadmin /showobjmeta <Usual_Logon_DC_for_the_user> <distinguishedName_of_the_user>

    Further than that you test the health of your AD with the next commands:
    -> DCDIAG /V /C /D /E /s:yourdcname > c:\dcdiag.log
    -> netdiag.exe /v > c:\netdiag.log (On each dc)
    -> repadmin.exe /showrepl * /verbose /all /intersite > c:\repl.txt
    -> repadmin /replsum > c:\replsum.txt
    -> ADReplStatus
    -> dnslint /ad /s "ip address of your dc"

    Hope this helps with your query,


    --If the reply is helpful, please Upvote and Accept as answer--


1 additional answer

Sort by: Most helpful
  1. Thameur-BOURBITA 36,261 Reputation points Moderator
    2022-03-10T21:57:48.3+00:00

    Hi,

    Don't confuse between the password expiration and the account expiration.

    I invite you to follow the link below, it can help you to fix the expiration issue of this account:

    the-users-account-has-expired-on-windows-10

    Please don't forget to mark helpful reply as answer


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.