Link to home
Start Free TrialLog in
Avatar of rubenhansen
rubenhansen

asked on

Several terminal service profile paths

hi,

i'm planning to implement 2003 AD throughout the group (7 locations).
p.t., we have 3 different citrix terminal service environments/terminal service profiles, and will retain this.

thus, i need is a way to set the path to the terminal servoce profile at user logon, as the logon script (kix) will be replicated throughout the AD enviroment. as far as i can see, this is not possible to set using kix, so i guess i need another vb script, that can be called (using shell or run in kix), to set the path.
Avatar of oBdA
oBdA

Hm? The path to the TS profile is defined in the user's properties in ADUC (in the Terminal Services Profile tab); why and/or what are you planning to do with a script?
Avatar of rubenhansen

ASKER

because:
- we have 3 different environments on 3 differents sites
- the users will have access to log on the all 3
- we also have 4-5 web applications, where authentication is checked in AD (userid/passw)
- it would simplify administration
- syncronise logins for users
- i want to maintain group control/overview, and delegate AD maintenance to branch offices

if we define this in the AD, only one server path to the terminal services profile can be used, but i want this to be dynamic, so the user don't have to download the profile from head office when loggin on to a terminal server at a branch office.

i could of course set up the profile in kix, but that's a lot of work... (menus, registry etc.)
If I understood you correctly, you have three TS that are located at three different locations, and for each one of those, you want a different roaming profile path? The easiest solution at the moment would then of course be to just work with local profiles on the TS itself. If you have one profile for each TS anyway, using roaming profiles doesn't offer much of a benefit.
If you indeed need roaming TS profiles, you can have a "dynamic" TS profile path, too.
Try the following (I've used a similar construction to create different profile paths for a combination of NT4/W2k TS). On your TS in location 1, create an environment variable (in the machine environment!), for example "ProfileServer", set it to the name of the server where the roaming profile for location 1 is stored. Do the same for location 2 and 3.
In your ADUC, set the TS profile path to \\%ProfileServer%\ProfileShare\%UserName% (assuming the profile share name is the same at all locations).
Depending on which TS your users now logon, the profile will be copied from the server defined in the TS's environment variable "ProfileServer".
i tried setting a system variable "ProfileServer", and defined in AD \\%ProfileServer%\profile, but i get the error message "the system cannot find the specified path".

after the user is logged on, i'm able to browse to the \\%ProfileServer% via Start | Run
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
well....that goes without saying...but i forgot!
after reboot, everything worked perfectly!

thanks!