How to purge Active Directory in Windows 2003 Server?
Posted on 2006-04-19
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?