creating an automatic password entry script

Posted on 2010-03-31
Medium Priority
Last Modified: 2012-06-27

I have a small issue, I have installed on numerous laptops, K9 Web Protection and having to type in the password on each laptop takes too much time. The thing is, we need the software because it blocks access to lots of websites and other nasty things.

Is there a way that I can create some sort of script to automatically enter the correct password to re-enable internet access. I also would like to put this on a flash drive.

Question by:keytrain
  • 2
LVL 19

Accepted Solution

deroode earned 1000 total points
ID: 29315878
You could check out AutoITscript. This scripting language, which can be compiled too, is originally specifically designed to automate other programs.

You can for instance create a script that starts a setup program, clicks the "I Agree with the Eula" radio button, then clicks Next, Next, Finish.
Or start a program, wait for specific text to appear (enter password) and enter a password.


A similar tool from Microsoft is (or was) ScriptIt but with a lot less functionality



Author Comment

ID: 29318489
I will certainly look at it and try it out. Do you know if it has to be installed on each machine or if can I have it on my flash drive so that I can take around each of my learners laptops to be unlocked?

LVL 29

Assisted Solution

matrixnz earned 1000 total points
ID: 29640450
No Point Answer

No it doesn't, its basically a tool to create scripts, so basically you write the code and compile it to an executable.  The best method would be to select a Window and than select the field and type the password.  See an example below.

$VAR_Password = 'Your Password'
If WinExists('K9 Title Window') Then
  WinActivate('K9 Title Window','Name of the Password Control'); You can use the AutoIT Window Info Tool to find out the name of the control.

Open in new window


Author Closing Comment

ID: 31709418
Thanks guys

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question