How to Error Code 45 in Device Manager

People experience a variety of errors when using their Windows systems. The incorrect installation of different software and hardware is the cause of these errors. One such error is error code 45 in the Device Manager. Code 45 is one of the common errors that users might encounter in Device Manager. It might happen as a result of Windows failing to recognize the connected device. You may see the message “Currently, this hardware device is not connected to the computer” with the code 45 in Device Manager.

But you can easily correct this mistake. In this article, we’ll go over several ways to resolve the error code 45 in the Device Manager. So without further ado, let’s get to the causes and solutions for the Device Manager error code 45.

What are the causes of Error Code 45?

Error Code 45 happens due to irregularities in your Windows operating system. It could be because of a system malfunction or glitch. Not only this, but poor code or inconsistencies in drivers can be possible reasons for the Error Code 45 occurrence.

If the problem still persists, it could be due to corrupted Windows registry keys. Even faulty hardware can lead to this problem.

Methods To Fix Error Code 45 in Device Manager

We have listed seven different methods to fix the error code 45 in Device Manager. You can select any one of these methods depending on your requirements and the reason for the error.

1. Connect the Device Again

It can be a possibility that the hardware device is not connected to the computer, or maybe it is connected improperly. In that case, you can follow the steps mentioned below to fix this issue.

  • First of all, you are required to disconnect the device completely from your system.
  • Now make sure that the port and the cable that connect the device to the system are working properly or not.
  • If you find anything wrong with the device cable, you have to replace it with one that is functioning properly. But if the problem is with the port of your system, then you have to visit the service center or your local computer repair store to get it fixed.
  •  After getting things fixed, reconnect the device to your system.
  • At last, confirm that the code 45 in Device Manager has been fixed and that it is showing “This device is working properly” in Device Manager.
    device-status-properties-in-device-manager

This method is quite simple and only works when the hardware device is not connected properly.


2. Uninstall the Device Driver and Install It Again Manually.

One of the major reasons for the improper functioning of the device is a corrupted or broken device driver. Hence, it is also possible that the error code 45 in the Device Manager has also occurred due to a fault in your device driver. So, to fix this problem, you can uninstall and reinstall the device driver manually by following the below-mentioned steps.

  • Search for the device manager and select the top search result to open it. Also, you can simply press the Windows key + X and then click on Device Manager to open it.
    Device manager
  • After opening the Device Manager, look for the device that is showing the error code 45.
  • Once you have located the device, right-click on it and select “Uninstall Device.”
    uninstall-device-from-device-manager
  • Mark “Delete the driver software for this device” and then select “Uninstall.”
    Mark-Delete-the-driver-software-for-this-device
  • Now click on the “Action” tab, and after that, click on “Scan for hardware changes” to refresh the system and install the device and its driver again.
    scan-for-hardware-changes
  • At last, you have to restart your computer to ensure that the error code 45 in the Device Manager has been resolved.

Also Know: How To Fix the “Device Not Migrated” Error


3. Troubleshoot Hardware and Devices

Troubleshooting is one of the most common methods of fixing issues in Windows. You can also fix the error code 45 in Device Manager through troubleshooting. You can troubleshoot your hardware and devices by following the steps mentioned below.

  • Search the Control Panel and click on the top search result.
  • Change the “view by” category to large or small icons.
  • Select “Troubleshooting”.
    Troubleshooting
  • Now select “Hardware and Sound.”
  • Click on “Hardware and Devices.”
    hardware-and-device
  • Now click “Next” in the troubleshooting wizard.
    click-next-button-from-troubleshooting-wizard
  • Follow the instructions that the wizard gives.
  • Finish and restart your PC to make sure that the issue is resolved.

