Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disabling inactive AD accounts within Windows 2000 domain

Status
Not open for further replies.

Roeee

IS-IT--Management
Jul 31, 2002
110
GB
All,

I need some advice on how to routinely disable accounts which havent been used for X amount of weeks within a W2K AD environment.

My preferred route of performing this task is down the microsoft script / util route rather than a third party utility. One method of establishing the last time a user logs in is by querying the LastLogin attribute.

However [and unfortunately], I am aware that the LastLogin attribute within W2K is not replicated between DC's. This means any script I write has to query all DC's, collate the information and find the most recent data. This does not seem like the most appropriate and efficient method of finding the last time someone logged in.

I would expect this process is required by most AD environments and I am interested to see how it is performed elsewhere?? Can you advise?

Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top