Fix: Operation Failed With Error 0x00004005

Avoid having outdated drivers to prevent the error

by Vladimir Popescu
Vladimir Popescu
Vladimir Popescu
Managing Editor
Being an artist his entire life while also playing handball at a professional level, Vladimir has also developed a passion for all things computer-related. With an innate fascination... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • Update your PC regularly to ensure that you get the latest bug fixes and features.
  • You can attempt to restart the printer to easily resolve the error.
  • Adding the printer manually usually fixes the error especially when the computer can't detect the printer.
To fix various PC problems, we recommend DriverFix: This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:
  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

The 0x00004005 error is one of Windows’ most common printer errors. It occurs when users try adding a network printer to their computers.

The error message reads Windows can’t connect to the printer; the operation failed with error 0x00004005. In this article, we’ll briefly discuss the error and its causes and provide you with ways to resolve it.

In this article

What causes Operation Failed With Error 0x00004005?

The Operation failed with error 0x00004005 is a common error among Windows users. Here are some of the causes of the error:

  • Outdated Drivers – Printers, like most devices we connect to your computers, require specific drivers to run correctly. If the Printer drivers are outdated, you’ll run into errors like the 0x00004005 code.
  • Print Spooler Service – The Print Spooler service is built into Windows to temporarily store print jobs in the computer’s memory until the Printer is ready to print them. If this service stops functioning, it’ll lead to lots of printer-related errors.
  • Misconfigured Network Settings -The 0x00004005 usually arises when you’re trying to add a shared network printer to their PC. If there’s a misconfiguration in your PC’s network settings, it can cause the 0x00004005 error code.
  • Windows Update – Windows users are usually advised to update their PCs regularly. However, installing certain updates can lead to several errors on your PC.  In such cases, a Windows recovery point is beneficial as you can restore your PC to an earlier state where it was completely functional.

How can I fix the Operation Failed With Error 0x00004005?

1. Run the Printer Troubleshooter

  1. Press the Windows key + S, type Troubleshoot, and hit Enter.
  2. In the Settings app, click on Other troubleshooters.
  3. Click on Printer, and click Run button.
  4. Follow the on-screen instructions and restart your PC to check if the Operation Failed With Error 0x0000400 is resolved.

Running the Windows troubleshooter is one of the quickest and easiest ways to resolve the 0x00004005 error.

The troubleshooter will detect anomalies with the Printer Spooler and other necessary services and correct them if required.

2. Update the Printer driver

  1. Press the Windows key + R, type in devmgmt.msc, and hit Enter.
  2. In the Device Manager window, locate the Printer driver, right-click on the Printer, and select Update driver.
  3. In the next window, click on Search driver automatically, and wait for Windows to search and install available drivers.
  4. Restart your PC once the search is completed.

Should you encounter any issues with updating the driver here, you can check out our guide for other ways to go about updating your drivers.

On another hand, you can as well consider a dedicated driver manager that will securely find corrupted or missing drivers that needs updating.

Hence, with DriverFix you can successfully update the Printer driver or any others within a few clicks.

Get DriverFix

3. Uninstall and reinstall Printer driver

  1. Press the Windows key + S, type in Device Manager, and hit Enter.
  2. Locate the printer, and double-click on it to expand the selection. Right-click on the device and select Uninstall device.
  3. Click Uninstall to confirm the driver removal.
  4. Restart your PC once the driver is completely uninstalled.

4. Uninstall Latest Windows Updates

  1. Press the Windows key + I to open the Settings app.
  2. Click on Windows Update and click on Update History.
  3. Then, select Uninstall Updates.
  4. Under the Microsoft Windows section, click on any recent update, and select Uninstall.
  5. Click on Yes in the confirmation prompt to confirm the deletion.

You’re required to update your PC regularly to ensure that you get the latest features and bug fixes on your OS. However, there are specific updates that lead to more bugs when installed.

First, you’ll ensure the error started after installing a particular update to prevent you from removing important updates from your PC.

5. Configure the LAN Manager Authentication Level

  1. Press the Windows key + R, type in gpedit.msc, and hit Enter.
  2. In the Group Policy window, navigate to this path: Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Network security: LAN Manager authentication level
  3. Double-click on Network security: LAN Manager authentication level to open the Properties window.
  4. In the Properties window, click the drop-down menu and select Send LM and NTLM – Use NTLMv2 session security if negotiated.
  5. Click Apply and then click OK.
  6. Close the Group Policy window and restart your PC.

In most cases, the 0x00004005 error occurs due to incorrect configurations of the network security settings. Reconfiguring the LAN Manager is one way to check and resolve the error.

Here is a detailed guide showing you a list of free and paid software to monitor your LAN.

6. Add the Printer Manually

  1. Press the Windows key + I to open the Settings app.
  2. Click on Bluetooth and devices and select Printers & Scanners.
  3. Click Add device.
  4. After a few seconds, you’ll see a link: The printer I want isn’t listed. Then select Add manually.
  5. Click the link, check the box next to Add a printer using a TCP/IP address or hostname, and click Next.
  6. On the next window, type in your local Hostname or IP Address.
  7. Type in your Port name, click Next and follow the on-screen instructions to finish adding the printer.

In some cases, Windows might not detect the printer automatically. When this happens, you must manually add the printer to solve the 0x00004005 error.

7. Restart Printer Spooler Service

  1. Press the Windows key, type in services.msc, and hit Enter.
  2. On the Services window, right-click on the Printer Spooler service and select Restart.
  3. Close the Services window and check if the error persists.

The Printer Spooler Service manages the entirety of the printer’s operations on your PC. Sometimes, the service might stop functioning due to several reasons. If the service stops, you’ll be unable to use the Printer.

8. Update Windows

  1. Press the Windows key + I to open the Settings app.
  2. Click on Windows Update and select Check for Updates. Wait for Windows to scan for available updates. If there are available updates, click on Download to install them.
  3. Once the updates are installed, click the Restart now button to restart your PC.

The 0x00004005 error is common among Windows users and involves little technicality. By following the steps listed above, you should get your printer up and running in no time.

However, if you’ve stumbled upon this error in the past and have alternative solutions to help resolve it, feel free to drop them in the comments.

Still having issues? Fix them with this tool:


Some driver-related issues can be solved faster by using a dedicated tool. If you're still having problems with your drivers, just download DriverFix and get it up and running in a few clicks. After that, let it take over and fix all of your errors in no time!

This article covers:Topics: