Author |
Message |
actmnophn
Joined: 19 Mar 2008 Posts: 6 Country: United States |
|
:edit: *fixed* logon.exe not working |
|
I had fast user switching turned off. but turned it back on and forgot so that was the problem.
fixed :)
my bad. Great program by the way.
|
|
Wed Mar 19, 2008 2:44 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Thanks for the status update. And by the way a cool use of the auto-run feature. I've never heard of anyone using USB drive to unlock a PC. Keep that drive out of bad people :)
--------------
Hello, I am relatively new to this forum. Been lurking for a while though.
I found the logon.exe program and it seems to be exactly what I needed, except that I can not seem to get it working right.
Does it need to be run by a specific program? I tried running it with autorun of my usb drive using USBDLM which is a service that can autorun a program on insertion of a specific drive. I set it to open "c:\logon.exe -u myuser -p mypass" and nothing is happening. this seems like such a simple program how can I be messing up and doing it wrong?
|
|
Wed Mar 19, 2008 2:55 pm |
|
 |
actmnophn
Joined: 19 Mar 2008 Posts: 6 Country: United States |
|
|
|
thanks for posting the original message I did not mean to erase it. :)
I use it for a computer that is not connected to the internet, so no concern of someone stealing the usbdlm.ini which is the file that has the password in it. If I lose my drive I can just change the .ini file. I am actually using it so that my computer knows which user to login to when I turn it on. The creator of usbdlm added that function for me that it checks when the service starts if there is a drive with deviceid=X login as X so whoever uses the computer can turn it on and it will logon automatically as that user.
Unfortunately I can't get it to work still. I can only unlock the computer not logon, maybe it is on purpose by design?
thanks a lot, and what a quick response,
|
|
Wed Mar 19, 2008 3:32 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
The logon utility has been designed to unlock the system on computer startup, in other words to automate the boot process and allow programs to start not waiting for anyone to come to the machine and logon to it.
So if it matters, it is looking for the Windows logon desktop, sending Ctl+Shift+Del and then grabbing the logon window and sending to it user name, tab, and password then sending the Enter key..
Is your USB service running when you connect the drive? Do you see any activity on the drive (led flushing or something else indicating the drive is being used?
|
|
Wed Mar 19, 2008 3:52 pm |
|
 |
actmnophn
Joined: 19 Mar 2008 Posts: 6 Country: United States |
|
|
|
Did you mean ctrl alt del? ctrl alt shift does nothing on my pc. ctrl alt del twice brings up the logon screen. Is there a setting I am still missing?
thanks again.
:edit: change "ctrl alt shift" to "ctrl shift del".
|
|
Wed Mar 19, 2008 4:44 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Sorry, my bad, yes I meant to say ctrl+alt+del
|
|
Wed Mar 19, 2008 5:06 pm |
|
 |
actmnophn
Joined: 19 Mar 2008 Posts: 6 Country: United States |
|
|
|
I am not sure what the problem is then. If I press ctrl alt del twice it works to bring up the screen but using logon.exe it only works if the computer is locked, when the screen to type in a name is there already. not if it is logged off when i need to press c alt del.
|
|
Wed Mar 19, 2008 5:09 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Ok, now I see where you are. Yes, it is designed to be run on the system startup when the logon screen is already there and waiting for ctrl+alt+del to show the user/password fields. In your case, you don't have that screen displayed. You need to logoff first, in order to get the logon screen popup, so that a single ctr+alt+del can handle it.
|
|
Wed Mar 19, 2008 6:22 pm |
|
 |
actmnophn
Joined: 19 Mar 2008 Posts: 6 Country: United States |
|
|
|
is there no way to get it to press it twice?
mayber run logon.exe 2 times?
just wondering. :)
|
|
Wed Mar 19, 2008 11:40 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
I don't know what is going to happen if you run it twice. Please try it and let us know too. Maybe that will do it.
As far as I understand, the main issue that it needs to bind itself to the Logon Desktop (yes Desktop, not window) and change some security attributes of the winstation and desktop. If the desktop is not active, no matter how many times you run it, these keyboard events will not be processed correctly as there is no valid target for them.
|
|
Thu Mar 20, 2008 2:07 am |
|
 |
actmnophn
Joined: 19 Mar 2008 Posts: 6 Country: United States |
|
|
|
it won't work, but i am not sure why.
even if i manually press ctrl alt del twice and the logon screen comes up, it still won't logon. I am going to take a look at some logs and events. see what actually happened.
|
|
Thu Mar 20, 2008 2:32 pm |
|
 |
Muchachooo
Joined: 18 Feb 2010 Posts: 3 Country: Netherlands |
|
|
|
sorry for bumping such an old thread, but it's alot like my problem.
i'm using an RFID service named touchatag which allows me to lauch stuff by placing tags on the reader. i'm currently working on a program that automatically locks the pc when the tag is removed, and unlocks it when the tag is placed again. I know this program is used for logging in but i figured it might also be used to unlock a pc with a password...
I'm not sure if anyone got this program to work in Windows 7, if there is a known bug that makes this program impossible to use in windows 7 please let me know, because i will stop spending time on it.
currently what i did is create a shortcut (for my touchatag app) that refers to logon.bat
 |
 |
logon.exe -p test |
and use that with your logon.exe
also i found another topic on this forum telling me that logon.exe simulates the pressing of C-A-D so after changing an option when I lock my pc i must first press C-A-D and only then i'm able to fill in my password.
right now this doesn't work. obviously i can't see what errors logon.exe provides as my system is locked and i can't see the command screen. i hope you could help me making this thing to work, because in my eyes it could be a useful thing (imagine having a tag placed on your wallet or cellphone or something else personal, and using that to lock and unlock your pc).
|
|
Thu Feb 18, 2010 7:23 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
This utility is dependent on the login screen. It expects the login dialog with 2 fields - user and password. If you can configure Windows 7 to show a login screen similar to Win 2000/XP/2003/2008, then you can use this utility with Windows 7.
|
|
Thu Feb 18, 2010 10:25 am |
|
 |
Muchachooo
Joined: 18 Feb 2010 Posts: 3 Country: Netherlands |
|
|
|
 |
 |
This utility is dependent on the login screen. It expects the login dialog with 2 fields - user and password. If you can configure Windows 7 to show a login screen similar to Win 2000/XP/2003/2008, then you can use this utility with Windows 7. |
i don't think that's possible since you lock the system you cannot log in using another user, making the lock screen automatically use the username that locked the system in the first place.
thanks for your comment though, i'll look further into it, see if there's anything to make it work.
|
|
Thu Feb 18, 2010 10:43 am |
|
 |
Muchachooo
Joined: 18 Feb 2010 Posts: 3 Country: Netherlands |
|
|
|
could it be possible to change the file in such a way it only expects 1 field for the password?
|
|
Fri Feb 19, 2010 4:53 pm |
|
 |
|