[THIN] Re: Setting Ts profile path and Home directory for mul tipl e users
- From: "Ziots, Edward" <EZiots@xxxxxxxxxxxx>
- To: "'fporras@xxxxxxxxx'" <fporras@xxxxxxxxx>
- Date: Thu, 18 Jul 2002 09:51:00 -0400
Why not use Tscmd.exe? I set the profile path via a script when I set the
users up for access. I love TScmd.exe it works such a charm. Only problem
with cusrmgr.exe that is bombs out when you are trying to set the dail-in
access, other than that it works a charm also.
tscmd Usage Information
tscmd <Server> <User> <Setting> [New Value]
Settings:
InitialProgram
WorkingDirectory
InheritInitialProgram
AllowLogonTerminalServer
TimeoutConnection
TimeoutDisconnect
TimeoutIdle
DeviceClientDrives
DeviceClientPrinters
DeviceClientDefaultPrinter
BrokenTimeoutSettings
ReconnectSettings
ModemCallbackSettings
ModemCallbackPhoneNumber
ShadowingSettings
TerminalServerProfilePath
TerminalServerHomeDir
TerminalServerHomeDirDrive
Here is my script in which I add people into my Softmed ESA system, I am
sure this will work for you also. All you need is the names of the users in
a .TXT file.
Code from Ctxusradd.bat
FOR /F "tokens=1,2,3,4,5 delims=," %%I IN (ctxusr.txt) DO CALL "ctxusr.BAT"
%%I %%J %%K %%L %%M
Code from ctxusr.bat
cusrmgr -u %1 -m \\YOUR-PDC_NAME -agg %2
tscmd YOUR_PDC_NAME %1 TerminalServerProfilePath %3
tscmd YOUR_PDC_NAME %1 ShadowingSettings 2
tscmd YOUR_PDC_NAME %1 ModemCallbackSettings 0
tscmd YOUR_PDC_NAME %1 BrokenTimeoutSettings 1
tscmd YOUR_PDC_NAME %1 ReconnectSettings 0
tscmd YOUR_PDC_NAME %1 TerminalServerHomeDir %4
tscmd YOUR_PDC_NAME %1 TerminalServerHomeDirDrive %5
The ctxusr.txt file will look like this.
Ntusername,Global Group to add user
to,TerminalServerProfilePath,TerminalServerHomeDir,TerminalServerHomeDirDriv
e.
For example.
eziots,CitrixGODS,\\server\profiles$\eziots,\\server\tshome$\eziots,T
Add each and every one of your users in this fashion and whamo, run the
script and its done. Should take you 1 hr to pre-populate this.
You will need cusrmgr.exe,tscmd.exe and administrator access. All you need
to do from here is add the following.
If you have questions email me directly at eziots@xxxxxxxxxxxx
HTH,
Ed
-----Original Message-----
From: Angus Macdonald [mailto:angus.Macdonald@xxxxxxxxxxxxxxxxxxx]
Sent: Thursday, July 18, 2002 09:16
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Setting Ts profile path and Home directory for mul
tipl e users
Look at Hyena then. The demo is free and it sounds like a one-off operation.
-----Original Message-----
From: Francisco Porras [mailto:fporras@xxxxxxxxx]
Sent: 18 July 2002 13:53
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Setting Ts profile path and Home directory for mul
tipl e users
Chad, the main issue is I need to aply it to 2000 users already created
Thanks
-----Mensaje original-----
De: Schneider, Chad M. [mailto:CMSchneider@xxxxxxxxx]
Enviado el: jueves, 18 de julio de 2002 14:42
Para: 'thin@xxxxxxxxxxxxx'
Asunto: [THIN] Re: Setting Ts profile path and Home directory for
multipl e users
Create a user template to create all users from. Set the settings in there
with the %username% variable.
-----Original Message-----
From: Francisco Porras [mailto:fporras@xxxxxxxxx]
Sent: Thursday, July 18, 2002 7:26 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Setting Ts profile path and Home directory for multiple
users
Hi:
After implementing a Citrix Metaframe XP farm we want to set the Ts profile
path and Home directory for every user in the Active directory. Do you know
the best way to do it automatically.
Thanks.
===================================
This weeks Sponsor:
triCerat, Inc
ScrewDrivers fxp: Self Configuring Printer Driver with Bandwidth Control
Learn more at:
http://www.tricerat.com/?page=products&product=sdfxp
===================================
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link.
http://thethin.net/citrixlist.cfm
===================================
This weeks Sponsor:
triCerat, Inc
ScrewDrivers fxp: Self Configuring Printer Driver with Bandwidth Control
Learn more at:
http://www.tricerat.com/?page=products&product=sdfxp
===================================
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link.
http://thethin.net/citrixlist.cfm
===================================
This weeks Sponsor:
triCerat, Inc
ScrewDrivers fxp: Self Configuring Printer Driver with Bandwidth Control
Learn more at:
http://www.tricerat.com/?page=products&product=sdfxp
===================================
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link.
http://thethin.net/citrixlist.cfm
===================================
This weeks Sponsor:
triCerat, Inc
ScrewDrivers fxp: Self Configuring Printer Driver with Bandwidth Control
Learn more at:
http://www.tricerat.com/?page=products&product=sdfxp
===================================
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link.
http://thethin.net/citrixlist.cfm
===================================
This weeks Sponsor:
triCerat, Inc
ScrewDrivers fxp: Self Configuring Printer Driver with Bandwidth Control
Learn more at:
http://www.tricerat.com/?page=products&product=sdfxp
===================================
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link.
http://thethin.net/citrixlist.cfm
Other related posts: