Error 0x0000011b — Windows Cannot Connect to the (Shared) Printer
| Code | 0x0000011b |
|---|---|
| Applies to | Printer (Windows error) |
| Severity | User-fixable |
| Most common cause | The PrintNightmare security hardening (CVE-2021-1678) raised the RPC authentication level a print host requires; since the September 2021 updates it is enforced by default, and a client/host pair on different update levels disagree and refuse the connection |
What this code means
Error 0x0000011b — 'Windows cannot connect to the printer' / 'Operation failed with error 0x0000011b' — appears when a PC tries to connect to a printer shared by another Windows PC. It does not occur with USB printers or printers connected by their own network port; it needs a host-and-client pair.
Its origin is a security fix, not a fault in your printer: after the PrintNightmare vulnerability (CVE-2021-1678), Microsoft raised the authentication level for printer connections, and from the September 2021 updates (KB5005565 and family) that raised level is enforced. A host and client that disagree about the required level reject the connection — which is why thousands of working shares 'broke overnight' after Patch Tuesday.
Likely causes
- The PrintNightmare security hardening (CVE-2021-1678) raised the RPC authentication level a print host requires; since the September 2021 updates it is enforced by default, and a client/host pair on different update levels disagree and refuse the connection
- One of the two PCs is missing cumulative updates the other has
- The Print Spooler service on the host PC is stopped
- The printer driver exists on the host but cannot be delivered to the client
How to fix it — step by step
- Update both PCs fully
Install all pending Windows updates on the host PC (the one sharing the printer) AND on the PC that cannot connect, then restart both. The enforcement mismatch disappears when both sides run current code — this is the proper fix and the one to try first.
- Check the host's Print Spooler
On the host, open services.msc and make sure Print Spooler is Running (restart it). A stopped host spooler refuses every client with a connection error.
- Connect through a local port (workaround that keeps security on)
On the client: Devices and Printers → Add a printer → 'The printer that I want isn't listed' → 'Add a local printer or network printer with manual settings' → Create a new port → Local Port → enter the path as \\HostName\ShareName. This connects without the RPC negotiation that is failing.
- Relax the host's RPC privacy setting (last resort — lowers security)
Last resort, host PC only, trusted networks only: in Registry Editor (back up first) go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print, create a DWORD (32-bit) value named RpcAuthnLevelPrivacyEnabled, set it to 0, and restart the host. This disables the CVE-2021-1678 mitigation — a real security protection — so use it only on a trusted home network, note that you did it, and remove it (set to 1) once both PCs are fully updated.
If the code comes back after these steps, treat it as a hardware or service fault rather than a settings problem — that is the honest end of software troubleshooting for this code.
Is it a driver problem?
Rarely. Rarely. 0x0000011b is an authentication mismatch between two PCs, not a broken driver — the same printer prints happily from the host itself. Keeping both PCs fully updated is the real fix; the registry workaround below trades security for convenience and is labelled as such.
Get the official driver or support for your device
If a fix above points you at a driver, get it from the manufacturer only:
Microsoft Support — Update drivers manually in Windows Opens support.microsoft.com
Printer, laptop or PC drivers by brand: HP · Dell · Lenovo · Acer · ASUS · Canon · Epson · Brother · Samsung printers
Related errors
- 0x00000709 — Operation could not be completed — Windows cannot set your default printer, usually because of a registry permission problem or its own default-printer management.
- Code 28 — The drivers for this device are not installed — Windows found the hardware but has no driver for it anywhere on the system.
- Code 31 — This device is not working properly because Windows cannot load the drivers required for it — the driver load itself is failing.
Questions people ask about 0x0000011b
Why did my shared printer suddenly stop connecting with 0x0000011b?
Because a Windows security update changed the rules. The PrintNightmare patches raised the authentication a print host demands from connecting PCs, and enforcement switched on with the September 2021 updates. A PC that took the update and one that did not can no longer agree, so a share that worked for years fails overnight with 0x0000011b.
Is the RpcAuthnLevelPrivacyEnabled registry fix safe?
It works, but understand the trade: setting RpcAuthnLevelPrivacyEnabled to 0 on the host switches off a security mitigation Microsoft added against a real print-spooler vulnerability. On a trusted home network many people accept it as a stopgap; on an office network, do not — update both PCs properly instead, and treat the registry change as temporary if you use it at all.
Verified 2026-11-28 against: helpdeskgeek.com · www.ninjaone.com. Meanings follow the manufacturers' and Microsoft's published documentation; where a code's meaning depends on the exact model, the page says so.