GuidesHow To'sHow To Disable Laptop Keyboard?

How To Disable Laptop Keyboard? [Windows And macOS]

You can disable the laptop's keyboard using third-party software, Device Manager, and Local Group Policy Settings.

Expert Verified By

There will be moments when you want to avoid using the laptop’s built-in keyboard, either because of a malfunction or because you want to connect an external keyboard. Hence, you need to learn how to disable the laptop keyboard using the system settings or third-party applications.

Key Takeaways

  • Temporarily deactivate your laptop’s keyboard through “Device Manager” or third-party software.
  • You can edit “Group Policy” or turn off “PS/2 Port Service” to permanently deactivate the built-in keyboard.
  • Running the code, sc config i8042prt start= auto in “Command Prompt” will resume the keyboard’s operation.

Turn Off Laptop Keyboard In Windows

You can turn off your laptop’s keyboard through various means, like disabling “PS/2 Port Service” and more. Before proceeding to the methods, read our extensive guides on changing colors on the Alienware Keyboard, MageGee Keyboard, and Havit Keyboard.

The following are the methods:

  1. Disable Temporarily Through Device Manager
  2. Disable Laptop Keyboard Permanently
  3. Turn Off The PS/2 Port Service
  4. Using Third-Party Software For Windows
  5. Use Incompatible Driver

Disable Temporarily Through Device Manager

First, we disabled the default keyboard through the “Device Manager” menu since it recognizes and displays all the functioning keyboards, including the external ones. Additionally, user Kristiqnski in the Lenovo Community also suggested this.

Below are the instructions to temporarily deactivate your keyboard:

  1. Right-click the “Start Menu” to bring up the “WinX Menu” and then pick “Device Manager” from there.
  2. Find “Keyboards” in “Device Manager” and double-click to see the contents.
  3. This section will list all the keyboards currently connected to your computer. Find the built-in keyboard and right-click it.
  4. Select “Disable Device” from the resulting sub-menu.
  5. To complete the operation and turn off the laptop’s internal keyboard, click the “Yes” button in the confirmation window.
  6. If the context menu that appears doesn’t include a “Disable” option, don’t worry; you’ll still be able to remove drivers for the internal keyboard by selecting the “Uninstall Device” option.
  7. As soon as you do, a confirmation dialog will appear. Click “OK” to confirm the removal of drivers for the internal keyboard.
  8. “Restart” your device to complete this procedure. 
 Important: Windows reinstalls your keyboards for you automatically at startup. The keyboard won’t be fully functional until the computer is restarted after using the above procedure.  

Also Read: How To Unlock Keyboard On HP Laptop

Disable Laptop Keyboard Permanently

Microsoft makes it somewhat more difficult to deactivate the keyboard permanently. To do so, you must halt the Windows’ capability to reinstall the driver automatically. If you don’t do this, the keyboard will start functioning again once you restart your laptop.

Hence, we enabled the relevant policy from the Local Group Policy Editor, as vouched by many people in the comments of a video by YouTuber Tech Rider.

Follow these steps to deactivate the keyboard permanently:

  1. To access group policy, click “Start,” then type “Group Policy” into the search bar.
  2. After selecting the result labeled “Edit Group Policy,” a “Local Group Policy Editor” window should appear.
  3. Select “Computer Configuration.”
  4. To proceed, double-click “Administrative Templates.”
    Open Computer Configuration in Group Policy Editor
    Open Computer Configuration (Image By Tech4Gamers)
  5. Then pick “System” and finally, “Device Installation.”
    Selection Device Installation From the System Folder
    Select Device Installation (Image By Tech4Gamers)
  6. The folder labeled “Device Installation Restrictions” may be accessed by double-clicking.
  7. Select “Edit” from the context menu after right-clicking the “Prevent Installation Of Devices Not Defined By Other Policy Settings” option.
    Select Edit in Prevent Installation of Devices Not Defined by Other Policy Settings
    Policy Settings (Image By Tech4Gamers)
  8. Select “Enabled” by clicking the checkbox and then clicking “OK” in the resulting window.
WARNING: The Group Policy Editor is home to many important files, so make sure not to mess around a lot.

Turn Off The PS/2 Port Service

Most laptop keyboards are linked internally by a PS/2 connector. Therefore, disabling the connection effectively disabled the keyboard for us. You can just turn off the power to that port since there won’t be anything controlling its data once the service is turned off. Besides, user John Dev in Microsoft Community also confirmed this works. 

Here are the instructions to promptly carry out the process:

  1. Click the Search box and enter “Command Prompt” followed by “Run As Administrator.”
  2. Enter the following command:
    sc config i8042prt start= disabled.
  3. After restarting your computer, your laptop’s keyboard should no longer function.
  4. The following command can be used if you ever decide to turn the keyboard back on:
    sc config i8042prt start= auto.

Using Third-Party Software For Windows OS

The approaches mentioned above make it easier to comprehend the process. On the other hand, third-party solutions can also assist you in deactivating the keyboard. 

BlueLife KeyFreeze

