• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 201
  • Last Modified:

roaming profiles and multiple locations

I have three sites & a data center and would like to do roaming profiles.  I can replicate the the profile directories from the site servers to the data center server.  This will keep the data up to date.  But when a user logs in.  I would like them to us the share on the local server.  Is there a script to do this?

1 Solution
You can't do that with a script, but you should be able to do this with an environment variable.
On each machine that a user with a roaming profile might log on to, create a system(!) environment variable named, for example, ProfileServer.
Set this variable to the machine's name that is supposed to be the profile server for the site the machine is in; reboot.
In the user's profile, specify the path to the roaming profile as
(or whatever share/file structure you're using, it just needs to be identical on the servers.)
oBdA, is correct.  You cannot do roaming profiles with a script.  If your plan is to use the DC's as the profile server, then you just need to use %logonserver%\share.  Then the DC that they log into is the one they will get their profile from.  There is no need for the \\ while using the DC environmental variable.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now