If one of your hardware stops working, and when you open Device Manager an error message pops up: “This device is not present, is not working properly, or does not have all its drivers installed. (Code 24)“, don’t worry as it’s just a common problem, and here’re some working fixes that could help you get rid of this error right away.

Try these fixes

You might not need to try them all; simply work your way down the list until you find the one that solves your problem.

  1. Restart your computer
  2. Restart or replug your hardware
  3. Reinstall or update your device driver
  4. Install all Windows updates

Fix 1: Restart your computer

Sometimes you’ll be seeing the Code 24 error when the hardware isn’t properly configured. So before trying anything complicated, you can try restarting your computer and let Windows do the configuration. More often than not, you’ll be surprised how quickly this trick works.

If restarting your computer doesn’t give you any luck, you can take a look at the next fix below.

Fix 2: Restart or replug your hardware

This error could also be hardware-related. It could mean that your hardware isn’t functioning correctly, or isn’t installed properly. You need to make sure there’s nothing wrong with your hardware, and it’s plugged into your PC securely.

If you’re using a device with a power button, try restarting it and see how things go. You can also try to unplug the device, wait a few seconds and plug it back in.

If restarting or replugging your hardware doesn’t help, simply move on to the next fix.

Fix 3: Reinstall or update your device driver

Drivers are an important computer component. They function as a bridge between your hardware and computer. Usually Windows will use or install the generic driver to help set up your hardware, but that’s not always the case.

In some cases, the Code 24 error indicates that you’re using a faulty or outdated device driver. So you’ll have two ways to fix this problem:

Option 1: Reinstall your device driver

You can follow these simple steps to reinstall your device driver:

The screenshots are from Windows 10, and the steps also apply to Windows 8 or 7.
  1. On your keyboard, press the Windows logo key and R (the r key) at the same time to invoke the Run box.
  2. Type or paste devmgmt.msc. Click OK to open Device Manager.
  3. Click to expand the category your device is in. Right-click the device you need to reinstall driver for, then select Uninstall device. (Here we use the Logitech mouse driver as an example.)
  4. In the pop-up window, check the box next to Delete the driver software for this device. Click Uninstall.
  5. Restart your PC.

Once done, you should see that Windows has automatically configure your device with the generic driver.

If the error reappears after reinstalling your driver, you can use another option below to update your device driver.

In most cases, updating the drivers has the same effect as reinstalling them. And you should try it first because it’s often easier and safer.

You can do this manually, if you like, by visiting each manufacturer’s download page, finding the right drivers, etc. But that takes time and computer skills. If you’re not comfortable playing with device drivers, we recommend using Driver Easy. It’s a tool that detects, downloads and installs any driver updates your computer needs.

  1. Download and install Driver Easy.
  2. Run Driver Easy, then click Scan Now. Driver Easy will then scan your computer and detect any problem drivers.
  3. Click Update All to automatically download and install the correct version of all the drivers that are missing or out of date on your system.
    (This requires the Pro version – you’ll be prompted to upgrade when you click Update All. If you don’t want to pay for the Pro version, you can still download and install all the drivers you need with the free version; you just have to download them one at a time, and manually install them, the normal Windows way.)

Once you’ve updated your device drivers, restart your computer and check if your hardware is now working.

If this method doesn’t do the trick for you, simply check out the next one below.

Fix 4: Install all Windows updates

Windows updates sometimes include patches that could repair faulty or missing drivers. If you can’t remember when was the last time you installed system updates, do it now as it might save your day.

Here’re the steps of how to install system updates on Windows 10, 8 or 7:

Windows 10

  1. On your keyboard, press the Windows logo key and I (the i key) at the same time to open the Windows Settings app. Click Update & Security.
  2. Click Check for updates. It might take up to an hour for Windows to download and install available updates.
To make sure you’ve installed all the system updates, repeat these steps until it prompts “You’re up to date” when you click Check for updates again.

Windows 8

  1. On your keyboard, press the Windows logo key and I (the i key) at the same time. From the right menu, click Change PC settings.
  2. From the left menu, select Windows Update. Click Check for updates now.

Windows 7

  1. On your keyboard, press the Windows logo key. Select Control Panel.
  2. Select System and Security.
  3. Click Windows Update.
  4. Click Install updates. It’ll take a while (up to 1 hour) for Windows to install all the updates.

After installing all the system updates, restart your PC and check if the error has gone.


So these are the fixes for your Code 24 error. If you have any ideas or questions, feel free to drop a line and we’ll get back to you.

    Be the first to like this article