Although, you might not get the “Hardware and Devices” option in Control Panel. It is because the latest versions of Windows 10 exclude it. Don’t worry, you can still troubleshoot the Hardware and Devices. Here are the steps to do so.

  1. Follow “C:\Windows\System32” in File Explorer.
    system32-folder
  2. Look for msdt.exe and launch it.
  3. You’ll get a popup window asking you for the “passkey provided by your support professional.” Remove it by opening Windows Powershell (Admin) and then entering msdt.exe -id DeviceDiagnostic.
  4. Now press the enter key.
  5. You’ll get the troubleshooting wizard for Hardware and Devices. Now, as mentioned above, click on “Next”.
  6. Follow the instructions that the wizard gives.
  7. Finish and restart your PC to make sure that the issue is resolved. This is how you can resolve the issue of code 45 in Device Manager by troubleshooting the hardware and devices.

4. System File Checker

There might be a possibility that the driver files of your device got corrupted or missing. Hence, you are getting error code 45 in Device Manager. You can fix this problem with the default tool of Windows to check and repair such files. System File Checker (SFC) is that tool. Here are the steps to use SFC.

  • Search for the “Command Prompt” and then right-click on it to make it run as administrator.
    Command Prompt
  • Select Yes to verify UAC.
  • Type sfc /scannow and then press the enter key.
    type “sfc /scannow
  • Now it will automatically detect the files with issues and fix them.
  • After it’s complete, exit from the Command Prompt.
  • The system files are fixed now, and you can reconnect the device to make sure it is working properly.

Also Know: How to Fix DISM 0x800f081f Error in Windows 10


5. Check Disk (CHKDSK)

Code 45 in the Device Manager can also be a result of hard drive issues. If you are also having such a problem, then you can use a command run utility, i.e., Check Disk (CHKDSK), to fix it. Here are some steps to use Check Disk (CHKDSK).

  • Search for “Command Prompt” and then right-click on it to make it run as administrator.
  • Select Yes to verify UAC.
  • Type chkdsk.exe /f /r and then press the enter key.
    CHKDSK-command-in-command-prompt
  • Now type Y so that the system can perform a disk check when you restart your computer next time.
    choose-Y-after-scannow-in-cmd
  • Restart your computer to perform the disk check.
  • Once it’s completed, open the Device Manager to make sure that the code 45 error has been resolved.

By following these steps, you can fix the error code 45 in Device Manager if it is caused by a hard drive issue.


6. DISM Scan

One can also fix the errors in his/her computer via DISM scan. The term “DISM” stands for Deployment Image Servicing and Management. Here are the steps to perform a DISM scan.

  • Same as above, run the Command Prompt as an administrator.
  • Select Yes to verify UAC.
  • Type DISM / Online / Cleanup-Image /RestoreHealth and then press the enter key.
  • It will start scanning, wait till it gets completed.
  • After that, restart your PC and open Device Manager to confirm that the error code 45 has been resolved.

Frequently Asked Questions (FAQs)

Q.1 What is Device Manager Code 45?

Device Manager Code 45, or Error Code 45, is one of the most common device manager issues that are faced by users on the Windows operating system. This error usually occurs when the Windows system fails to acknowledge the connected hardware. Your screen will either show ‘The device is not present” or “The device was previously connected to a computer.”

Q.2 How do you fix the “Currently this hardware device is not connected” error?

In order to fix this error on your Windows system, try the fixes mentioned below:

  • Update the drivers.
  • Run Windows Update.
  • Repair the PC Registry
  • Run the Hardware and Devices troubleshooting.
  • Try replacing the USB Device.
  • Reinstall the driver.

Fixed: Error Code 45 in Device Manager

These are some ways to resolve the code 45 error in Device Manager. The cause of the error and the fix may both be different. We hope that the information provided above has sufficiently explained how to resolve the code 45 error in Device Manager. Subscribe to our blogs, bookmark them, and check back for updates for more of this type of information.

Siddharth Jain
Siddharth is a technophile who loves to share his knowledge and love for technology. He likes to pen down all his learning and observations that might help the tech readers. Apart from being a technophile, he is a well-learned pianist.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.