Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Create a VB Script

Posted on 2011-02-11
4
Medium Priority
?
358 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
  • 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 2000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
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 …

916 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