Disable external mouse and keyboard RRS feed

  • Question

  • Hello all,


    I have windows 7 device that runs off of a touchscreen using a regular motherboard. While my app is running, I want to limit the user from using a keyboard or mouse plugged into the external usb/ps2 ports on the motherboard. Trying to figure out if there is a way to disable an external keyboard and mouse at run time. 

    Monday, March 11, 2013 5:52 PM


All replies

  • I'd ask them over here.





    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by Zoltán HorváthMVP Tuesday, March 12, 2013 8:32 AM
    • Marked as answer by althurm Friday, March 15, 2013 11:45 AM
    Tuesday, March 12, 2013 12:28 AM
  • You can also do this by using a script for your application. Depending on your language, you can find the answer in google, how you disable external inputs.

    The following is my signature:

    Powershell Programmer & Advanced Lua Programmer

    Location: Switzerland

    Beside that, whenever you see a reply, you think is helpful, click "Vote As Helpful"! And whenever you see a reply being an answer to the main question of the thread, click "Mark As Answer" (if you opened the thread).

    I published the URL's for the icons in my signature.

    Please contact me, before reporting me, thank you.

    [string](0..21|%{[char][int]([int]("{0:d}" -f 0x28)+('577076797174-87661607769657424-8687168065964').substring(($_*2),2))})-replace' '

    Tuesday, March 12, 2013 11:59 AM