Solved

Create a VB Script

Posted on 2011-02-11
4
344 Views
Last Modified: 2012-05-11
Hi

I am the administrator for a school and they have asked me to redo the whole system over this weekend.
I would like to streamline a few things that never use to be in place.
I’m looking for a vb script that I can enforce via group policy to do the following for me.
I only need to create the user in AD and when the user logs in for the first time the script must do the following.

Assign him to a certain group (Student) and create a personal folder for him on the D(Data) drive in the Student folder to which only him and the administrator has access.

I would also like to set up roaming profiles for the students – so any help there would also be great.

We are running Windows SBS 2003

Thanks a lot
0
Comment
Question by:stevenvanheerden
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 22

Expert Comment

by:Larry Struckmeyer MVP
ID: 34878516
You should be able to do what you want with user templates.  Using the standard template as a beginning point, modify it to the settings you need, and apply that template to the student users when they are added to the domain.
0
 

Author Comment

by:stevenvanheerden
ID: 34879953
Thanks for the advice - what templates if i may ask....might sound stupid but i have never had to use templates before. would like to though...can you point me in the right way please?

thanks
0
 
LVL 22

Accepted Solution

by:
Larry Struckmeyer MVP earned 500 total points
ID: 34880748
When you add a user you are offered Standard - Power - Administrator - Mobile, iirc.  You can modify any of these, or create a new one based on the existing.  Do NOT modify, create a new one.  if it does not do what you want you can start over fresh.

Suggest you get one of the several books on administering SBS... it will  make your live easier.  Several are written by SBS MVP's.  Charlie Russell, Eric Neal, and other.
0
 

Author Comment

by:stevenvanheerden
ID: 34991760
thanks, came right with the templates....i'm just a bit use to doing everything manually - old school.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

752 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