How do I setup Windows Server 2003 to default newly created domain users to be configured with a roaming profile path?
Let's say I have roaming profiles stored at the path \server\profiles. Is there some key or policy that I can set the default profile path to something like:
\server\profiles\$username
without me having to remember to configure the profile path for each newly created user manually?
For older systems Windows XP/2003 you can create a couple Template accounts and simply copy the templates. When you copy the accounts many of the fields will start with the copied values. In your templates use variables like %USERNAME% instead of the username.
Another option is to script account creation with Powershell or vbscript. Look around there are many good examples of scripts that will add accounts to the directory and set most options.
For Vista/Windows 2008 computers. If the computers that profiles will be roaming on are in a OU or group that you can apply a Group Policy too then you can set the Roaming Profile Path per computer.
Open up your group policy editor and go to here.
If you use command line tool like dsadd.exe then you can specify the generic variable for username field.
The special token $username$ (case insensitive) may be used to place the SAM account name in the value of a parameter. For example, if the target user DN is CN=Jane Doe,CN=users,CN=microsoft,CN=com and the SAM account name attribute is "janed," the -hmdir parameter can have the following substitution:
-hmdir \users\$username$\home