How To Fix Printer Error 0x0000011b On Windows

While trying to add a shared printer on your computer, you may have encountered the error “Windows cannot connect to the printer. Operation failed with error 0x0000011b.”

This error arises mostly after installing the security updates like KB5005565 and KB5005563 on Windows 10 version 21H1 and Windows 11 versions 21H2 and 22H2. So, it’s more of a bug in Microsoft’s security update rather than an error.

What We Know So Far on 0x0000011b Error?

In January 2021, a group of security researchers from CrowdStrike found that hackers could exploit the print spooler service on your computer to gain unauthorized access to your system.

This vulnerability was named CVE-2021-1678 (PrintNightmare vulnerability), through which hackers could invade your computer system remotely using the Remote Procedure Call (RPC) mechanism.

Realizing this, Microsoft released a security patch on January 12, 2021 to address this issue. The security patch for CVE-2021-1678 vulnerability was later updated in September 2021 and was deployed as security updates KB5005565, KB5005563, KB5005627, and KB5005613.

But after these updates were installed, people started facing 0x0000011b errors while they were adding a shared printer on their Windows computers.

While Microsoft is yet to release a permanent patch to fix this issue, we have found a workaround to sort the issue at present.

Tweak the Registry Settings

You can simply create a new DWORD value called RpcAuthnLevelPrivacyEnabled in the registry editor of the host computer and set its value to 0 to fix the 0x0000011b error.

Doing this will turn off RPC communication that attackers could use to attack your network and also bypass the bug in Microsoft’s security update.

You can then add the printer on a client device error-free and even without the risk of attackers attacking your network.

  1. Open Run application on the host computer that is sharing the printer. You can do it by pressing the Windows and R keys simultaneously.
  2. Type regedit there and hit the Enter key.
  3. Click Yes in the UAC popup window.
  4. Copy and paste this location on the address bar of your registry editor and press the Enter key. Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print
  5. Right-click the Print folder on the left pane of the window and go with the New > DWORD (32-bit) Value option.
  6. You will see a new entry with name New Value #1.
  7. Rename it as RpcAuthnLevelPrivacyEnabled. You can also right-click the New Value #1 to rename it.
  8. Now, double-click the value.
  9. Enter 0 under the Value data field.
  10. Click OK.
  11. Again open the Run application. But now, type services.msc there and press Enter key.
  12. Locate Print Spooler and right-click it.print-spooler-service
  13. Choose Restart from the list of options.
  14. Go to the client computer now and add the shared printer. You won’t face any issues now.

Uninstall Latest Security Updates

You can also uninstall the latest security updates installed on your computer to avoid the 0x0000011b error. It would be helpful if you encountered a problem after installing the updates.

However, I don’t recommend uninstalling them if you are in a corporate environment with many clients using the printer.

Uninstalling those updates will again leave your organization more prone to attackers and close to the PrintNightmare vulnerability.

  1. Open Control Panel and click Uninstall a program.
  2. Select View installed updates option on the left pane.
  3. Choose the latest update and click Uninstall.
  4. Click Yes and follow on-screen instructions to complete the uninstallation.

Update Windows

Lastly, check if there are any cumulative or Windows security updates available on your PC.

The updates could possibly include a hotfix to sort out the defects in the previous updates and fix the 0x0000011b error.

At the time of writing this article, Microsoft has not released any patches to address this issue.

  1. Open Settings on your settings on your computer
  2. Go to Windows Update.
  3. Click Check for Updates and install it if any updates are available.
    check for updates in settings

Add a Comment

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