If you are facing weird issues with your laptop’s keyboard, there are some ways that you can use to disable the keyboard. The keyboard issues cannot be fixed by replacing it as it is permanently attached to the laptop. So the problem is if the keyboard starts creating issues such as keys getting pressed automatically or the keyboard keeps disconnecting, what should you do rather than take your laptop to the repair shop? Well, the solutions are very simple. You will need to disable the keyboard. So it will not interfere when you type with the external keyboard.
There are five ways to disable your keyboard on Windows 10. These steps can also apply to Windows 11.
1. Use Device Manager to Disable the Keyboard
Device Manager displays a list of drivers that are installed on your computer. You have to select your keyboard driver from there to disable the laptop’s keyboard.
- To disable the driver, open Run Program by pressing Win + R on the keyboard
- Type devmgmt.msc and click OK
- Expand the keyboard menu to see the list of drivers
- Right-click Standard PS/2 Keyboard then click Disable or Uninstall
- Click Yes if asks for confirmation
- Once done, restart your computer to see if the issue is fixed.
2. Disable the Service that controls the PS/2 Port
Another method to disable the internal keyboard is to disable the service that transfers the input data to the laptop. This method works for almost every laptop as the ps/2 port helps connects most laptops to the keyboard. Disabling the PS/2 port will actually disable the power, which will stop the input data once you restart.
- To disable the PS/2 Port service, from Start Menu, type Command Prompt
- Right-click on the command prompt and choose Run As Administrator
- Once the terminal opened, type the following command and hit enter
sc config i8042prt start= disabled
- If you want to enable copy and paste the below command
sc config i8042prt start= auto
- Once done, restart your computer and see if your keyboard is disabled.
3. Enable Device Installation Restriction (Olde Version)
Device Installation Restriction will allow you to prevent Windows from installing the driver. Basically, it is a feature that takes the hardware id of the device that you don’t want windows to install and restricts the Windows update to install the device driver. Therefore, you have to enable Device Installation Restriction From Group Policy Editor.
- First, you need to get your hardware id. For that, right-click on Start Menu
- Select Device Manager from the listed options
- Find and right-click Standard PS/2 Keyboard and choose Properties
- Go to Details from the top and select Hardware Ids from the Property Menu
- Now right-click on the first entry and click Copy
- Once you copied, launch Group Policy Registry Editor by pressing Win + R on the keyboard
- Type the following command and hit enter
- Under Computer Configuration, navigate to the following path
Administrative Templates > System > Device Installation > Device Installation Restrictions
- Double-click on Prevent installation of devices that match any of these device instance IDs
- Select Enabled from the top left corner then click Show
- Now double click on the empty space under Value and paste the copied Id here
- Once done, click OK to save the changes
- Now launch the device manager. For that, right-click on Start Menu
- Select Device Manager from the list of options
- Expand the Keyboard Menu and right-click on Standard PS/2 Keyboard
- Choose Uninstall and restart your computer
4. Use the Wrong Driver to Disable the Keyboard
If the above solution fails to disable the keyboard, another thing you can do is select the incompatible driver for the keyboard, which allows you to disable the keyboard permanently as it won’t download the driver either. Follow the steps to select the incompatible driver:-
- Press Win + R to launch the Run Window
- Type devmgmt.msc and press Enter to navigate into it
- Right-click on Standard PS/2 Keyboard and click Update Driver
- Choose Browse My Computer For Drivers
- Click Let Me Pic a List of Available Drivers on My Computer
- Select any driver from the list except the compatible one
- Once done, click Next. Click Yes when asked for the confirmation
- Again click Yes if asks for a restart or manually reboot your computer
5. Change Device Installation Settings
Device installation settings allow Windows to download drivers automatically for their hardware via Windows update. Usually, you may see that when you restart after uninstalling the device, the driver automatically installs. Thus, to fix this, you will need to stop Windows from installing the driver. Therefore, you have to change the Device Installation settings.
- To change the device installation settings, open the Run Program by pressing Win + R at the same time
- Type sysdm.cpl and click OK to navigate into system properties settings
- Go to Hardware from the top and click Device Installation Settings
- Choose No (your device might not work as expected) and click Save Changes
- Then, click OK
- Once done, right-click on Start Menu and navigate to Device Manager
- Locate and right-click on Standard PS/2 Keyboard then click Uninstall
- Reboot your computer.