Error 0x0000011b: Windows cannot connect to the printer
Quick answer
Error 0x0000011b (“Operation failed”) appears when a Windows PC tries to connect to a printer shared by another PC or a print server. It surfaced after the September 2021 Windows updates that enforce stronger authentication on printer RPC connections (CVE-2021-1678). Microsoft’s fix is to install current Windows updates on both PCs, then restart.
Basic checks first
- The message reads “Operation failed with error 0x0000011b” when you choose Connect on a printer shared by another computer.
- The printer is attached to, or installed on, another Windows PC or a print server, and your PC reaches it over the network.
- Both PCs are connected to the same local network.
- You know whether Windows installed updates shortly before the error started (in the Microsoft Q&A reports, sharing “worked yesterday”).
- You can sign in with the same account on both PCs, or you know the host PC’s username and password.
Step-by-step by operating system
Fixes by connection type
This is the setup in the Microsoft Q&A thread: one PC wired to the printer and shared with a second PC. Update and restart both PCs, then add the printer again as \\ComputerName\PrinterShareName.
Microsoft’s order for administrators: update every client and the server first, then enforce the stronger authentication on the server with RpcAuthnLevelPrivacyEnabled = 1. A client without the January 12, 2021 update or later cannot print through the server once enforcement applies.
When the printer is cabled to the host PC, the 0x0000011b failure is in the network connection between the two PCs, not in the cable. Check that you can open \\ComputerName from File Explorer on your PC.
Differences by brand
Decision tree
Frequently asked questions
What is printer error 0x0000011b?
It is the code in “Operation failed with error 0x0000011b”, which Windows shows when a PC cannot connect to a printer shared by another PC or a print server. Reports began in September 2021, after Microsoft’s updates started enforcing a higher authentication level on printer RPC connections to fix CVE-2021-1678.
How do I fix “Windows cannot connect to the printer” 0x0000011b on Windows 11 or Windows 10?
Install current Windows updates on the PC sharing the printer and on the PC connecting to it, and restart both. Then follow Microsoft’s shared printer checklist for Windows 11 and 10: share the printer on the host, check \\ComputerName opens, turn on Network discovery and File and printer sharing, and add the printer manually by \\ComputerName\PrinterShareName.
Is the regedit fix for “Windows cannot connect to the printer” 11b safe?
The community workaround adds the DWORD RpcAuthnLevelPrivacyEnabled = 0 under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print on the host PC, then restarts the Print Spooler. Microsoft lists the value 0 as “Not recommended” because it turns off the protection and leaves devices unprotected. Microsoft also warns that incorrect registry changes can cause serious problems, so back up the registry first and switch the value back to 1 when all PCs are updated.
Should I uninstall KB5005565 to fix 0x0000011b?
Some users in the Microsoft Q&A thread removed KB5005565 (or KB5005573 on a print server) and could print again, and one reported a new problem afterwards. Microsoft’s own guidance goes the other way: install the January 12, 2021 update or a later one on all client and server devices.
Why does my print job disappear from the queue without printing?
In the Microsoft Q&A thread, the job appeared in the queue with a blank status, vanished after about a minute and nothing printed, on the same PC that then failed with 0x0000011b. Fix the connection to the shared printer first, using the steps on this page.
Do I need to restart after changing RpcAuthnLevelPrivacyEnabled?
Yes. Microsoft says a restart of the device or of the spooler service is required for the change to take effect.
Last updated · Content is independent and not sponsored by any manufacturer.
Sources & methodology
- Microsoft Support: Managing deployment of Printer RPC binding changes for CVE-2021-1678 (KB4599464) OS vendor: the printer RPC (remote Winspool) authentication change, the January 12, 2021 and September 14, 2021 phases, the RpcAuthnLevelPrivacyEnabled registry value (1 enforces, 0 not recommended and unprotected), the instruction to update all client and server devices, and the restart requirement
- Microsoft Q&A (community thread): Error 0x0000011b - No Workgroup Printer access - it worked yesterday! Community thread opened September 16, 2021, not official guidance: "Operation failed with error 0x0000011b" when connecting to a printer shared from another PC; users report the RpcAuthnLevelPrivacyEnabled = 0 workaround and uninstalling KB5005565 or KB5005573, one with a new problem afterwards
- Microsoft Support: Fix shared printer connection problems in Windows OS vendor, Windows 11 and 10: sharing the printer on the host PC, testing \\ComputerName, credentials, Network discovery and File and printer sharing, adding the printer manually by \\ComputerName\PrinterShareName, and removing and reconnecting it
Spotted something inaccurate? Report a content issue