I have local standalone Windows 2003 which is not part of any Active Directory. I have a list of users (containing UserName & Password per line) in a CSV file and contain about 300+ user accounts. I am looking for a VBS script that will loop through this file of users and perform the following tasks on the local windows 2003 servers. There will be two CSV files, one containing users account to be deleted or drop from windows server, and the other will contain users who needs to be created or not already existed on the server
Part A: Drop users from the Drop List
Drop/Delete users accounts & Permissions for those already existing on the server and listed in the Drop CSV file
Part B: Add new users who are not already on the servers
1) Create the UserName and Password, and set to never expire
2) Create Home Directory on a local share which already exists
3) Create a roaming profile for each user
Drop/Delete users accounts & Permissions for those already existing on the server and listed in the Drop CSV file
I know you may be thinking, what is the purpose for this. We have a local community education center and one windows 2003 server. No funds to upgrade to windows 2008. We train students for 3 months interval and need a way to automatically control access to the server for training resource delivered through Home Directory local share. Instead of manually creating 300+ students account every 3 months, and have to delete them is extraneous. The two user CSV files (Drop and Create) users, will be created by the administrator and place on the windows server to use by this VBS program which we can schedule on windows tasks manager.
I will really appreciate such a script or any better way to do the job above
Thank You Very Much for your help