Solved

Creation of GP script for roaming profiles

Posted on 2013-05-18
7
297 Views
Last Modified: 2013-06-03
Howdy,

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?

Thanks
0
Comment
Question by:Alex_McGyver
  • 3
  • 2
7 Comments
 
LVL 77

Assisted Solution

by:arnold
arnold earned 263 total points
ID: 39177738
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 spiceworks.com

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

https://www.google.com/search?q=powershell+user+creation+in+an+AD&ie=utf-8&oe=utf-8&aq=t
0
 

Author Comment

by:Alex_McGyver
ID: 39177977
Arnold,

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?
0
 
LVL 77

Assisted Solution

by:arnold
arnold earned 263 total points
ID: 39177996
GP can control folder redirection.  Roaming profile via GP deals with restrictions/control but not an initial setting.
http://technet.microsoft.com/en-us/library/cc781862%28v=ws.10%29.aspx

Certain things can be defined as default for user account creation.
http://www.trainsignal.com/blog/windows-server-2008-active-directory-users
You can then reference the template during the account setup.
0
Promote certifications in your email signature

Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

 
LVL 24

Assisted Solution

by:lionelmm
lionelmm earned 87 total points
ID: 39179035
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.)
Roaming-Profile.jpg
0
 
LVL 77

Accepted Solution

by:
arnold earned 263 total points
ID: 39179444
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 ..
0
 

Author Comment

by:Alex_McGyver
ID: 39217143
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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

864 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

22 Experts available now in Live!

Get 1:1 Help Now