Getting Last Logon time for Computers in Domain as list with VBA

Last week, I need to find how many inactive computers in our Active Directory with computers name and last logon date. I can use this info various way after gather from our Active Directory.

There are lot of scripts about it in Internet but problem is which one should I use and how to! Also I need to export those computers as a text or csv file and how to move those computers in a Organization Unit in Active directory.

So I developed this application. I can gather/do  whole this.

Application has some setting like you can set a Day period and set DN location in Active directory for where those computers account will moved.

Also Application has two language support, Turksih and English.


Here the app.

P.S. : Zip file password is “ete”


source :


  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: