While trying to add a shared printer on your computer, you may have encountered the error Windows cannot connect to the printer. The operation failed with error0x0000011b.
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 Do 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 facing0x0000011berrors 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 calledRpcAuthnLevelPrivacyEnabledin the registry editor of the host computer and set its value to 0 to fix the0x0000011berror.
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 the 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.
5.Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print
6. Right-click the Print folder on the left pane of the window and go with the New > DWORD (32-bit) Value option.
7. You will see a new entry with the name New Value #1.
8. Rename it as RpcAuthnLevelPrivacyEnabled. You can also right-click the New Value #1 to rename it.
9. Now, double-click the value.
10. Enter 0 under the Value data field.
11. Click OK.
12. Again open the Run application. But now, type services.msc there and press Enter key.
13. Locate Print Spooler and right-click it.
14. Choose Restart from the list of options.
15. Go to the client’s computer now and add the shared printer. You won t face any issues now.
Read More: CANON PRINTER ERROR 5200: 5 SIMPLE STEPS TO FIX IT IN 2023!
Uninstall Latest Security Updates
You can also uninstall the latest security updates installed on your computer to avoid the0x0000011 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.
- Open Control Panel and click Uninstall a program.
- Select the View installed updates option on the left pane.
- Choose the latest update and click Uninstall.
- Click Yes and follow the on-screen instructions to complete the uninstallation.
Read More: 7 SIMPLE STEPS TO FIX ERROR PRINTING ON YOUR HP PRINTER!
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 the0x0000011berror.
At the time of writing this article, Microsoft has not released any patches to address this issue.
- Open Settings on your computer.
- Go to Windows Update.
- Click Check for Updates and install it if any updates are available.