Creation of GP script for roaming profiles


I'm setting up a new server for a fire department that has about 60 firefighters on rotation.

All of these guys use only 4 PCs running Windows 7 Pro SP1 32bit with a roaming profile on Windows Server 2008 SBS (setup by me in 2008). Back then I manually added the roaming profile path "\\server\profileshare\username" to each user in the AD, however it was pretty time consuming, not to mention boring as hell.

I'm wondering if there's a way to setup a group policy in SBS server to automatically add EVERY user that I create in the Active Directory to the roaming profile path (where I simply change the actual username to a more generic %username%).

I have been searching for options for a couple of days now, but I couldn't find a straight answer on the internet.

Can any of y'all give me an idea?

Who is Participating?
arnoldConnect With a Mentor Commented:
IMHO, adding a subfolder to the as illustrated above if ..
If you want to separate the Profile from user folders, IMHO, it is best to have two separate shares \\domain\userprofiles and \\domain\userfolders

within each there will be subfolders with the username.
In the profile there might be two username and username.V2 if XP workstations are still in use.

The user of %username%\Profile presumably are a way to maintain the profile and folder within one.

Not sure the impact on said setup if windows XP exist whether you will have two username\profile and username.V2\profile ..
arnoldConnect With a Mentor Commented:
When creating a user use an existing USER and copy their settings.
There is also a user.vbs script that can help you create users.
look at

you can select all users and then select modify which will let you use the generic term as you outlined.
Alex_McGyverAuthor Commented:

Thx for yer reply. It's definitely a big step forward towards what I want to accomplish, but just to make sure I understand you correctly there is no GP that can do that right?
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

arnoldConnect With a Mentor Commented:
GP can control folder redirection.  Roaming profile via GP deals with restrictions/control but not an initial setting.

Certain things can be defined as default for user account creation.
You can then reference the template during the account setup.
Lionel MMConnect With a Mentor Small Business IT ConsultantCommented:
I have a very simple solution so I think I may misunderstand the question but just in case I haven't here is how I do it (see pictures). In AD users and Computers, I have one user setup, there are also templates (which I don't use), and use that user to "copy" user whenever I add another user and in the profile path there is a url that will auto create a folder based on the user's name (%username%). You may also find this link helpful although it address MUCH MORE than just what you are asking for.
To create a default user--the one you will copy in the future, the roaming user profile
    Open Active Directory Users and Computers.
    Click the domain and the OU where the user account resides.
    Right-click the user account for which to set a roaming profile, and then click Properties.
    Click the Profile tab, and then type the profile path information in Profile path. (Use the full path in each user account. For example, type \\Server\ShareName\%UserName%\Profile.)
Alex_McGyverAuthor Commented:
my apologies to everyone for this huge delay; I had a family situation.

I will accept all your answers since they all helped.

Thank you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.