Jump to content

Force Login


Recommended Posts

With the software we are using to install over 80 users w/new software, we need to force a login to start our script.

Is there a Send("{ALT+CRLT+DELETE}") ??

We will logon to the each user as admin.

Thank you for any assistance.

;
; Sage Install
;

Run ("cmd")
WinWaitActive ("C:\WINDOWS\system32\cmd.exe")
Send ("pushd \\server\apps\vbscripts\{ENTER}")
Send ("dir{ENTER}")
Send ("tuestest.bat{ENTER}")
WinWaitActive ("Sage MAS 500 Client Setup", "Welcome to the Sage MAS 500 Client Setup Wizard")
Sleep (5000)
Send ("!n")
WinWaitActive ("Sage MAS 500 Client Setup", "Sage MAS 500 End-User License Agreement")
Send ("{UP}")
Send ("!n")
WinWaitActive ("Sage MAS 500 Client Setup", "Please enter your information")
Send ("servername")
Send ("{TAB}")
Send ("servername")
Send ("!n")
WinWaitActive ("Sage MAS 500 Client Setup", "Enter the name of the SQL Server for Sage MAS 500 Client")
Send ("server")
Send ("{TAB}")
Send ("sage_app")
Send ("{TAB}")
Send ("sage_pl")
Send ("!e")
WinWaitActive ("Sage MAS 500 Client Setup", "Load Desktop on startup.")
Send ("{SPACE}")
Send ("!n")
WinWaitActive ("Sage MAS 500 Client Setup", "Choose the setup type that best suits your needs.")
Send ("!n")
WinWaitActive ("Sage MAS 500 Client Setup", "Click Install to begin the installation.")
Send ("!I")
WinWaitActive ("Sage MAS 500 Client Setup", "Installing Sage MAS 500 Client")
WinWaitActive ("Sage MAS 500 Client Setup", "The Setup Wizard has successfully installed Sage MAS 500 Client.")
Send ("!F")
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...