Automatically disable users who have never logged in
Most organizations use the same password for each newly created user, so it’s essential to disable — or better, delete — all users who have never logged in. Ideally, you want to disable or delete those users on a daily basis. (Read this for details about the options for cleaning up users who have never logged in.) However, if you don’t have time to manually perform this task each day, you have options to automate it.
Such an automation could be performed using PowerShell. You could also script it using FoxPro. Instead of spending a lot of time and effort trying to precisely perform a task that can be automated and updated if need be, why not look at the solution that lets you create the automation in seconds?
ADManager Plus is a power tool that provides built-in reports that dig deep into Active Directory. As you can see from the linked blog above, there is a built-in report that allows you, with a single click, to find users who have never logged in. Now, you can take that report and introduce automation. Because ADManager’s concept of automation is to leverage these built-in (and customized) reports as the foundation for actions to be performed.
Read the entire article here, Automatically disable users who have never logged in
via the fine folks at ManageEngine