I’ve a requirement to clean up old NT accounts that haven’t been logged into for a set period of time. I’ve run uststat.exe from the resource kit which does give the last logon time, but unfortunately interrogates the PDC & each BDC separately. In my case this gives me 6 different cases for each user (>2000 users). Not too helpful. Does anyone know of a utility that will merge these automatically leaving the last logon time only?
Alternatively, if I pull the usrstat.exe output file into excel, can anyone give me a macro that will do the same thing? Even just to change the username to xxxx if logon date > a certain date? This would then leave me with the required info.
Cheers.