How to disable a keyboard?
Revolter answer is actually not correct.
When trying the described manipulation, I got the following message:
ACPI\PNP0303\4&378F8A46&0 : Disable failed
No devices disabled
I think that the reality is too bad: there is no nice solution for disabling a laptop keyboard without physically removing it (if you uninstall the driver, Windows will re-install it automatically).
See this discussion forum for more precision: https://www.techsupportforum.com/hardware-support/laptop-support/250095-how-disable-laptop-keyboard.html
However, there is a way to uninstall a laptop keyboard with software: by installing an incompatible driver!!
The instructions are:
- Go to Device Manager and select the keyboard driver for your laptop. Right-click -> Properties.
- Click on the driver panel and select the "Update..." button.
- Here, you can choose an incompatible driver (you should unselect the option "Find compatible driver"). The one I have chosen (and the safer) is the "HID Keyboard Device".
- Restart and that's it!! You are done.
I hope it will help other folks here.
You may use devcon from Microsoft
The DevCon utility is a command-line utility that acts as an alternative to Device Manager. Using DevCon, you can enable, disable, restart, update, remove, and query individual devices or groups of devices. DevCon also provides information that is relevant to the driver developer and is not available in Device Manager.
the link contain a detailed page about how to use it,
for your case, just put
devcon find *
To lists device instances of all devices that are present on the local computer.then,
devcon disable [ your-keyboard-HardwareID ]
to disable devices that match that specific hardware or instance ID
The only way is to physically disconnect the keyboard.
See this article : "Repairing the keyboards of Compaq laptops".
If what the guy describes in the above page solves the problem, you might save yourself the trouble.
If it doesn't, then repeat the operation, but just omit the described step 8 and do not reconnect the cable.
(I take no responsibility for any mistakes in the execution of this operation.)