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