Solved

Create a VB Script

Posted on 2011-02-11
4
307 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 21

Expert Comment

by:Larry Struckmeyer MVP
Comment Utility
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
Comment Utility
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 21

Accepted Solution

by:
Larry Struckmeyer MVP earned 500 total points
Comment Utility
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
Comment Utility
thanks, came right with the templates....i'm just a bit use to doing everything manually - old school.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now