sodcalculator

10 Tech How-To

Unlock Laptop When Keyboard Not Working

Guide 10-5442 · Updated · Step by step

If your laptop keyboard stops responding at the login screen, you can still get in using the on-screen keyboard, a physical USB keyboard, or Windows recovery tools. This guide covers every practical method, from the quickest fix to the most thorough, so you can regain access even when keys are dead.

What You’ll Need

  • A working mouse, trackpad, or touchscreen (to click the on-screen keyboard)
  • Another computer (optional, for creating a password reset disk or bootable USB)
  • A USB keyboard (optional, but the easiest fix if you have one)
  • Your Microsoft account password or PIN (you’ll still need to type it somehow)

Step-by-Step

Method 1: Use the On-Screen Keyboard (No Extra Hardware)

  1. On the login screen, look for the Ease of Access icon (a small clock or person icon) in the bottom-right corner. Click it.
  2. Select On-Screen Keyboard from the menu that appears. A virtual keyboard will pop up on the screen.
  3. Click the keys with your mouse or touchpad to type your password or PIN. Press Enter on the virtual keyboard when done.
  4. If you don’t see the Ease of Access icon, press Windows key + U (if your Windows key works) or click the power icon, then hold Shift and click Restart to boot into recovery options and enable the on-screen keyboard from there.

Method 2: Plug In a USB Keyboard

  1. Find any USB keyboard (wired or with a USB receiver) and plug it into a working USB port on your laptop.
  2. Wait a few seconds for Windows to detect it. The keyboard should work immediately.
  3. Type your password or PIN using the USB keyboard, then press Enter.
  4. If the USB keyboard doesn’t work, try a different port (preferably a USB 2.0 port, often black) and restart the laptop with the keyboard plugged in.

Method 3: Use Windows Recovery Environment (If You Can’t Log In)

  1. Restart your laptop. As soon as the manufacturer logo appears, press the power button to turn it off. Repeat this 2-3 times until you see Preparing Automatic Repair.
  2. When the blue recovery screen appears, click Advanced options.
  3. Go to Troubleshoot > Advanced options > Startup Settings.
  4. Click Restart. When the list of startup options appears, press F5 (or number 5) on your built-in keyboard to boot into Safe Mode with Networking.
  5. In Safe Mode, the keyboard may work (since only basic drivers load). If it does, log in and use the on-screen keyboard or update your keyboard driver.
  6. If the keyboard still doesn’t work in Safe Mode, use the on-screen keyboard (click the Ease of Access icon on the login screen) to log in, then proceed to the driver fix below.

Method 4: Reset Your Password (If You Can’t Type at All)

  1. If you have a Microsoft account, use another device to go to account.microsoft.com and reset your password. Then restart your laptop and log in with the new password using the on-screen keyboard.
  2. If you have a local account and created a password reset disk earlier, insert it and click Reset password on the login screen, then follow the wizard.
  3. If you have no reset disk, you may need to use another computer to create a bootable Windows installation USB, then boot from it and choose Repair your computer > Troubleshoot > Reset this PC. This will reinstall Windows but keep your files (choose Keep my files). This is a last resort.

Common Mistakes

  • Assuming the keyboard is broken – Often it’s a driver issue or a stuck key. Test with a USB keyboard first.
  • Not checking the Ease of Access icon – It’s small and easy to miss, but it’s the fastest way to get a virtual keyboard.
  • Using the wrong password – If you recently changed your Microsoft password online, your laptop may still be using an old cached password. Try the new one, then the old one.
  • Forgetting to press Enter on the virtual keyboard – Some users type the password but don’t click the Enter key, so nothing happens.
  • Panicking and restarting repeatedly – This can trigger automatic repair loops. Instead, be patient and try the methods in order.

Tips

  • Keep a USB keyboard handy – They’re cheap and instantly solve the problem.
  • Use a PIN instead of a password – PINs are often shorter and easier to type with a virtual keyboard.
  • Update your keyboard driver – After logging in, go to Device Manager, expand Keyboards, right-click your keyboard, and choose Update driver. Also try uninstalling the driver and restarting – Windows will reinstall it.
  • Check for stuck keys – If a key is physically stuck, gently pry it up and clean underneath with compressed air.
  • Enable the on-screen keyboard at startup – Go to Settings > Ease of Access > Keyboard and turn on Use the On-Screen Keyboard. It will then appear at the login screen automatically.

Troubleshooting

  • On-Screen Keyboard doesn’t appear – Try pressing Windows key + U on your built-in keyboard. If that fails, use the USB keyboard method. If you have no USB keyboard, you may need to boot into recovery and use the on-screen keyboard from there (Method 3).
  • USB keyboard not detected – Plug it into a different port, especially a USB 2.0 port (often black). Restart the laptop with the keyboard plugged in. If it still fails, the USB controller may be disabled – boot into Safe Mode (Method 3) and it should work.
  • Safe Mode doesn’t help – If the keyboard fails even in Safe Mode, it’s likely a hardware issue. Try an external keyboard permanently, or consider a laptop repair.
  • Can’t remember your password – Use the Microsoft account reset method (Method 4). For a local account, you’ll need the reset disk or a full reset.
  • Laptop boots to a black screen – If you can’t see the login screen at all, force shutdown (hold power button 10 seconds), then power on. If it still shows black, connect an external monitor to check if the display is the issue.

Frequently Asked Questions

Can I unlock my laptop without a keyboard and without a mouse?

Yes, if your laptop has a touchscreen, you can tap the Ease of Access icon and use the on-screen keyboard. If not, you’ll need a USB keyboard or mouse, or use the power button to enter recovery mode (Method 3) which allows keyboard navigation.

Why did my laptop keyboard stop working suddenly?

Common causes include a stuck key, outdated or corrupted drivers, a recent Windows update, or a hardware failure. Try a USB keyboard to determine if it’s a software or hardware issue.

Will resetting my PC fix the keyboard?

If the issue is software-related, yes. A reset reinstalls Windows and drivers. If the keyboard is physically damaged, it won’t help. Try Safe Mode first to see if the keyboard works there.

How do I use the on-screen keyboard if I can’t click anything?

If you have no mouse or touchpad, you can use the Tab key (if it works) to navigate, but if the keyboard is completely dead, you’ll need to use the power button to boot into recovery (Method 3) and use the on-screen keyboard from there, or plug in a USB mouse.

Can I use my phone as a keyboard to unlock my laptop?

Yes, if you have a USB cable and your phone supports USB tethering for input. Some apps like “Remote Mouse” allow you to use your phone as a keyboard over Wi-Fi, but you’ll need to install the app on the laptop first, which is tricky if you can’t log in. A USB keyboard is simpler.

What if the keyboard works in BIOS but not in Windows?

That indicates a driver or software issue. Boot into Safe Mode (Method 3), then update or reinstall the keyboard driver in Device Manager. If that fails, a system restore to a point before the issue started may help.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →