How to Disable a Laptop’s Keyboard on Windows 10

Laptops have all the necessary parts built-in, like the keyboard, which is different from desktops where parts can be easily changed. If a laptop keyboard stops working, fixing it can be expensive since it cannot be easily detached and replaced like a desktop keyboard.

Many users prefer connecting an external keyboard in these situations, but having both active can cause unwanted keystrokes. Disabling the laptop’s built-in keyboard in Windows 10 is a practical way to prevent accidental inputs and rely completely on an external keyboard.

1. Disable the Laptop Keyboard Driver

An easy way to stop the built-in keyboard from causing issues is to disable its driver. Doing this makes Windows ignore the keyboard, turning it off without needing to remove it physically. This is a quick and reversible step, allowing you to use only your external keyboard.

  1. Press the Windows Logo key + R to open the Run dialog. Type devmgmt.msc and press Enter to launch the Device Manager.
  2. In the Device Manager, find and double-click the Keyboards section to expand it.
  3. All keyboards connected to your computer will be listed under the Keyboards section. Locate and right-click the entry for the laptop’s built-in keyboard.
  4. In the context menu that appears, click on Disable.
     
  5. Click on Yes in the dialog box to confirm and disable the laptop’s built-in keyboard.

If you do not see a Disable option in the resulting context menu, do not worry; you will see an Uninstall option, and you can click on that to uninstall the drivers for the built-in keyboard instead of simply disabling it. Once you do so, you will see a dialog box asking you to confirm the action—click on OK to provide confirmation and uninstall the drivers for the built-in keyboard.

Uninstalling mouse and keyboard drivers

If you uninstall the drivers for the laptop’s built-in keyboard instead of disabling it, be cautious—Windows 10 might automatically update the drivers after detecting the keyboard. If that happens, you will have to navigate back to the Device Manager and uninstall the drivers for the laptop’s built-in keyboard once again.

2. Disable the Service that Controls the PS/2 Port

Another way to disable the laptop keyboard is by turning off the PS/2 port service, which manages the built-in keyboard connection. Disabling this service stops the keyboard from sending any input, letting you use an external keyboard without accidental keystrokes.

  1. Press Windows + X and select Command Prompt (Admin).
    Opening Command Prompt as an administrator
  2. Enter the command:
    sc config i8042prt start= disabled
  3. Restart your computer; the laptop keyboard should now be disabled.
  4. To re-enable the keyboard, use this command:
    sc config i8042prt start= auto
ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.

Comments

39
    AP
    Arif Cahyo Prasetyo May 6, 2019

    i dont have disable option on windows 10, how can i disable it? if i uninstall it will install again automatically

      KA
      K. Arrows Author May 6, 2019

      You have to right click on the individual drive in Device Manager to disable it.

    NA
    nanand Dec 27, 2019

    How to turn it on again?

      SW
      Shane Warren Author Dec 29, 2019

      Scan for hardware changes or enable the driver again.

    IS
    iSyed Aug 8, 2020

    How to you make the disable option appear again? If that’s even possible. However if not, does uninstalling twice really work? Since i disabled the option to reinstall drivers automatically in control panel and uninstalled it, giving up after it ‘magically’ reinstalled. Is there another ‘trick’ to disabling the keyboard?

      SW
      Shane Warren Author Aug 9, 2020

      I don’t think there is. Windows automatically reinstalls some drivers and you can try to prevent it from doing so by:
      https://appuals.com/stop-wi
      After doing this, you can try to uninstall the drivers and check if it works.

      Reply
    MU
    M.safi ullah Aug 19, 2020

    I fellows the instruction but my laptop keyboard is still not disable. There is a fault with my laptop backspace key which is not working and it suddenly earse all my written work. Please help to resolve my problem. Thank you.

      SW
      Shane Warren Author Aug 20, 2020

      Connect an external keyboard to it and disable it from the Device Manager.

    GO
    Govin Oct 20, 2020

    how if the power button is inside the keyboard? will the power button also disabled? if yes, then i would not able to turn it on again

      MZ
      Muhammad Zubyan Author Oct 21, 2020

      It won’t disable the power button of your keyboard. The power button is not associated with Windows or any Operating system you install on your Laptop. So it’s safe you can disable your Laptop’s Keyboard.

      Reply
    HU
    hussain Nov 6, 2020

    my laptop keyboard is pressed now i want to disable laptop keyboard and and enable external keyboard. what should i do any one help me.?

      MZ
      Muhammad Zubyan Author Nov 7, 2020

      Have you tried uninstalling the keyboard driver? If no, please repeat the first method again. Once you uninstall the driver just plug in your external keyboard and it should work properly.

    EK
    Elijah Kohrt Nov 30, 2020

    My computer reinstalls the keyboard every single time I restart.At one point I resolved the issue by installing a wrong driver, but I forget how to do that. 🙁

      MZ
      Muhammad Zubyan Author Nov 30, 2020

      Just disable the driver. It will not be installed again if you disable the driver.

        EK
        Elijah Kohrt Dec 1, 2020

        That isn’t listed as an option. Only “Update”, “Uninstall”, “Scan for Hardware Changes”, and “Properties”

          MZ
          Muhammad Zubyan Author Dec 4, 2020

          Okay in that case lets uninstall the incorrect driver as you said it worked for you before here is how you can do that:-1. Open Device Manager
          2. Go to Keyboard Section and Expand it.
          3. Right-click Standard PS/2 Keyboard and choose Update Driver.
          4. Select “Browse my computer for driver software.”
          5. In the next step select “Let me pick from a list of available drivers on my computer”
          6. Untick the “Show Compatible Hardware” option.
          7. Now select the driver which isn’t compatible with your Laptop’s keyboard.
          8. Restart your computer.Hope this helps. Keep me updated.

          AK
          akmaza Dec 22, 2020

          still not working

          MZ
          Muhammad Zubyan Author Dec 26, 2020

          Have you tried disabling the driver of the Laptop’s keyboard?

          AK
          akmaza Dec 26, 2020

          already tried that

          MZ
          Muhammad Zubyan Author Dec 28, 2020

          You must be choosing the wrong driver is it possible to provide a screenshot of your driver you are disabling? Also, are there any 3rd party touchpad drivers installed on your PC?

          AK
          akmaza Feb 23, 2021

          yup. already

    ¿B
    ¿Taco o Burrito? Mar 22, 2021

    When i change the driver software the external keyboard stops working as well any ideas on what to do?

      MZ
      Muhammad Zubyan Author Mar 24, 2021

      What are you talking about exactly? Can you elaborate a bit more, please?

    АК
    Артур Косяков May 6, 2021

    that doesn’t work, also tried install other driver in device manager, and also tried with gpedit

      MZ
      Muhammad Zubyan Author May 11, 2021

      Try disabling the i8042prt driver and check to see if that resolves your issue, to disable this driver follow the steps below:-1. Click on the Search bar then search for Command Prompt, click “Run as administrator”.
      2. Type the following command:- sc config i8042prt start= disabled3. Restart your computer and check to see if the issue persists.Keep me updated so that we can add this to article if it works.

      Reply
        HK
        HK1 May 14, 2021

        i just wanted to say this method worked for me and nothing else did. I tried gpedit, uninstall, and changing to a fake driver, but this “sc config i8042prt start = disabled” worked. I wonder why no other site said to do this?Anyways, thank you!

          MZ
          Muhammad Zubyan Author May 14, 2021

          This basically disables the service that controls the Laptop keyboard and doesn’t let it start on Windows startup that’s why it worked for you. If you want to enable your keyboard in future you can use this command:-sc config i8042prt start = auto

    A
    Afonso P. Jun 9, 2021

    Thank you so much Kevin…I was trying to do this for 2 hours and nothing worked (nothing!) after the new Windows 10 update. The only thing that did work was the “2. Disable the Service that controls the PS/2 port” method. Thank you so much!!!

    ED
    Ed Sep 26, 2021

    Disabling the port worked for me. Thanks for providing this very simple solution! My faulty keyboard was sporadically deleting everything I wrote, which made using the laptop quite a fraught experience. Thanks again.

      MM
      Mmagician Jul 22, 2022

      Yikes! My faulty internal keyboard would suddenly make it impossible to type anything but at least it didn’t delete anything.
      I’m hoping that disabling the port will provide the permanent solution I’ve been looking for rather than uninstalling the keyboard every time things went wrong.
      Thank you, Kevin!

    GA
    gareth Nov 15, 2021

    using command prompt worked but now i cant enable it back using the command

      MZ
      Muhammad Zubyan Author Nov 15, 2021

      What’s the error that you are facing?

        GG
        Gareth Goh Nov 22, 2021

        it says “Access Is Denied” when i try to re enable it

          MZ
          Muhammad Zubyan Author Nov 23, 2021

          You will have to download a 3rd party tool in order to get the permissions then. It’s a small tool that basically allows you to open files with all permissions. Follow these steps:-(Warning: With great power comes great responsibility, please don’t use this app to run any other program otherwise there will be some serious permissions issues or if the program is any sort of virus it can infect your computer with full permission. Also, setting up your registry incorrectly can cause instability in your computer. Please make a restore point before making any of these changes we won’t be responsible for any damage done to your computer.).1. Download NSudo from this link: https://sudo.to/2mw
          2. Once the NSudo is downloaded. Simply right-click on NSudo and run it as administrator.
          3. Now make sure the selected user is “TrustedInstaller” and the “Enable all privileges” option is checked.
          4. Now type “CMD” and press “Run”.
          5. Once you have done that you should have the Command Prompt window opened with all the permissions.
          6. Simply do all the steps provided in the article and your issue should be resolved.Let me know how it goes for you so we can add this method to the article as well. Thank you!

    TD
    the dude Dec 6, 2021

    Disabling the ps/2 port service and then uninstalling the keyboard driver did the trick perfectly. thanks!

    Reply
    XB
    X-Unlock Br Mar 21, 2022

    Thank you! 🙂

    HF
    Henry Frank Jul 19, 2022

    Thanks for the great guide! Other guides on Youtube did not work, but this one did. Now I can use my laptop with an external keyboard without my laptop’s built in keyboard clicking buttons everywhere! 🙂

    JU
    Juanca Sep 22, 2022

    Good trick. Spent 30+ minutes looking for something like this.
    Thanks for sharing!

    RA
    Ram Apr 25, 2023

    2. Disable the Service that controls the PS/2 port – The best method I found so far. Thank you so much.