Jump to content
Sign in to follow this  
flyonthewall

Force Login

Recommended Posts

flyonthewall

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")

Share this post


Link to post
Share on other sites
flyonthewall

The better way to do that is set up AutoAdminLogon in the registry.

:)

yes, i was looking into that. we are using WebEx System Management, and this should install the software in the background anyway.

thank you for the reply.

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.