Jump to content
Sign in to follow this  
tocheeba

Auto login to Windows using SEND commands & Dell KACE

Recommended Posts

tocheeba

We have Dell KACE managing all of our machines, which allows us to run scripts, programs, etc while the machine is logged off. I figured I would make a simple "auto login" script that would log the machine into Windows while sitting at the domain username and password field. However, it's not working. I'm new to AutoIT, but have made some basic scripts that work so far and this one seems pretty straight forward. I tell my KACE appliance to run the exe I compiled on the machine, but nothing happens (even with the blinking input cursor in the username field). While in Windows/notepad, it works - just not at the login screen. Is this some limitation in regards to AutoIT scripts?

Sleep(2000)
Send("pctech")
Send("{TAB}")
Send("XXX")
Send("{ENTER}")

Any ideas? Using our KACE appliance, it should run - so I'm not sure if it's KACE, or AutoIT.

Share this post


Link to post
Share on other sites
JLogan3o13

Why not just turn Auto Logon on in the registry, and then delete the key when you're done? A Google search of "auto logon registry" would get you started.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
tocheeba

That would work too - but would require a restart of the machine, right? I was looking for something simple that I could run when they were just sitting at the login screen and be immediate rather than having to do a reboot.

Share this post


Link to post
Share on other sites
User751139

I believe it's a one time reboot to take effect.

Share this post


Link to post
Share on other sites
HansonB
tocheeba, take a look at Logonexpert autologon tool, we use it to aulogon windows then automate updating file via FTP client using autoit

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  

×