Page 1 of 1

Flash Drive

PostPosted: Fri Nov 05, 2010 3:29 am
by Modify
As I cannot find out how to do this elsewhere, I will ask here.
How can I make it so when I put in my flash drive it will enter text for me. For example, I would like to use it to log me into the school's computers. So basically it would have to type in "administrator" then [tab] then "(password)" and then [enter]. To me, this seems pretty basic, but could be very difficult, or impossible, does anyone know how I could do it? L. Spiro?
Thanks in advance,
-Modify

Re: Flash Drive

PostPosted: Mon Nov 08, 2010 5:39 am
by denispn
The easiest way would be by writing a script using AUTOIT and then create an autorun in your flash drive that would launch your script.

Re: Flash Drive

PostPosted: Mon Nov 08, 2010 11:18 pm
by Modify
denispn wrote:The easiest way would be by writing a script using AUTOIT and then create an autorun in your flash drive that would launch your script.

The problem I found with this, is to run the script you need to have autoit installed on the computer that is running it. Also, with autoit, I need to set an active window for the text to be typed into, and I don't know what I would set it as for XP login screen.

Re: Flash Drive

PostPosted: Tue Nov 09, 2010 12:03 am
by denispn
You don't need autoit installed. You can compile your script into a .exe.
Read about it again.
You can do whatever you want with autoit.

Tip: see "Send" command.

Cheers,
ctl3d32

Re: Flash Drive

PostPosted: Tue Nov 09, 2010 4:47 am
by denispn
What i don't know, is that if windows will allow autorun when in logon screen. You will have to test it.

Re: Flash Drive

PostPosted: Thu Nov 11, 2010 5:22 am
by Modify
Okay, I have the .exe running perfectly. I just can't get the flash drive to run the autorun when i put it in. I don't know what else to try, Theres only 2 files on the flash drive, and it's the autorun.inf and login.exe.

[autorun]
open=login.exe

Should work, right? Any tips?

Re: Flash Drive

PostPosted: Thu Nov 11, 2010 7:29 am
by denispn
Maybe your windows is configured to block autorun (windows 7 blocks by default). Unlock it if it's true. Again, i'm not sure if autorun is available in logon screen.