I'm trying to disable my built-in keyboard as the Windows and P keys keep sticking and "project screen" always pops up. My solution was to remove the driver for the keyboard.
I've tried looking on the internet for how to remove the driver for the built-in keyboard. However, it's not permanent. After a few restarts, the driver comes back and the built-in keyboard is no longer disabled. Sample link that I tried.
Since it keeps on coming back, I'm thinking of using a script to automatically follow the steps to remove the driver. How can I disable the built-in keyboard of my laptop using a script? Or how can I permanently remove the driver?
I checked the questions below, but they are not answered and are not asking for a script.
Temporarily disable laptop built-in keyboard on Windows 10, is it possible?
Disabling the built in keyboard and using an external USB keyboard