troubleshooting Question

need a script to check for stale computer accounts, disable them and move them to a specific ou

Avatar of mgmohiuddin
mgmohiuddin asked on
Scripting LanguagesWindows BatchVB Script
10 Comments1 Solution1220 ViewsLast Modified:
i have a lot of computers in my active directory which have been removed from the network but their computer accounts are still there. our organization is very scattered and i am told not to delete any record till i verify it properly. i found a few scripts which could do it form me in a minute but i want to do it in a controlled manner. if legitimate computers are deleted our user support guys are going to run around joining the computers to the domain and our locations are scattered. i need a script using which i want to create a list of around 50 computers a day which have not logged on for more than 90 days , disable them instead of deleting them and move them to s specific OU. once i move them i will retain them in this desabled state for one month more before i delete the accounts. appreciate if someone can help me develop a script of identifying 50 to 100 computers a day which are stale, disabling them and moving them to a specific ou
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros