Solved

Creation of GP script for roaming profiles

Posted on 2013-05-18
7
300 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 78

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 78

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
Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

 
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 78

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
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…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

756 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