
Do you need to use an external keyboard with your laptop but don’t know how to disable the internal one? Fortunately, there is an easy way to do so with just a few steps.
To disable a laptop keyboard, press Windows + X. When the pop-up menu appears, click on “Device Manager”. In the given list of devices, find “Keyboard” and click the arrow appearing on the left to expand the list. Right-click on your laptop’s keyboard and click “Uninstall”.
We have created the following guide, which consists of easy step-by-step instructions that you can follow to disable your laptop keyboard.
Disabling Your Laptop Keyboard
If you don’t know how to disable your laptop keyboard, follow the given two step-by-step methods to do so without difficulty.
Method #1: Disabling Your Laptop Keyboard in Windows OS
On your laptop with Windows OS, you can do the following steps to disable your keyboard temporarily.
- Press Windows + X.
- Wait for the pop-up menu to appear and select “Device Manager”.
- Find “Keyboard” and click the arrow appearing on the left to expand the list.
- On your laptop’s internal keyboard, press the right-click button.
- Click “Uninstall”.

Your laptop keyboard is temporarily disabled and will automatically detect and re-installed once you restart your laptop or scan for any new hardware changes.
Method #2: Disabling Your Laptop Keyboard in macOS
On the MacBooks with the Big Sur, you need a third-party app like Karabiner-Elements to disable your keyboard using the given steps.
- On your MacBook, open the web browser and go to the Karabiner-Elements website.
- Download the app and install it on your Mac.
- Open the app, search “Disable”, and click “Disable the built-in keyboard”.
- Choose another keyboard to disable your internal one.

Using this method, you can temporarily disable your built-in keyboard when an external keyboard is connected to your laptop.
Enabling a Disabled Laptop Keyboard
If you’ve accidentally locked your laptop keyboard and don’t know how to enable it again, the following two methods can help you with the issue.
Method #1: Enabling a Disabled Laptop Keyboard in Windows OS
The Windows will automatically re-install a disabled keyboard upon restarting. However, you can do so manually by following the given steps.
- Press Windows + X.
- Wait for the pop-up menu to appear and select “Device Manager”.
- Find “Keyboard” and click the arrow appearing on the left.
- On your laptop’s internal keyboard, press the right-click button.
- Click “Install”.

Method #2: Enabling a Disabled Laptop Keyboard in macOS
You can enable your built-in keyboard using a third party like Karabiner-Elements in the following easy steps.
- On your MacBook, open the web browser and go to Karabiner-Elements.
- Download the app and install it on your Mac.
- Open the app and go to “Devices”> “Advanced”, and click “Disable the built-in keyboard”.
- Unselect your external keyboard and select your built-in keyboard.

Disabling Your Laptop Keyboard Permanently
If you want to permanently disable your faulty keyboard and use an external one, use the following two step-by-step methods.
Method #1: Restricting Reinstallation in Windows OS
Use the following method to stop your Windows from re-installing your keyboard whenever you restart it and permanently disable it.
- Search “gpedit.msc” on your Windows OS start menu.
- Select “Computer Configuration” and go to “Administrative Templates”.
- Click “System” and go to “Device Installation Restrictions”> “Device Installation”.
- Right-click on the last option: “Prevent installation of devices not described by other policy”.
- In the pop-up menu, set the policy to “Enabled”.
- Disable your keyboard in the Device Manager, as explained in the above method.

You still have a chance to re-install your keyboard if you want to use it later. Go to “gpedit.msc” again and revert your changes.
Method #2: Using the Command Terminal in macOS
Use the following method by using a script to disable your MacBook Keyboard permanently.
- Open Applications and go to “Utilities”.
- Click twice on “Terminal”, open it, and type in the
sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/
command. - Press Enter.

To enable the laptop keyboard again, type in the sudo kextload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext
command on the Terminal.
Summary
In this guide on disabling a laptop keyboard, we’ve discussed multiple temporary ways to disable the keyboard on Windows OS and macOS. WeWe’velso discussed how you could enable them again or permanently disable them if needed.
Hopefully, with one of these methods, you’ll be able to disable your laptop keyboard without difficulty.
Frequently Asked Questions
You can lock your keyboard on your Windows computers by holding the Windows button and pressing the L key. On an Apple computer, press the Control + Shift + Power key.