Forums

 
HomeHomeRoyal TS V 1.xRoyal TS V 1.xToolboxToolboxTASK: LeagalNotice W2k8, RoyalTS Automatic Logon workaroundTASK: LeagalNotice W2k8, RoyalTS Automatic Logon workaround
Previous
 
Next
New Post
2/4/2011 4:19 PM
 

The RoyalTS automatic logon do not work if the Server displays a Legal Notice prior to logon. This is verry annoying! I have discovered a work aound. The solution I use is running a loginscript in RoyalTS prior to logon. The logonscript will log you on automatically. Note: you have to tick "Enable Automatic Login" in RoyalTS and fill in correct username and domain for your RoyalTS connection, otherwise the script will not work with the script below. I have tried a few scripts I perfer AutoIT, just download it and install on the computer where you have RoyalTS installed, its free and works like a charm. AutoIt-script will run automatically on your computer without the need compling if AutoIT is installed. Link to AutoIT: http://www.autoitscript.com/

How to:
1. Create the Script and save, see code below. Example: AutoLogin.au3
1. Modify the script, e.g. password, wait, number of enters required. I have found that 5s is optimal. (Test, try)
2. In RoyalTS under Tasks Pre-Connection Tasks, make a new task, example "AutoLogin" for the script and choose the AutoLogin.au3.
3. Add Pre-Connection Task "AutoLogion" to your RoyalTS connection (under properties)
4. Connect and you will be automaticaly logged in!
     (Do not tick another program when logging in, be patient. If your connection is slow modify the wait time)
 

Remember to keep the script in a safe place! And Good Luck!    // LemmonDad

 

Autoit Script
____________________________________
 
; Sleep before executing enter enter
; This may need modification depending on the speed of you rdp connections.
Sleep(5000)
; Depending on connections modify the number of enters.
; Copy the no of enters required to log in.
Send("{ENTER}")
Sleep(250)
Send("{ENTER}")
Sleep(250)
; Enter you password here
Send("EnterYourPassWordHere")
Sleep(500)
Send("{ENTER}")
___________________________________
 

 

 
New Post
11/10/2011 6:37 PM
 

Great Post Johan,

I have tried this, and I just would like to add that you can use AutoIT to complie the .au3 script into .exe file that you can use directly in the Task.

Thanks,

 

 
Previous
 
Next
HomeHomeRoyal TS V 1.xRoyal TS V 1.xToolboxToolboxTASK: LeagalNotice W2k8, RoyalTS Automatic Logon workaroundTASK: LeagalNotice W2k8, RoyalTS Automatic Logon workaround


spacer
dummy