We've always achieved this using a Group Policy. There are several on http://thethin.net/tsdownload.cfm that have the Profile path included in them. The other way you could do it is set it via a script in the usrlogon.cmd file and use the Gettype utility(also available at the url above) to figure the OS version and put the profile in the proper directory. Regards, JK -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On Behalf Of Paul DeHaan Sent: Monday, May 12, 2003 2:56 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Applying TsProfilePath via TSCMD with Variables This doesn't address how to change multiple paths, but thought it might be helpful. In my environment, we still have an NT 4.0/MF1.8 farm and a Win2k/MF XP farm. One NT user account needs to be able to access both systems. If you have a central profile server, most likely after the user logs into Win2k they will have problems logging into NT 4.0 with the same profile. To get by this, I have the following in the TS Profile path for all my users "\\%COMPUTERNAME%\profiles$\default.man" No matter what server or OS the user hits for a published app they always take the default mandatory profile that is setup on that particular server. No worries of profile corruption either unless it happens to the main one. Of course this may not work so nicely if you are using roaming profiles. HTH, Paul >>> ctxrulez@xxxxxxxxxxx 05/12/03 01:53PM >>> We have several different Citrix farms located around the world and managed by different administrators. And, some of those farms have NT TSE and some have 2000. Also, we have Citrix users that are also server administrators on other 2000 servers. So that we can keep the profiles closer to the physical servers, keep the different os's from corrupting the profiles, and allow server administrators a completely unlocked down environment on 2000 non-Citrix systems, we want to implement profiles with variables. Then, we'll set system variables on the servers to maintain different profiles for the different environments. FYI: Our userids are in multiple NT4 domains. So, we actually want %profilets% to be in the TSProfilePath. We are also thinking about doing the same thing for the TSHomeDirectory. While I looks like TSPROF could work for the profile path, I haven't seen where it could also do the home directory. ADDUSERS looks promising, but I cannot seem to get it to update an existing user account. So, the search goes on. -----Original Message----- From: Parker, Dennis [mailto:Dennis.Parker@xxxxxxxxxx] Sent: Monday, May 12, 2003 1:35 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Applying TsProfilePath via TSCMD with Variables Perhaps I am missing the boat on this and feel free to tell me if I am....but... If you are setting the profile path for a list of users, you probably already know the path to the profile directory, and then the only thing that changes is the username, correct? I use this (somewhat modified for security reasons) line in my setup script: \\PROFILESERVERNAMEHERE\users\termserv\newuser\tscmd %server% %newusername% TerminalServerProfilePath \\PROFILESERVERNAMEHERE\users\termserv\Profiles\%newusername% (note this probably wraps, but it really is all on one line) Where %server% is set to the PDC for the NT4 Domain of the new user being created (we have more than one domain) and %newusername% is set to the username of the account being modified. So, perhaps, you could create a text file with a list of usernames, say name it USERS.TXT Then you would use a simple FOR /F loop to make the change to each users profile...for example: FOR /F "eol=;" %%l in (C:\USERS.TXT) DO \\PROFILESERVERNAMEHERE\users\termserv\newuser\tscmd MYPDC %%l TerminalServerProfilePath \\PROFILESERVERNAMEHERE\users\termserv\Profiles\%%l (again, the above line will probably wrap) Hope this helps. Dennis Parker, MCSE, CCA Senior Systems Analyst Fiserv EFT 4550 SW Macadam Ave, Ste 100 Portland, Or. 97239 Direct: 503-274-6785 Fax: 503-274-6619 _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ******************************************************** This Week's Sponsor - Emergent Online EOL's Universal Printer new Features include: Network Printing, Pagestreaming, 2400 DPI. No Client Software Required! http://www.go-eol.com/ ********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm ******************************************************** This Week's Sponsor - Emergent Online EOL's Universal Printer new Features include: Network Printing, Pagestreaming, 2400 DPI. No Client Software Required! http://www.go-eol.com/ ********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm ******************************************************** This Week's Sponsor - Emergent Online EOL's Universal Printer new Features include: Network Printing, Pagestreaming, 2400 DPI. No Client Software Required! http://www.go-eol.com/ ********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm