Solved

Creation of GP script for roaming profiles

Posted on 2013-05-18
7
302 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 79

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 79

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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
LVL 25

Assisted Solution

by:Lionel MM
Lionel MM 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 79

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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
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). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
Suggested Courses

617 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