Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

fuquaj

Members
  • Posts

    2
  • Joined

  • Last visited

Reputation

0 Neutral

About fuquaj

Personal Information

  • Location
    Panama City
  1. Thanks, Oaktech. I used a dsquery that I found online to check out everyone's lastlogon and lastlogontimestamp. Out of all of the users, only 6 had values for those two. I meant to update earlier, but I've been in a class. Thanks for pointing me in the right direction. Now, I just need to find out why they have those values in the GUI but not when I use dos.
  2. On a closed network, my administrator needed a script/automated tool to disable any users in Active Directory who had not logged in for 90 days. I checked the GUI to see the users that had not logged in recently. There were 5. I opened up a command window and showed him dsquery. When I ran "dsquery user", I got the expected results. I then ran "dsquery user -inactive 13" and only received 1 user as the result. I thought maybe the others were borderline on the 90-91 days, so I changed my query to "dsquery user -inactive 1" and still only received the 1 user for the result. After adding in the proper ou, dc, dn...I get the same results. I have looked on this site and researched online, but I cannot find anyone that has had this issue. I hope I am just doing something wrong, but this query is pretty basic. Could there be a server setting that is causing just the 1 user to be returned. I would think that it was a setting if I received no results. Thanks in advance for any help troubleshooting this.
×
×
  • Create New...