Fix Hardware device is not connected (Code 45) error permanently

Ivan Jenic
by Ivan Jenic
Troubleshooting Expert
0 Comments
Download PDF
Affiliate Disclosure

  • Code 45 Hardware device is not connected shows when you try accessing a device that it is physically connected, but Windows cannot recognize it.
  • Reconnect your device, turn it on if possible, and install device drivers or update them. These are the most common ways to fix this. More details in the article.
  • This article is part of a series about connection issues with devices. Check out the Device Connection Error section on the site.
  • If your computer is slow, or you might have random errors, visit the Windows 10 Troubleshooting Hub to find out how to deal with them.
hardware device not connected error 45

Are you getting the error message “Currently, this hardware device is not connected to the computer. (Code 45) ? Don’t be alarmed, this post is meant just for you.

Several peripheral devices may be connected to the PC such as USB, mouse, keyboard, and other USB connected devices. Error code 45 pops up most especially on Windows 10 PC when the OS is unable to communicate with the connected device. The error implies that the connected hardware device is not being recognized by Windows, hence the error message.

However, this error can also be caused by corrupt Windows registry keys, outdated device drivers, or faulty hardware. Meanwhile, we have come up with applicable solutions for the error code 45 problem.

Windows 10 won’t recognize hardware? Try these solutions

  1. Repair PC Registry
  2. Try performing a DISM scan
  3. Update Drivers
  4. Run Windows Update
  5. Uninstall and Reinstall Driver
  6. Run Hardware and Devices Troubleshooter
  7. Replace the USB Device

Solution 1 – Repair PC Registry

The simplest way to repair your Windows registry is to use a dedicated tool, such as CCleaner. Alternatively, you can also use Microsoft’s System File Checker to check for system file corruption. The utility program verifies the integrity of all system files and repairs files with problems when possible. Here’s how to run an SFC scan on all Windows’ versions:

  1. Go to Start > type cmd > right-click Command Prompt > select Run as Administrator.command prompt hardware device not connected
  2. Now, type the sfc /scannow command.sfc scan hardware device not connected
  3. Wait for the scanning process to complete and then restart your computer. All corrupted files will be replaced on reboot.

Solution 2 – Try performing a DISM scan

If the previous method didn’t fix the problem for you, perhaps you might want to try running a DISM scan. This is fairly simple to do, and you can do it by following these steps:

  1. Start Command Prompt as an administrator.
  2. Once the Command Prompt opens, enter DISM /Online /Cleanup-Image /RestoreHealth and press Enter to run it.
  3. The DISM scan will now start. This scan can take about 20 minutes or more, so don’t interfere with it or interrupt it.

Once the scan is finished, your installation should be repaired and the issue will be gone.


Solution 3 – Update Drivers

Obsolete or old device drivers may cause error code 45. Follow the steps below to update the driver:

  1. Go to Start > Type Device Manager and hit Enter key.
  2. Click on the category of the affected device (such as USB, mice, keyboards, etc) to expand it.
  3. Right-click on the affected driver and click on Update Driver Software.update driver software error 45
  4. Follow the prompts to update the device driver.

If you want to update all your drivers automatically, you can always use third-party solutions such as TweakBit Driver Updater. By using this tool, you’ll update all your drivers automatically with just a couple of clicks.

    –  Get now Tweakbit Driver Updater

Disclaimer: some functions of this tool might not be free


Solution 4 – Run Windows Update

In addition, you can fix code 45 error problem by updating your Windows 10 OS to the latest version. Microsoft constantly releases Windows updates so as to improve the system’s stability and fix various issues and errors associated with the startup error. Follow these steps to update Windows 10 OS:

  1. Go to Start>type update in the search box and then click on Windows Update to proceed.
  2. In the Windows Update window, check for updates and install the available updates.windows update error 45
  3. After the update is complete, restart your Windows PC.

Solution 5 – Uninstall and Reinstall Driver

Windows users reported that they were able to solve the code 45 error problem by trying out this fix. Here’s how to do this:

  1. Right-click on Start > Select Control Panel.
  2. Double-click System > Click on the Hardware tab, and then select Device Manager.
  3. Click on the category of the affected device (such as USB, mice, keyboards, etc) to expand it.
  4. Right-click on the affected driver > Click Uninstall, and then follow the prompts.uninstall device hardware device not connected
  5. Restart your PC. Windows automatically detects the change in your hardware.
  6. Download and install the hardware’s driver from the official manufacturer’s website or Microsoft’s driver download center.

Solution 6 – Run Hardware and Devices Troubleshooter

One of the simplest ways of fixing the hardware device connectivity problem is to run Hardware and Devices troubleshooter. This feature checks for occurring issues and enables the correct installation of new hardware devices. Here’s how to run the troubleshooter:

  1. Go to Start > Select Control Panel.
  2. Now, go to View by option at the top right corner, click the drop-down arrows, and then select Large icons.windows troubleshooter error code 45
  3. Click Troubleshooting > Click on the View all option at the left pane.
  4. Hence, click on Hardware and Devices. Follow the prompts to run the troubleshooter.

Solution 7 – Replace the USB Device

If you are still experiencing the code 45 error problem after trying all the fixes above, it is most likely that the device may be faulty. Some hardware devices are not genuine, hence, they do not last long. You fix the faulty device if you have good technical knowledge or consider consulting a computer engineer to help you fix it.

However, we do recommend that you purchase a new device and install it on your Windows PC normally. This will prevent the “currently this hardware device is not connected to the computer. (code 45) error” on your PC.

We’d love to hear from you if these solutions helped. Let us know your experience by leaving your comment in the section below.

FAQ: Learn more about Hardware device not connected error 45

  • How do I reconnect a hardware device?

Usually, hardware changes are detected after a reboot and are followed by an automated install. If that doesn’t happen, download and install the drivers for the device. If you can’t, it means Windows has an error and you need this guide

  • How do I enable hidden devices in Device Manager?

Click Start and search for device manager. In the Device Manager window, in the menu bar, select View and tick the Show hidden devices option.

  • How do you fix Currently this hardware device is not connected error?

Closely follow the instructions in this article, where you will see exactly what you have to do to get rid of the error.

Editor’s Note: This post was originally published in November 2017 and has been since revamped and updated in May 2020 for freshness, accuracy, and comprehensiveness.

Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!