WTS example
Top  Previous  Next


[Settings_Begin]
BatchSettings.Delimiter=TAB
Account.FullName.Col=1
SET username=%col2%
Account.Password.Col=3
BatchSettings.MarkerCol=4
Account.Description.Col=6
account.Expires=2005-12-22
[Settings_End]

[Machines_Begin]
\\WTTST      NT PDC    
[Machines_End]

[Batch_Begin]
Data.Loop   
 Account.Create %username%   
 WTS.UserConfig.SetProperty %username%,InitialProgram,c:\program\Myprogram.exe
 WTS.UserConfig.SetProperty %username%,WorkingDirectory,c:\workingdir   
 WTS.UserConfig.SetProperty %username%,InheritInitialProgram,No
 WTS.UserConfig.SetProperty %username%,AllowLogonTerminalServer,Yes   
 WTS.UserConfig.SetProperty %username%,TimeoutSettingsIdle,30   
 WTS.UserConfig.SetProperty %username%,DeviceClientDrives,Yes   
 WTS.UserConfig.SetProperty %username%,BrokenTimeoutSettings,Disconnect
 WTS.UserConfig.SetProperty %username%,TerminalServerProfilePath,%servername%\PROFILES\WTS   
 WTS.UserConfig.SetProperty %username%,TerminalServerHomeDir,%servername%\users\%col2%
 WTS.UserConfig.SetProperty %username%,TerminalServerHomeDirDrive,F
Data.Endloop   
[Batch_End]

[Data_Begin]
   Steve   jk34+da   
   Keith   h-jer032   
   Ann   j3.z4jkl   
   Clara   kj347/1   
[Data_End]