How to lock your PC
How to lock your PC
I would like to make a program like this: http://www.montpellier-informatique.com ... /index.php . Have you any ideas about the locking method to use ? Maybe using a system hook to process all the events in advance ?
- Rook Zimbabwe
- Addict

- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Re: How to lock your PC
maybe you have a program that every 1-3 seconds polls the USB drive for a hidden file and if it does not see it then it dims the screen and blocks access from the mouse or keyboard by taking control of the mouse and keyboard and blanking all input.

Re: How to lock your PC
Thanks for your time! Yes, for the first part I have some ideas. The WaitforSingleObject() API could do the job very well. But how to lock keys and mouse events ? I'm thinking of ALT+TAB or CTRL+ALT+CANC (SHIFT+CTRL+TAB on Vista) , etc... ?
- Rook Zimbabwe
- Addict

- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Re: How to lock your PC
I know you can inteercept those keypresses in XP Pro and assign them to do nothing (or perhaps pop up a window saying that they won't work) but I think in Win7 that idea has been removed... I have no idea in Vista
Re: How to lock your PC
perhaps the Kiosk system mentioned here viewtopic.php?t=24100 may help - it has a method of locking out taskmanager
there is no sig, only zuul (and the following disclaimer)
WARNING: may be talking out of his hat
WARNING: may be talking out of his hat

