How to disable laptop keyboard
Published: 30 Aug 2026
Do you want to stop your laptop keyboard from working? You may need to disable it because some keys are broken, stuck, or typing by themselves. You may also want to use an external keyboard or clean your laptop safely.
How to disable laptop keyboard depends on your operating system and laptop model. Windows users can use built-in tools such as Device Manager. Some methods can disable the keyboard for a short time, while others may keep it disabled until you change the settings again.
In this guide, you will learn simple ways to disable a laptop keyboard. You will also learn how to use an external keyboard, fix common problems, and enable the laptop keyboard again.
Why Would You Want to Disable a Laptop Keyboard?
There are many reasons to disable a laptop keyboard. You may have a damaged keyboard or want to use another keyboard.
Here are some common reasons:
- Broken keys: Some keys may stop working or get stuck.
- Wrong typing: A damaged keyboard may type letters without your input.
- External keyboard: You may prefer a USB or Bluetooth keyboard.
- Cleaning: You can stop accidental key presses while cleaning the laptop.
- Children or pets: They may press keys while you are using the laptop.
- Keyboard replacement: You may need to disable the old keyboard before installing a new one.
- Troubleshooting: Disabling the keyboard can help you check if it causes a problem.
How to Disable Laptop Keyboard in Windows
Windows gives you different ways to disable a laptop keyboard. The easiest option is usually Device Manager.
Before you start, connect an external keyboard if you need to type. Keep it ready in case the built-in keyboard stops working.
Method 1: Disable the Keyboard Using Device Manager
Device Manager lets you manage hardware and drivers on your laptop. You can use it to disable or remove a keyboard device.
Follow these steps:
Step 1: Open Device Manager
- Press Windows + X on your keyboard.
- Select Device Manager from the menu.
- Wait for the Device Manager window to open.
You can also search for Device Manager from the Windows Search box.
Step 2: Find the Keyboard
- Find Keyboards in the list.
- Click the arrow next to it.
- Look for your built-in keyboard device.
- Right-click the keyboard device.
The name can vary between laptop models. You may see a name such as Standard PS/2 Keyboard or another keyboard device name.
Step 3: Check the Available Option
Look for an option such as Disable device in the menu. If Windows shows this option, select it and confirm the change.Your built-in keyboard should stop responding after you disable the device.
Important: Some Windows versions and laptop drivers do not show a Disable device option for the keyboard. In that case, you may need to use another method.
Method 2: Uninstall the Keyboard Driver
If Windows does not show a Disable device option, you can uninstall the keyboard driver. This can stop the built-in keyboard from working.
Follow these steps:
Step 1: Open Device Manager
- Press Windows + X.
- Select Device Manager.
- Find Keyboards in the list.
- Click the arrow next to it.
Step 2: Select the Keyboard
- Find the keyboard device.
- Right-click it.
- Select Uninstall device.
Windows may ask you to confirm the action. Follow the instructions on the screen.
Step 3: Restart Your Laptop
Restart your laptop after uninstalling the keyboard driver. The keyboard may stop working after the restart. However, Windows can detect the hardware and install the driver again. If that happens, this method will not keep the keyboard disabled.
Tip: Keep an external USB or Bluetooth keyboard ready before you try this method. You may need it to control your laptop after the built-in keyboard stops working.
Method 3: Prevent Windows From Reinstalling the Keyboard Driver
Sometimes Windows installs the keyboard driver again after you uninstall it. This can make the laptop keyboard work again.
You can use a Windows setting to stop Windows from installing a specific device driver. This method is more advanced, so follow each step carefully.
Step 1: Find the Keyboard Hardware ID
- Open Device Manager.
- Expand Keyboards.
- Right-click your laptop keyboard.
- Select Properties.
- Open the Details tab.
- Select Hardware Ids from the Property list.
- Copy the hardware ID and save it somewhere safe.
The hardware ID helps Windows identify the exact keyboard device.
Step 2: Open the Device Installation Settings
The steps can vary by Windows edition and version. Windows Pro editions provide more management options than Home editions.
You can use Group Policy on supported Windows editions:
- Press Windows + R.
- Type gpedit.msc.
- Press Enter.
- Open Computer Configuration.
- Go to Administrative Templates.
- Open System.
- Select Device Installation.
- Open Device Installation Restrictions.
Step 3: Block the Keyboard Device
Find the policy that blocks installation of devices that match specific device IDs.
- Open the policy.
- Set it to Enabled.
- Add the keyboard hardware ID.
- Apply the change.
- Restart your laptop if needed.
Windows should then block the matching keyboard device from being installed through the normal device installation process.
Important: This is an advanced method. A wrong setting can affect other devices. If you only need to disable the keyboard for a short time, use a simpler method instead.
How to Disable Laptop Keyboard Temporarily
Sometimes you do not want to disable the keyboard permanently. You may only need to turn it off for a short time.
Windows does not offer one universal keyboard shortcut that disables every built-in laptop keyboard. The available options can also vary by laptop and Windows version.
You can use these options:
- Device Manager: Disable the keyboard device if Windows provides the option.
- Uninstall the driver: Remove the keyboard driver temporarily. Windows may install it again later.
- Third-party keyboard locker: Some trusted apps can block keyboard input without changing system drivers.
If you only want to stop accidental key presses while cleaning your laptop, shutting down the laptop is the safest option. It prevents the keyboard from sending input while you clean it.
If you need to keep using the laptop, connect an external keyboard before disabling the built-in one.
Common Problems When Disabling a Laptop Keyboard
Sometimes the keyboard may not stay disabled or another problem may appear. Here are some common issues and simple solutions.
The Keyboard Still Works
The Disable device option may not be available for your keyboard. In this case, try another supported method instead of changing random system settings.
The Keyboard Works Again After Restart
Windows may reinstall the keyboard driver after you restart the laptop. This is common when you use the uninstall method.
The External Keyboard Does Not Work
Check the USB connection or Bluetooth connection. Try another USB port if you use a wired keyboard. For a Bluetooth keyboard, make sure it has enough battery and stays connected.
You Cannot Type After Disabling the Keyboard
Connect a USB or Bluetooth keyboard before disabling the built-in keyboard. This gives you another way to control your laptop.
You Cannot Enable the Keyboard Again
Open Device Manager and check the Keyboards section. You may need to enable the device or scan for hardware changes.
How to Re-Enable a Disabled Laptop Keyboard
You can enable the laptop keyboard again when you need it. The steps depend on how you disabled it.
If you used Device Manager:
- Press Windows + X.
- Select Device Manager.
- Expand Keyboards.
- Find your laptop keyboard.
- Right-click the device.
- Select Enable device.
If you uninstalled the keyboard driver, restart your laptop. Windows may detect the keyboard and install the required driver again.
If the keyboard does not work after restarting, open Device Manager and select Action > Scan for hardware changes. Windows will check for connected hardware and may reinstall the keyboard device.
Keep an external keyboard nearby if the built-in keyboard does not respond.
Conclusion
Learning how to disable a laptop keyboard can help when the built-in keyboard is damaged, stuck, or causing unwanted typing. Windows users can first check Device Manager for the Disable device option.
If that option is not available, you can try another suitable method, such as uninstalling the keyboard driver. Always connect an external keyboard first if you still need to type.
When you finish, you can usually enable the keyboard again through Device Manager. Choose the method that fits your laptop and avoid changing settings for other devices by mistake.
Frequently Asked Questions
Yes. If Windows shows the Disable device option for your keyboard, you can disable it without uninstalling the driver.
You can keep a keyboard disabled by using supported device-management settings, but the exact method depends on your laptop and Windows version. Some methods may be reversed after Windows updates or driver changes.

- Be Respectful
- Stay Relevant
- Stay Positive
- True Feedback
- Encourage Discussion
- Avoid Spamming
- No Fake News
- Don't Copy-Paste
- No Personal Attacks

- Be Respectful
- Stay Relevant
- Stay Positive
- True Feedback
- Encourage Discussion
- Avoid Spamming
- No Fake News
- Don't Copy-Paste
- No Personal Attacks