Skip to content
Laptop Review

How to Disable a Laptop Keyboard in Windows

By Admin1 min read

You can disable a laptop keyboard in Windows with Device Manager or a command. Windows often won't let you simply disable the built-in keyboard, so the command method works best. Keep a USB keyboard on hand before you start, and write down how to turn it back on.

What you need

  • A USB or Bluetooth keyboard (recommended)
  • Admin rights
  • About five minutes

Method 1: Device Manager

  1. Right-click Start and open Device Manager.
  2. Expand Keyboards.
  3. Right-click Standard PS/2 Keyboard.
  4. Choose Disable device. If you only see Uninstall device, use that and restart.

Windows may reinstall the keyboard after a restart. If so, use Method 2.

Method 2: Command

  1. Right-click Start and open Terminal (Admin).
  2. Run: sc config i8042prt start= disabled
  3. Restart.

The built-in keyboard stops working after the restart.

How to turn it back on

  1. Use an external keyboard or the on-screen keyboard.
  2. Open Terminal (Admin).
  3. Run: sc config i8042prt start= auto
  4. Restart.

You can also re-enable it in Device Manager.

Other options

  • Third-party lock tools: Some free tools lock the keyboard for a while, handy for cleaning or kids.
  • Windows lock: Press Windows + L to lock the screen.

Before you disable it

Safety

Don't remove drivers you don't understand. If the keyboard stops working and you have no external keyboard, you may need the on-screen keyboard to undo it.

Cleaning use

To clean without typing, see how to clean a laptop keyboard. Shutting down is easier.

Frequently asked questions

Will disabling harm the laptop?
No, but it makes the keyboard unusable until you turn it back on.
Does it work on Macs?
Not with these steps. macOS needs different tools.
Can I disable one key?
Not with these steps.
Why does Windows turn it back on?
Windows may reinstall the driver at startup.

About the author

Admin