VB script for creating AD users in a OU

Posted on 2004-10-20
Medium Priority
Last Modified: 2010-04-12
I would like to create a VB script that has the ablity to create a users home folder with permisions for that user and the AD administrator for all Active Directory users In a specific OU.  I would also like it to create the users share name at the same time.

Can someone direct me or send me a sample to a VB script that can get me started?
Question by:InlinePlastics
  • 2
LVL 97

Expert Comment

by:Lee W, MVP
ID: 12363548
LVL 11

Accepted Solution

KaliKoder earned 1500 total points
ID: 12363653
Here it is, it does more than you have asked for, its very good for administering the sort of stuff you want. If you dont want all the extras, you can simply modify the scipt to only do what you want. Here it is!


Good Luck :-)

Expert Comment

ID: 12363687

also have a look at these http://www.microsoft.com/technet/scriptcenter/repository.mspx

hope it helps
LVL 11

Expert Comment

ID: 12363754
Here is another URL: http://www.winnetmag.com/Articles/ArticleID/22048/pg/1/1.html it uses a web interface and IIS. Not sure if you could apply that to your needs or not..

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In an Exchange Crossforest migration, the distribution groups can be a very complex operation that would cause loss of time, lots of issues and continued headaches if not solved in a timely manner. I had to do a similar project so I created a sc…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question