If you are getting Windows cannot access this hardware (Code 40) error on one of your devices it means that Windows is not able to access that hardware. This Error shows up only when the devices service key or subkey information in the registry is missing or recorded incorrectly.



The only way to resolve this issue is to reinstall the device driver manually.

1] Open the device manager, and select the device in question.
2] Right-click on the device, and Select Uninstall from the menu that appears.
3] Next, choose Action on the menu bar, and select Scan for hardware changes to reinstall the driver.

Once the device is detected, Windows Update Service will find and install new drivers. However, if you have downloaded a stable version from the OEM website, you can choose to install it manually as well.