Why write a program to check the password. You should still be able to use the normal windows login, and just either change the layout in accessability options, or write a prog to mess up the keymap. That would mean that even if someone was shoulder-surfing, they couldn't just type it into another comp, and would stop you from hard coding a password.

Obviously, if there is a software keylogger, that isn't much use, but hey...if there was a software keylogger on the system, it wouldn't really matter what you did. The best way to protect yourself from that would be to remove any keylogger from your system.

ac