New
#1
Disabling Alt-Tab and Other Keys
I have been researching all over the internet for a way to disable the Alt+Tab key combination, and possibly the Windows key as well. There was even a post about this particular topic in this forum (Disabling alt+tab screen? Please help), but it was inconclusive. Registry edits do not seem to work, at least not in Windows 7. I was wondering if there is any way to disable these keys safely. I'm creating a security application that will lock a computer until the correct password is entered. I cannot have people using Alt-Tab or other key combinations while this program is active. Alt-Tab is specifically a problem because it's possible for a user to switch to open programs by using it, hence giving them access to the machine (I don't want to interrupt programs that are running when my program is activated). Also, whatever method used to lock or disable these keys must be able to be used through command prompt since I'm creating this program with a batch file (with some C++ as well). It could be an executable or whatever, but I can't really use a key mapping program because it needs to be automatic when the program is started. Maybe I could use some C++ code to disable these keys? If so, I would really appreciate it if complete code could be posted to do this (as I'm not very savvy with C++ quite yet). I also need something to disable the key restrictions and something to re-enable them separately. Thanks in advance and I hope that I can finally find a solution to this annoying problem! :)