Solved

Create a VB Script

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

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Because virtualization becomes more and more common, and, with Microsoft Hyper-V included in Windows Server at no additional costs, and, most server hardware nowadays is more than capable of running a physical Small Business Server (SBS) 2008 or 201…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

785 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