I'm trying to follow the testing methodology described in the Terminal Server Capacity and Scaling document using the Terminal Services Scalability Planning Tools available with the Windows Server 2003 Resource Kit Tools
TBScript.exe is a script interpreter that can connect via RDP to a terminal server and execute scripts that emulate user interaction with the terminal server. The command line help for tbscript.exe suggests I should be able to provide the credentials used to connect to the terminal server.
Usage: (partial listing only):
tbscript.exe <script> [- options]
-s:server - The default server to use.
-u:username - The default username to use.
-p:password - The default password to use.
I run the following command (from a Windows Server 2003 machine):
.\tbscript.exe .\test.vbs -s:myserver.com -u:user -p:password
When I execute the tbscript.exe program with the required scriptname, server ip and credentials, I see an RDP window connected to my server with the username field populated but not the password field. The login never completes automatically and no subsequent scripts are run.
Has anyone ever used tbscript to run tests against a Terminal Server? Any help would be appreciated.
Is this computer on a domain? I haven't used tbscript, but sometimes I find when automating RDP logins, I have to do
-u:domain\username
in order to get it to work.