How to find Expired Users
Posted on 2006-11-27
I'm a Windows 2003 novice - paper MCSE on NT 4.0. I'm in Network Engineering now - and usually hang out over there. Hi ya'll.
Unfortunately, I have the responsibility of adding users to a domain which is used just for remote Internet Access through a company called iPass. In a nut shell, I usually SSH into the server (maintained by the server group) and use a "net user /add *" command line to add them.
Because of some security B@#$4i+, I've had to create an auditing process whereby I now have to go in and set the accounts to expire as soon as I hear of someone leaving the company.
For example, if I get a notice that John Doe is leaving the company on 12/31/2006, I'll enter the command:
net user jdoe /expire:12/31/2006. This will set his account to expire on that date. All good.
However, in January, if I want to run a report to see all the users who stil have accounts, but are expired, how can I do this? I don't see anything in the net user doc's and I don't see any options when looking at AT Users and Computers where there's a field for Account Expiration.