How to Disable Laptop Keyboard (Windows, Mac and Linux)

Sometimes we are stuck during work for laptop problems. Keyboard problem one of those.  If your Laptop keyboard does not work properly and you want to disable it then you are in right place. In this article, I will guide you How to Disable Laptop Keyboard.

Every laptop has a built-in Keyboard. This is the primary keyboard of your laptop computer. If your Laptop key does not work anymore you can use an external keyboard.

But, If your Laptop keyboard conflict with the external keyboard? The problem is there, you can not use your laptop anymore or it can be fatal for your computer system.

When you purchase a laptop it comes with all peripheral accessories in one package. Not like the desktop computer you can remove the old keyboard cable and plug in the new keyboard.

After applying some troubleshooting methods. If your Laptop keyboard is not working properly or continues to auto press(Oh no! Auto press, I have found this as the biggest reason for headache in the world) you do not have any choice except disabling your Laptop keyboard.

How to Disable Laptop Keyboard

Disabling the Laptop keyboard is not so difficult but a little bit tricker. If you are a Windows user There are many ways to disable the laptop keyboard. You can use Device Manager, the Registry editor, Policy, etc.

Or, If you are a Linux or Mac user you can Disable your laptop Keyboard using the command terminal. In this article, we are going to disable our laptop keyboard for all types of Laptops.

Disable Laptop Keyboard from Device Manager(Windows)

If you are in the Windows Operating system then you can use Device Manager to Disable Laptop Keyboard. Just simply follow the steps below to disable the laptop keyboard from Device Manager:

Disable Laptop Keyboard from Device Manager(Windows)
Disable Laptop Keyboard from Device Manager(Windows)
  1. First, you need to open the Device Manager. Now there are tons of the way to open the device manager, but the simplest one is; Right-click on your start button and choose Device Manager.
  2. Now that the Device Manager is opened, navigate to the menu Keyboard and find the keyboard you would like to disable.
  3. Right-click and choose Uninstall.
  4. After you choose to uninstall now some dialogs will appear to make sure if you would like to uninstall the driving force or not. Just Accept all of them, But remember that don’t restart your laptop. Restarting your laptop will enable the laptop keyboard back to its working condition.

Disable Laptop Keyboard using Group Policy Editor(Windows)

  1. Open the  Run Dialog Box by pressing and holding the Windows button, then press the R key and type in, gpedit.msc this will open a local group policy editor.
  2. On the left panel, head over to Device Installation there you’ll see an option which is Device Installation Restriction.
  3. Now on the right panel, there are tons of policies that allow Windows to function properly. Head over to the policy Prevent Installation of Devices not described by other policy settings.
  4. Now click on policy settingor simply right-click and choose Edit to switch the policythe ultimate step is to Enable the policy and now your keyboard is disabled forever.
After doing these steps, repeat the above method which we use to disable the keyboard temporarily. This policy editor will avoid reinstalling the driving force on every Restart.

Disable Laptop Keyboard Using Command Terminal(Mac)

Apple’s MacBook is the best laptop out there within the market. But just in case you would like to clear your MacBook’s keyboard and you would like to disable it. Here’s how to disable it too.

It is a difficult but simple thanks to disabling the MacBook keyboard by using just terminal commands. there’s also software available which will allow you to disable the keyboard on MacBook.

The Terminal is like CMD in Windows which can allow you to control your macOS environment during a developer mode. you’ll disable the MacBook keyboard by just pasting some commands in your terminal interface.

Put this keyboard into your Macbook command terminal:

sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/

Now you have to put your Sudo Password to disable the laptop keyboard.

If you want to enable your MacBook keyboard again. just simply use the command below:

sudo kextload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext

Disable Laptop Keyboard Using Command Terminal(Linux)

Linux has some limitations to disabling the built-in laptop keyboard. But we can do it using the command terminal. This method is a little bit deprecated. so please understand what you going to do.

At first, we have to list our input devices in the terminal using the command below:

xinput --list

After running this command we will see the report like this:

mehedi@VivoBook:~$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ELAN1300:00 04F3:3057 Touchpad id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Asus Wireless Radio Control id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ Sleep Button id=10 [slave keyboard (3)]
↳ USB2.0 VGA UVC WebCam: USB2.0 V id=11 [slave keyboard (3)]
↳ Asus WMI hotkeys id=13 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]

From there we have to find AT Translated Set 2 keyboard id=14 [slave keyboard (3)] in this case our keyboard id is 14. it can be different for you.

Now run this command to disable your Laptop keyboard in Linux Laptop:

xinput set-int-prop 14 "Device Enabled" 8 0

After running this command your keyboard will disable. If you want to enable it simply run the command below:

xinput set-int-prop 14 "Device Enabled" 8 1

Read: How to Use Keyboard and Mouse on PS4

Last Word

However, there are tons of ways to Disable the Laptop Keyboard temporarily or permanently. If you face any problem while disabling your laptop Keyboard. Let me know in the comment section.

Share these beautiful things with your friends… 🙂

18 thoughts on “How to Disable Laptop Keyboard (Windows, Mac and Linux)”

  1. Wow that was odd. I just wrote an incredibly long comment but after I clicked submit my comment didn’t appear.
    Grrrr… well I’m not writing all that over again. Regardless, just wanted to say great blog!

  2. Hey There. I found your blog using msn. This is an extremely well written article.
    I will be sure to bookmark it and come back to read more of your useful information. Thanks for the post.
    I will certainly return.

  3. We stumbled οver heere diferent web address ɑnd thought I may as
    well check tһings out. I lіke what I see sο i am
    juѕt folⅼowing you. Look forward to loking at your web page repeatedly.


Leave a Comment

Join Our Newsletter
get weekly access to our best tips, tricks and updates.
Join Our Newsletter
get weekly access to our best tips, tricks and updates.