Jump to content

Recommended Posts

Posted

Looking for advise on how to create logins for every child with their initials as their user name and password on Windows Server 2003 (standard). Without doing it the manual way!!

 

Was thinking their must be a way to import names via sims to AD some how?

 

p.s. Its a juniors

Posted

dsadd lets you add users from the command line, dsmod lets you alter existing users. Google for these to get how they are used then export the users from SIMS to a text file and a bit of creative use of Excel and wordpad will give you a batch file you can run.

Tip, it is VERY useful to stick their admissions number from SIMS into a field in active directory so that when you have two users with the same name or initials you have a definitive field to figure out which is which!

Posted (edited)

You want a spreadsheet with a formula to create names from their name columns and this:

 

Mikey Magic's Web Site - Active User Manager for Windows 2000 & 2003 Active Directory (AD)

 

You start with an export from Sims/CMIS/Whatever with columns like FirstName,LastName,YearGroup

 

Then add your own username column and make a formula to create the username from the other columns. Add extra columns fro passwords etc. You can create home folder paths by selecting all the users in a year > properties > and set home folder as \\server\share\yeargroup\%username%

Edited by ChrisH
  • Thanks 2
Posted
or you could use the utillity that ChrisH has posted, it looks easier than CSVDE!

 

I also posted a vbs file a couple of years ago. I never did get round to finishing the GUI. The app I linked to is great though I have used it the last 2 years for the new intake.

Posted (edited)
I also posted a vbs file a couple of years ago. I never did get round to finishing the GUI. The app I linked to is great though I have used it the last 2 years for the new intake.

 

I've just downloaded it myself to try, been looking for a decent (free) program for importing users. I've always used CSVDE (until I changed jobs to a CC3 network that is) which is OK once you've worked out how to format the CSV file, but this looks a whole lot easier and may come in handy if we decide to ditch CC3 next year.

 

I did have a go at writing my own VB.NET program based on a (probably the same) VBS script, but never got the time to finish it.

 

Mike.

Edited by maniac
Posted
Was thinking their must be a way to import names via sims to AD some how?

 

I really will sort out my SIMS-to-AD Python script Real Soon Now...

 

--

David Hicks

Posted
I really will sort out my SIMS-to-AD Python script Real Soon Now...

 

speak to penfold_99 he has a good vb script that works, I think he just needs some encouragement to document and release it ;)

  • Thanks 1
Posted

Use Dovestones ADBI too!

Though getting the CSV template to work was tricky but think that was down to column header orders..

Posted

Personally, MIS + Excel + Dsadd + mkdir + subinacl = all users created in 30 seconds! Love it :D

 

..OK admittedly it took me about a day initially to create the excel spreadsheet I use to take my SIMS export and create the dsadd commands but after that away you go.

 

You also will probably need to make use of another windows command line tool called "subinacl" which allows you to modify the security on folders. For some reason I found that if you use dsadd to create the user it doesn't create the home drive and seure it the same way it does if you use the manual way of user creation.

Posted (edited)

I have a vbscript pulls all the information needed for user creation (including home folder creation) from sims.net, this can then runs as a scheduled task every night, so when admin staff enrol a student their account will be ready the next day.

 

the script create users in the format

 

[intake year][firstname initial][middle initial][surname]

 

this normally stops the need for numbers at the end of the username.

 

Plus it has the added benefit of putting all the information into AD for moodle to integrate with SIMS.net

Edited by penfold_99
left out a good bit
Posted

Just out of curiousity is there a reason people use 3rd party tools to create users when Win2K3 server has a number of tools to create them relatively easilly for you?

 

I understand buying tools to do things the server doesn't but to do things the server does? Personally I quite enjoyed rying to figure out how to use "dsadd" and script my user creation, now it's easy and I feel like I learnt something.

Posted

There is also a vbs script in the AD-OD sandbox file. I used this to import my users into AD for the OD integration.

 

The script creates the users, builds the home dir path home drive letter and creates the My Documents folder and assigns the users permissions to that folder as well. It imports the script from a CSV file that is relatively easy to get from SIMS although i would love to do this automatically.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...