Link to home
Start Free TrialLog in
Avatar of Erwin Krisch
Erwin KrischFlag for Canada

asked on

How to purge Active Directory in Windows 2003 Server?

We are running Windows 2003 Server on our network. In the past we used to use a .vbs script to create and delete multiple user accounts starting with the letters STUD (for student). For some reason, when using an alteration of the same script, we corrupted the system. Now when we want to create a STUD user account, the system tells us that the account already exists, but all the user accounts starting with STUD have been deleted.  Not only the above occurs, but all the users in Active Directory, whether starting with STUD or not, disappear. After rebooting the system everything is OK. The user accounts starting with STUD are gone and all the other user accounts that do not start with STUD appear and work properly.  However, after rebooting, the same problem persists when we want to create a new account under STUD. It only happens when trying to create an account that starts with STUD. Is there any way to purge Active Directory with accounts starting with STUD and leaving the other accounts alone?
Avatar of Jay_Jay70
Jay_Jay70
Flag of Australia image

Hi burgkunstadt,

sounds like an AD corruption, i would demote the server and the repromote to reinstall AD

Cheers!
ASKER CERTIFIED SOLUTION
Avatar of victornegri
victornegri

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Erwin Krisch

ASKER

Do you know if when trying to repair it might not work and with it detsroys the part of the Active Directory that is working? If so, it would destroy the accounts of the rest of our 800 students.
Avatar of victornegri
victornegri

You should always do a backup before attempting a repair. If the repair fails, you can always do an authoritative restore of the pertinent objects and (hopefully) your problem will be solved.