Lastlogondate not accurate

Welcome Forums General PowerShell Q&A Lastlogondate not accurate

This topic contains 4 replies, has 3 voices, and was last updated by

 
Participant
6 years ago.

  • Author
    Posts
  • #9117

    Participant
    Topics: 18
    Replies: 29
    Points: 3
    Rank: Member

    OK, here's a weird one....

    I've been using the 'lastlogondate' property quite a lot in my current environment.

    However, some of the users are logging on and for some reason, the lastlogondate property is not updating. (i.e. in some cases it's remained at the same date for almost a month, despite the users logging on daily).

    I absolutely love having this feature available but I really do need it to be reliable.

    Can anyone suggest what might be going wrong and where I should look first? Cached credentials are not used in our environment.

  • #9118

    Keymaster
    Topics: 13
    Replies: 4872
    Points: 1,843
    Helping HandTeam Member
    Rank: Community Hero

    You know that doesn't replicate, right? You have to check it on every DC? lastLogonTimestamp replicates (albeit low-priority with something like a 14-day possible window).

  • #9119

    Participant
    Topics: 18
    Replies: 29
    Points: 3
    Rank: Member

    Oops.

    I do now!

    Thanks Don!

    🙂

  • #9143

    Participant
    Topics: 0
    Replies: 132
    Points: 1
    Rank: Member
  • #9146

    Participant
    Topics: 18
    Replies: 29
    Points: 3
    Rank: Member

    Thanks Poshoholic,

    That's a really useful article.

    Appreciate your help.

    TG

The topic ‘Lastlogondate not accurate’ is closed to new replies.