Computing.Net > Forums > Programming > Locking keyboard/mouse via code

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Locking keyboard/mouse via code

Reply to Message Icon

Name: keridbey
Date: December 19, 2007 at 10:36:11 Pacific
OS: Win2000
CPU/Ram: 2.8 Ghz / 1 Gb
Product: Dell
Comment:

Hiya folks! Here's my problem:

I'm editing a batch file that runs a process on a computer in a closed system. No one should be able to interfere with the process, so I'm trying to find a way to lock the keyboard and mouse while the process runs. The system runs Windows 2000 Professional. I'm hoping this can be done in batch or calling a VB script (I've seen references online about creating/changing registry entries as well as using the RUNDLL32.EXE, but I've been able to get neither of those to work). The best solution would lock the keyboard and mouse, run the process, and then wait for a particular key combination when the process has finished (to clarify - it's a remote system the batch file is running on, and I start it via a pcAnywhere session; I'm hoping this will lock only the local mouse and keyboard, and let me still do things from my session. I've found that the pcAnywhere option for locking the keyboard and mouse doesn't always work properly on our systems).

Any ideas? Thanks!



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


sed chokes on pipe Printer coding!



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Locking keyboard/mouse via code

turn caps lock off with batch codes witho www.computing.net/answers/programming/turn-caps-lock-off-with-batch-codes-witho/19162.html

new keyboard lacks necessary button www.computing.net/answers/programming/new-keyboard-lacks-necessary-button/14656.html

problem with hourglass - HELP! www.computing.net/answers/programming/problem-with-hourglass-help/1903.html