Here is a script that I use with cusrmgr.exe and tscmd.exe to populate my NT 4.0 domain with user account information and then update the terminal services specific information. Just need to add the specific information in the ctxusr.txt file. CTXUSR.txt ( Format) See if ti works for you in Win2k. asingh (Usrname),RIHCTESA (Global Group they will be assigned to for application),\\lscitrix\profiles\asingh (Terminal services profile directory) Ed ctxusradd.bat (Code) REM This batch script shows how to take two parameters from a .txt file REM and have them inputed into a batch script that will loop and update REM the specific groups in which users need to be apart of, along with REM there terminal services specific settings. FOR /F "tokens=1,2,3 delims=," %%I IN (ctxusr.txt) DO CALL "ctxusr.BAT" %%I %%J %%K ctxusr.bat ( Code) cusrmgr -u %1 -m \\PDCNAME <file://\\PDCNAME> -agg %2 tscmd RIPDC2 %1 TerminalServerProfilePath %3 tscmd RIPDC2 %1 ShadowingSettings 2 tscmd RIPDC2 %1 ModemCallbackSettings 0 tscmd RIPDC2 %1 BrokenTimeoutSettings 1 tscmd RIPDC2 %1 ReconnectSettings 0 Sincerely, Ed -----Original Message----- From: Boatman, Dave [mailto:Dave.Boatman@xxxxxxxxxxxxxx] Sent: Tuesday, July 09, 2002 11:20 To: 'thin@xxxxxxxxxxxxx' Subject: [THIN] Scripting - some pointers please. Windows 2000 AD I'm like to create a bunch of new terminal server users into a specific OU - I'd like to do this with a script... I'd also to pre-populate the terminal services profiles tab with user profile (\\server\profile\%username% ) and the terminal services home directory "connect X to \\server\home\%user% " . I'd seen examples where the data has been pulled from a CSV file.. so I can get someone else to pre-populate something like an excel spreadsheet. - an idea which I'm very keen on ! I'm sure this must have been done 100 times before but I can't find anything about adding values to the terminal services profile tab. Can someone suggest : a website ? the best technology for scripting this in - Vbscript / adsi / Kix ? is anyone willing to share a script with me ? or point me in the right direction for adding information in the tab. ? Sorry .. all very new for me this scripting stuff. BM__MailAutoSig Thanks Dave Boatman *********************************************************** This message is confidential and intended for the exclusive use of the addressee(s) only and remains the property of Exchange FS Group plc. You should not disclose its contents to any other person. If you are not the intended recipient please notify the sender named above immediately. Registered Office: Munro House, Portsmouth Road, Cobham, Surrey, KT11 1TE. Registered in England No. 2596452 ***********************************************************