creating an automatic password entry script

Hi,

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.

keytrainAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

deroodeSystems AdministratorCommented:
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.

http://www.autoitscript.com/

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

http://technet.microsoft.com/en-us/library/cc723493.aspx


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
keytrainAuthor Commented:
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?

Thanks
0
matrixnzCommented:
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.

Cheers
$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.
  Send($VAR_Password)
  Send('{Enter}')
EndIf

Open in new window

0
keytrainAuthor Commented:
Thanks guys
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Batch

From novice to tech pro — start learning today.