 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
damien.coraboeuf
Joined: 17 Jun 2010 Posts: 2 Country: Belgium |
|
Logon.exe opens the logon prompt and fails to fill password |
|
Hi,
I'm trying to test the logon.exe tool using a script like:
sleep 5s
c:\windows\logon.exe -p myPassword
I start the script, lock my station and wait.
The logon prompt is opened, I see the tool filling the password field and then this field is immediately erased...
I'm logged as Administrator on Windows XP SP2.
Do you see any reason why it fails?
Thanks,
Damien.
|
|
Thu Jun 17, 2010 7:42 am |
|
 |
damien.coraboeuf
Joined: 17 Jun 2010 Posts: 2 Country: Belgium |
|
|
Thu Jun 17, 2010 9:46 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
 |
 |
Actually, the logon.exe needs the keyboard layout of the logon prompt to be US (Qwerty). |
Yes and no, it emulates key presses by generating low level key press/release events using scan codes of QWERTY keyboard layout. See http://msdn.microsoft.com/en-us/library/aa928103.aspx for ideas. In case of some other keyboard layout you can feed it a password value which is literally different from the real password, but provides the same results. No changes needed in the layout. Here is what I mean, if your password is ZZZ and on your keyboard letter Z appears where letter Q is on the QWERTY keyboard, specify QQQ as the password value and it should work with our keyboard layout.
 |
 |
It seems also that the logon.exe does not accept uppercase characters. |
It should be able to handle special symbols and upper case characters of Latin alphabet (e.g QWERTY layout mapping). For such symbols/characters it first emulates key press of the Shift key, then key press of the character key, and then release of both keys.
|
|
Thu Jun 17, 2010 11:45 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|