Solved

Create a VB Script

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
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…

821 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