Error 0x0000011b Windows cannot connect to the printer
It can be frustrating to encounter error 0x0000011b while trying to print from a network-shared printer. This guide will explain what's causing the issue and how to fix it without compromising your system's security.
Table of Contents
What is Error 0x0000011b and why It Happens
If you see the message:
'Windows cannot connect to the printer. Operation failed with error 0x0000011b,'
you're likely dealing with a network printer issue that has become more common since specific Windows updates.
The problem typically arises after installing security patches such as KB5005568, KB5005566, KB5005565, and sometimes KB890830. These updates enhance security against vulnerabilities like Windows Print Spooler Spoofing but unintentionally affect the way Windows handles authentication with network-shared printers.
The Trade-Off: Security vs. Functionality
Uninstalling the problematic updates might restore printing functionality, but doing so exposes your network to threats like PrintNightmare and MSHTML vulnerabilities. Fortunately, there's a safer workaround that doesn't involve removing any updates.
Solution: Disable RPC Encryption for the Print Spooler
You can resolve the error by tweaking the Windows Registry on the host computer (the machine that shares the printer). This turns off RPC encryption for printer communication without affecting the rest of your network security.
Follow these steps:
- Press Windows + R, type regedit, and hit OK to open the Registry Editor.
- Navigate to:
- HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print
- Right-click the Print key, choose New > DWORD (32-bit) Value, and name it:
- RpcAuthnLevelPrivacyEnabled
- Double-click the new entry, set the Value data to 0 and click OK.
- Close the Registry Editor.
- Next, restart the Print Spooler service:
- Press Windows + R, type services.msc and press Enter.
- Scroll down and find Print Spooler.
- Right-click it and select Restart.
- Close the Services window.
Now, go back to your client's computer and try connecting to the printer again.
Final Thoughts: A Balanced Fix
Turning off RPC encryption through the registry is a safe, effective fix for error 0x0000011b. It keeps your security updates intact while restoring printer functionality. If the error persists, ensure all computers are updated and configured correctly, and consider rechecking your network settings.