Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

My Mouse and Keyboard Stopped Working, but Work Elsewhere. How Do I Fix Them?

Question:

I have an older Dell that has been upgraded to Windows 10.

The other night I ran a maintenance tool and turned the computer off  and on. When it came back on, the keyboard and mouse were not working. They connect by USB ports. When unplugged and replugged the computer acknowledges they are there. But I am unable to use the cursor or get any response from the keyboard in order to correct any problem.

The mouse works fine when connected to a different computer.

In your infinite wisdom…would you possibly have any ideas for me?

Several ideas.

I have a guess as to what happened, and a couple of ideas on what I might do next, were I in your shoes.

Become a Patron of Ask Leo! and go ad-free!

What I think happened

I believe the maintenance tool “cleaned up” the drivers for your mouse and keyboard.

In other words, it removed them and replaced that software with something else — something that obviously doesn’t work.

I can’t really say why it did so. Perhaps it mistakenly thought the driver software was malicious. Perhaps, as a performance optimization, it thought there was a better choice. Perhaps it just screwed up.

Either way, it made a mistake. There’s too little to go on to say whether that’s serious enough to stop using that tool. If it makes mistakes like this consistently, of course, I would look for an alternative.

Try a different mouse and keyboard

First, I would try a different mouse and keyboard if you have some lying around.

While it’s more likely this problem affects all USB mice or keyboards, there’s a chance it doesn’t. If so, and these replacement devices work, this makes interacting with the computer significantly easier. You can still try some of the steps below to restore your original devices’ functionality, but as you’ll see in the next steps, at least you can do so relatively easily.

Restore from a backup

Computer KeyboardHonestly, if this were my machine and I wasn’t lucky enough to have a different mouse/keyboard combination that worked, I’d restore my machine to an image backup taken prior to the problem. That way, I’d effectively “undo” the damage, and would know not to run that tool again without understanding why it disabled the input devices.

This is another case in which a recent image backup can save you a lot of hassle.

If you haven’t been taking image backups, or don’t have one recent enough to go back to without a lot of loss, then things get uglier.

Accessing a machine without a working mouse or keyboard

If, as I suspect, no mouse or keyboard will work, then you have a dilemma, as all of the recovery steps require you to at least type into the machine.

There are three approaches:

Remote access. If your machine has remote access configured (Remote Desktop is enabled, or you have some other remote access software installed), and you can access it from another machine, do that. Ideally, the other machine will be local, and you can connect to your problem child from a machine on which the mouse and keyboard work.

Safe Mode. Whatever disabled your mouse and keyboard did so within Windows, which would not affect your BIOS or UEFI. That means you should be able to enter safe mode by pressing F8 (perhaps repeatedly) as your machine boots. I honestly don’t know if your keyboard and mouse will work in safe mode, but it’s certainly worth a try.

Recovery disk. You might try booting from a recovery disk and see if the repair tools on that disk give you some options to non-destructively fix your mouse and keyboard drivers. I’m generally not hopeful of this method, as most repair discs focus on options to reinstall Windows. Before you take that path, be sure to read the notes on backing up, below.

If you get access to your system

If you can access to your system one way or another, then there are two approaches to attempt to repair the damage.

First, locate, download, and install the latest drivers for your keyboard, your mouse, and possibly USB in general. You would normally find these at the appropriate website of either the device manufacturer or your computer manufacturer.

If that doesn’t work or is not an option, the second approach is to force Windows to locate drivers as if this were new hardware. You do that by deleting the existing drivers and rebooting. Windows will see “new” hardware for which it has no drivers, at which point it will attempt to locate and install the drivers appropriate to what you have. You’ll find instructions in my article, “How do I force Windows to reinstall a driver?”

That sounds scarier than it really is, but honestly, you don’t have much to lose at this point.

Speaking of which…

Back up

If you’ve gotten this far without success, your remaining options are few. Before we explore what they are, I strongly suggest you take an image backup of your entire machine.

That means rebooting the machine from your backup software’s “emergency” or “recovery” disk, and using the tool not to recover, but to back up. Again, since the problem you’re having is with your installed copy of Windows, booting from a different disk bypasses that problem, and you should be able to interact normally with the backup software.

Create a backup of everything and set that aside. Things are about to get destructive.

Reinstall Windows

Our options seem to come in pairs, and this one is no different. You can either:

  • Reinstall Windows, asking it to “preserve files”, which means your data files will not be erased. Your installed programs on the other hand, will be, and you’ll need to reinstall them when Windows is working again.
  • Reinstall Windows from scratch, which erases everything for you to start over.

Honestly, having just backed up everything, I’d use this as an opportunity to start over with a completely clean slate. Once you’ve done so, reinstall your applications and restore your data from the backup or elsewhere.

And, presumably, think twice about running that maintenance program again.

At least perform a full backup again before you do so, so that any damage is more easily undone the next time you try.

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

Podcast audio

Play

24 comments on “My Mouse and Keyboard Stopped Working, but Work Elsewhere. How Do I Fix Them?”

  1. Hmmmm……would really like to know what program did that….but I understand you might be reluctant to name names, because it is so hard to tell what the actual cause might be…

    Reply
  2. The biggest issue here, is that unless you are using a gaming mouse, an RGB keyboard, or other sort of specialized mouse & keyboard, no one writes drivers for them anymore. They depend on Windows built in generic drivers, hence the ” plug & play ” aspect of most keyboards, and mice. I’m thinking that the questioner used Windows Clean up, or CCleaner, and did not pay attention to what the programs selected for removal before pushing the button.

    Reply
  3. I have been left without USB support for my mouse and keyboard at times over the years.
    My answer has been to keep a standard serial mouse and keyboard on hand. Shut down,
    plug in the mouse and KB, restart and get to trouble shooting.

    Reply
  4. I have seen comments that Windows 10 1709 cumulative update KB4074588 caused this to happen, and Microsoft say that this issue is resolved in KB4090913.

    Reply
    • Yes! I had this happen about a week after KB4074588 was installed. Worked fine after the update until I restarted the computer a week later. Then mouse and keyboard were recognized when plugged in, but had no power to work (no LED on mouse) after Windows started. Same problem in SafeMode. But worked fine in BIOS and if I booted from Reflect boot disk. Had to restore from prior day’s backup, remove that KB update, and reinstall it. Worked fine after. And Microsoft tech told me this was an emerging problem on some computers.

      Leo, I sent you more detailed info about this problem about 4 weeks ago.

      Reply
      • Here are the additional details I experienced: Microsoft pushed an update around 2/13/18, KB4074588 (OS Build 16299.248). No problems right away, but on 2/19, when I woke my Windows 10 Pro, HP Phoenix 860 PC from sleep, neither the mouse nor keyboard (both hardwired) would work. I could see the computer getting emails, running Macrium Reflect backups, etc., but I couldn’t communicate to the computer to turn it off. I finally held the power button and shut it off. After trying many solutions, I discovered the usb ports work in bootup/BIOS but only until the windows splash screen displays. They work if I boot with the Reflect boot disk. They don’t work in Safe mode once Windows runs.

        Turns out, after the update if you change an item plugged into a usb port, the next time the computer starts, or comes out of sleep (on some subset of machines) it will turn off power to the usb ports. I finally found a solution: uninstall that update, and it will work fine. Even when that update installs again it will continue to work for most people.

        Fortunately, per Leo’s recommendation, I make daily image backups with Reflect, so I could restore to various dates. I found that restoring to 2/12/18, before the update, it worked fine. Restoring to the day before the failure manifested made it work fine. But only until it restarted then the problem was back. So I restored to 2/18/18, removed the update, let it reinstall the update, and it has been working fine ever since.

        Microsoft acknowledges there is a problem – I was able to talk to a tech who admitted the problem, but he didn’t have a solution. I found the solution on the Microsoft forum and on AskWoody.com.

        It is strange that reinstalling the update – which has the exact same build number – does not cause the problem again. I haven’t found the root cause yet. Nor why not all computers are affected. I told Microsoft that I had daily backup images in case they wanted to use them to troubleshoot how it manifests, but they haven’t taken up my offer.

        Reply
    • Ditto, Ditto, Ditto. The big clue was “… [computer] that has been upgraded to Windows 10.” No clean-up software is going to “make a mistake” and get rid of drivers. By now people should know that if they upgrade or update Windows 10, that’s the first place to look for the cause of a new problem.

      Reply
  5. My PC (A Lenovo running Windows 10) occasionally freezes, in that the mouse dies (the led on the bottom goes out) and the cursor is frozen in place. At the same time the keyboard has no discernible function at all.
    This can happen in the middle of anything I’m doing and the only way out I’ve found is to pull the plug and restart. Waiting several hours (just in case there is something the PC wants to do) is no cure.
    Like others I’ve tried the mouse and keyboard in another PC (running XP) and all is fine. The mouse and keyboard from my XP machine work just fine in the W10 machine, providing its in a working mode.

    All in all it’s just a frustration that happens once in awhile, but I would add that my 15yr old Dell (running XP) has never, ever had the number of glitches that I get with W10

    Reply
  6. I’ve had similar issues and the solution was to do shut down, disconnect power, and start again from scratch (NOT just a restart). Sometimes I’ve had to do this multiple times to get the keyboard to work.

    I’ve heard it said that the definition of insanity is repeating the exact same thing and expecting different results. I suppose Windows users are insane…

    Reply
  7. If the ports are available using a PS2 keyboard and mouse will work. This problem happened to me on a laptop and an improperly installed Windows update was the culprit. Fortunately the built in keyboard and touchpad worked and I simply uninstalled the most recent update and restarted. The next time the update was installed correctly.

    Reply
  8. One of the computers I use at work has a similar problem – it gets restarted each weekday and sometimes when it restarts, neither the mouse or keyboard works. Both are PS2 devices. Sometimes it takes 2 or 3 power cycles before the computer finds them again. The computer runs Windows 7. Any thoughts?

    Reply
  9. I had the same problem with the mouse and keyboard not working after Microsoft reloaded Windows on my Dell desktop. After the mouse and keyboard were restored the cd/dvd drive stopped working. Any suggestions on restoring the D: drive. Thanks for any help.

    Reply
    • It sounds counterintuitive but it often helps to go into “Devices” under “Settings” and remove the device driver for that drive. Windows will notice that there’s a device without a driver and reinstall it.

      Reply
    • That could be a driver problem or a hardware problem. If it’s a driver problem, downloading the driver from the laptop manufacturer and reinstalling it would fix the problem. If that doesn’t work, then it’s likely a hardware problem. In that case, you should be able to use a USB mouse.

      Reply
  10. I have a problem with my Lenovo E530 mouse and keaboard they just stopped working i thought mybe there is something wrong inside i opened it finding out that one wire (rite side) on a keaboard was out i dont know how but I did put it back still not working,What could be a problem my keaboard or computer it’s self?

    Reply
  11. I have to disagree that this happens only on machines which have been upgraded to Windows 10, but I certainly think it is probably due to errors which occur during or due to Windows updates.

    I have seen this kind of thing happen over the past month or two to a handful of the 50-60 or so machines at work which generally are running Enterprise versions of Windows, either 7 or 10, installed from corporate image. I have seen it three times on Win 7 and maybe once on Win10.

    My first thought on this, and the general complaint from users, is “My mouse went bad, I need a new mouse!” My diagnostic on this has been to plug in a different USB LED mouse (MICE?) only to find that, contrary to usual practice, the light never goes on in the added or replaced mouse. Also I have seen it affect both older and new models of mice, although here these have only occurred from late July through September 2018, so I would assume a different/later update from those mentioned above may have been the culprit, I didn’t try to localize it.

    Fortunately in my experience it has only affected the mouse and not the keyboard, so I was able to unlock the machines and use keyboard commands to save and close open files and programs and then open a command window and issue the “shutdown /R” command to reboot the machine. After the reboot the mouse LED came back on.

    Which USB port the mouse was plugged in to did not make any difference, as far as I can tell whatever glitch occurred caused the power to be shut off on the USB ports themselves. Sometimes the computer reported a failure of a device plugged into a usb port, but it seemed the usb ports themselves were powered off. On the first machine I noticed this on, which was my own, my keyboard was plugged into a set of USB ports on the rear of machine while the mouse was plugged into the front, so maybe trying a different bank of USB connectors would help.

    Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.