We can confirm the effectiveness of BlueLife KeyFreeze from our own experience. This software lets us disable our Windows laptop’s keyboard by pressing “Ctrl+Alt+F.” However, you can customize this combination for convenience. It efficiently disables the keyboard while leaving the screen unlocked.

Download the utility from the official website, double-click the “Setup File,” and you’re good. A taskbar countdown simplifies keyboard locking and unlocking. 

KeyboardLock

Keyboard lock is an application that uses fewer system resources to lock your keyboard. To do so, specify a password and press the “Start” button. This tool will not affect your open programs. Type the password again when you wish to unlock it. Besides, it can also be used for external keyboards.

Use Incompatible Driver

The technique worked for user Lofidevops on SuperUser, so we also tested it, and it proved effective for us. We found that the keyboard stops working when a driver is installed for a keyboard incompatible with the device. If the same driver controls the touchpad and keyboard, you will lose the capability of both. Hence, have a USB keyboard or mouse on hand. 

WARNING: Doing so may result in a Blue Screen Of Death or other problems. Therefore, only use these steps if you have tried all other options and are sure that you must disable the keyboard.

Use the instructions below to halt the built-in keyboard:

  1. On “Device Manager,” go to the “Keyboards” section, expand “Standard PS/2 Keyboard,” and right-click it.
  2. Choose “Update Driver” from the sub-box.
    Update Driver in device manager
    Update Driver (Image By Tech4Gamers)
  3. Select “Browse My Computer” to locate the driver software on your computer.
  4. Select “Let Me Choose From My Computer’s Drivers.”
  5. De-select the box labeled “Show Compatible Hardware.”
  6. Choose a brand from the drop-down menu (other than the one associated with your regular keyboard).
  7. Next, choose a model and go on to the next step.
  8. Choose “Yes” in the next window.
  9. Select “Close” after updating the driver.
  10. Reboot by selecting “Yes.”
  11. The built-in keyboard stops working after the reboot.
Note: Re-enabling the keyboard is as simple as going back through steps 1 and 2, but this time selecting “Search Automatically For Drivers.”

Turn Off Laptop Keyboard On macOS

This section will discuss two methods to how to disable a laptop keyboard on macOS:

  1. Using The macOS Command Terminal.
  2. Using Karabiner Elements.

Using The macOS Command Terminal

We entered a script in the “Terminal” window to permanently deactivate our MacBook’s keyboard. It also helped user SirCaptain on Reddit.

Here are the steps we used:

  1. To access “Utilities,” open “Applications.”
  2. Double-click “Terminal” to launch it.
  3. Input the code, sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/
  4. Enter your password to proceed.

Also Read: How To Play Windows Games On Mac

Using Karabiner Elements

Using additional software is another way to deactivate the keyboard. To complete the task, we installed Karabiner Elements on our Mac laptop, as also recommended by user Tony Williams on StackExchange.

The software will only stop the functioning of the internal keyboard on your Mac when another keyboard is attached. That is, disabling the built-in keyboard necessitates using an external keyboard

Once you have the software downloaded and installed, proceed as described below:

  1. Connect your MacBook to an external keyboard.
  2. Launch the software “Karabiner Elements.”
  3. Choose “Preferences.”
  4. After selecting the “Devices” tab, choose “Advanced.”
  5. In the section “Disable The Built-In Keyboard, When One Of The Following Chosen Devices Is Attached,” select the box next to your external keyboard and click the “OK” button.
    disable laptop keyboard in Mac
    Disable Keyboard (Image By Tech4Gamers)

FAQs

Is There A Way To Lock My Keyboard?

You can lock the keyboard on any Windows laptop by simultaneously pressing and holding the “Windows and L” keys.

Will My Laptop’s Keyboard Be Permanently Disabled?

Restarting the laptop or running a specific code in the “Command Prompt” will re-enable the built-in keyboard.

Can I Disable My Laptop And Use An External Keyboard?

Disable the built-in keyboard either from “Device Manager” or “Command Prompt.” Then, connect the external keyboard via USB wire or Bluetooth.

Was our article helpful? 👨‍💻

Thank you! Please share your positive feedback. 🔋

How could we improve this post? Please Help us. 😔

Related articles

What Is SLC (Single-Level Cell) [Explained]

SLC or Single-level cell is a type of NAND flash memory that can store one bit of data per cell, offering fast performance and high endurance.

3 Ways To Fix Windows XP Sound Error

Is your Windows XP having sound problems? Discover how to fix Windows XP sound errors in the utmost detail.

How To Fix Windows 11 Crackling Audio?

Find out the quickest solutions to Windows 11 crackling issue, such as disabling audio enhancement, and changing audio format.

How To Connect Sony WH-1000XM4 To PC

Wondering how to connect Sony WH-1000XM4 to PC? If so, dive into this brief guide and follow the easy steps for a seamless audio experience.

SOLVED: How To Unlock Taskbar In Windows 11?

This guide elaborates on how to unlock taskbar in Windows 11 using the Settings, Windows Registry, and more.

Similar Guides