Skip to Content

How to Disable Laptop Keyboard on Windows, Mac, and Other OS

Most laptops get a built-in function to disable the touchpad when an external mouse connected. But there is no button to Disable Laptop Keyboard However, for a good reason, it’s a bit harder to disable the laptop keyboard. A laptop isn’t likely a desktop computer, because it needs basic accessories like a mouse, a keyboard, and a monitor to operate a desktop computer.

Disable Laptop Keyboard

But, for a laptop, you’ve got all the peripherals in one package. Well, in case you dropped your laptop accidentally and now the keyboard isn’t working properly.

You can disable the laptop’s keyboard and attach an external one to get back to your work again! Or you can just replace the entire built-in keyboard which will be quite costly.

Turning off your laptop keyboard is perhaps a little harder than it should be, but with good reason. It’s certainly not the sort of thing you’d like to do by accident.

We’re going to show you how you can permanently disable your your laptop keyboard.

How to Disable Laptop Keyboard Temporarily

If you just want to disable your laptop’s keyboard till your next restart, then the method is very simple.

It’s just a five-step guide to disable laptop keyboard for short-term purposes. So Let’s take a step over to the guide.

Let’s make this clear to give you a proper idea of how to disable a laptop keyboard. We’re going to uninstall keyboard drivers which will disable the keyboard until you restart your PC.

Since most of the Windows operating systems have a feature to automatically install drivers, so Windows will install default drivers automatically when you restart your laptop.

Step-by-Step Guide

First, you need to open the Device Manager. Now there are a lot of ways to open the device manager, but the easiest one is; Right-click on your start button and select Device Manager.

Or, you can just open the Run Dialog Box by pressing and holding the Windows button, then press the R key and type in, devmgmt.msc

Disable Laptop Keyboard

Now that the Device Manager is opened, navigate to the drop-down menu Keyboard and find the keyboard you want to disable.

Right Click and choose Uninstall, and done! Now some dialogs will appear to ensure if you want to uninstall the driver or not.

Just Accept all of them, BUT don’t restart your laptop. Restarting your laptop will enable the laptop keyboard back to its working condition.

Disable Laptop Keyboard Permanently by Using Group Policy Editor

By just adding some more steps before repeating the above process, you can disable your keyboard permanently. For this, we are going to use Group Policy Editor which will prevent automatic enabling of keyboard on every restart.

Follow this simple and easiest guide to disable the laptop’s keyboard permanently.

Open the Run Dialog Box by pressing and holding the Windows button, then press R key and type in, gpedit.msc this will open a local group policy editor.

On the left panel, head over to Computer Configuration > Administrative Templates > System > Device Installation there you’ll see an option which is Device Installation Restriction.

Now on the right panel, there are a lot of policies that allow Windows to function properly. Head over to the policy “Prevent Installation of Devices not described by other policy settings”

Now click on policy setting, or just right-click and select Edit to modify the policy. The final 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 driver on every restart.

Disable Laptop Keyboard


Specialty Solutions

Macintosh Laptops:

One solution for Mac users is to connect a mouse, keyboard, and external monitor and then run it in closed-display mode.

Over in Apple.StackExchange, a user was wondering if it was possible to entirely disable a MacBook’s built-in keyboard.

They wanted to make sure that no input is received from that keyboard when they connected an external keyboard.

A particularly technical solution was suggested that involved unloading Apple USBTC Keyboard.kext to disable the keyboard.

Another user said that they employed a utility called Keyboard Cleaner that would disable the keyboard.

Ubuntu Laptops:

Over in the Ubuntu forums, one 64 bit Ubuntu Lucid Lynx user who relies on an external USB keyboard, wanted to disable his laptop’s internal keyboard using the software.

While it’s possible to just disconnect the internal keyboard’s wiring physically, he wanted to be able to easily reconnect it via software by merely executing a terminal command. One solution was to run a command at startup.

  1. This can be accomplished by adding the command at the end of the /home/user/.bashrc file.
  2. Forum users say you can also just add the command in System > Preferences > Startup Applications (this only works if you’re working with Ubuntu and not something like Kubuntu or Xubuntu, etc.)

Linux Laptops:

Over in AskUbuntu, one techie accidentally fried his keyboard with a cup of water. He was looking for a way to disable his HP Pavilion dv9000, Linux laptop’s internal keyboard using xmodmap.

The most upvoted response included some detailed coding- so make sure you reference the support thread for complete details.

In a nutshell, the AskUbuntu users suggested the following a fix using xinput to float the input device under X.

Disable Laptop Keyboard

Disable Laptop Keyboard with Third-Party Applications

There are a lot of applications available on the internet which will allow you to disable keyboard on Windows operating system.

On the off chance that you are searching for how to disable your laptop keyboard in windows, these applications will help you disable your laptop keyboard with just a few clicks.

We’ve included those applications which will give you the option to disable specific keys along with trackpad.

Key Freeze

Key Freeze has got a good reputation when it comes to disabling laptop keyboard.

A simple installation process, and with few clicks, it can disable your keyboard and trackpad all the while.

The main drawback of this software is that you cannot just disable one device at once. With a few clicks, it will disable both the devices.

A good feature that makes it attractive is you can enable both of them, by pressing Ctrl + Alt + Del keys while both of the devices are disabled.

Well, there are a lot of options available when you want to disable laptop keyboard. But for Windows, we found the Device Manager one to be the simplest and safest.

If you want to disable permanently then you have to go in advance setting where a mistake can crash your PC.

We also mentioned some third party applications which may not provide you all the features or they can just disable both of the devices.

So, in every way, Device Manager is the best way to disable laptop keyboard

Frequently Asked Questions

QUES: How do I disable a keyboard key on Windows OS?

ANS: Use the Simple Disable Key program to disable a key in Windows 10/8/7:

Step 1: Download the Simple Disable Key program. Run the setup file and follow on-screen directions to get it installed.

NOTE: Since Simple Disable Key is a new program, Windows SmartScreen might warn you against running this software when you attempt to launch the setup file.

Step 2: Launch Simple Disable Key, select a language.

Step 3: To disable a key, select the Key field and then press a key on your keyboard that you want to disable and then click Add Key. For instance, if you want to disable the key “K”, press the “K” key on your keyboard to add the “K” key to the list.

step 4: you will see a dropdown list select anyone according to you!

QUES: Can I disable a single (particular) button of keyboard of my laptop?

ANS: You can disable certain keys that you might press accidentally, such as the CAPS LOCK key or the Windows key.

To disable a key

1. Using the keyboard that you want to configure, start IntelliType Pro.
(Click Start, point to All Programs, click Microsoft Keyboard, and then click Microsoft Keyboard.)

2. On the Key Settings tab, make sure that the correct Microsoft keyboard model name appears. The keys that are available for customization depend on the model name that is selected.

To select a different keyboard, click Change, select the correct keyboard, and then click OK.

3. Double-click the key you want to disable from the list of customisable keys.

4. In the Reassign a Key wizard, click Disable the use of this key, and then click Finish.