0x0000011b: Windows cannot connect to the printer
Most likely cause: The PC sharing the printer and the PC connecting to it are on different Windows update levels, so they disagree on the required print-connection security
Try first: Confirm it's a shared-printer connection
Likely causes
- The PC sharing the printer and the PC connecting to it are on different Windows update levels, so they disagree on the required print-connection securitymost likely
- On Windows 11 22H2 and later, printer connections use RPC over TCP by default, and a firewall on the sharing PC blocks port 135 or the dynamic RPC portspossible
- An old or unsupported Windows version (Windows 7, 8.1, or Server 2008/2012 without extended updates) on one side cannot use the newer connection at allless likely
Why this happens
When a PC connects to a printer shared by another computer, Windows uses a remote procedure call (RPC) interface on the print spooler. In 2021 Microsoft fixed a spoofing flaw in that interface (CVE-2021-1678) by requiring packet-level privacy (encryption) on the connection. From the September 14, 2021 updates onward, the sharing side enforces that by default.
If the connecting PC can't or won't meet that requirement, Windows rejects the connection and shows 0x0000011b. Windows 11 22H2 then changed the default transport for print connections to RPC over TCP, which adds a second failure point: firewalls that allowed the old named-pipe connection over SMB may block the new one.
Which fix fits your setup
- Home or small office with a Wi-Fi/Ethernet printer: add it by IP address (step 3). It's simpler, faster, and doesn't depend on another PC being on.
- Printer plugged into one PC by USB and shared to the others: update both PCs, check the firewall on the sharing PC, then restart its spooler.
- Business print server: keep enforcement on, update clients, open RPC ports, and deploy printers by Group Policy. Use the registry workaround only for machines you can't update yet.
How to fix it
Confirm it's a shared-printer connectionSafe
0x0000011b only happens when the printer is reached through another computer: its name looks like \\PC-NAME\PrinterName. If the printer is plugged into your PC by USB, or you added it by its own IP address, this error does not apply; see the print spooler service is not running instead.
Update Windows on both computersChanges settings
Install all updates on the PC (or server) that shares the printer and on every PC that connects to it: Settings > Windows Update > Check for updates, then restart both. Most 0x0000011b errors stop once both sides have current updates, because both then use the same secure connection.
Add the printer directly by its IP addressChanges settings
For network printers (Wi-Fi or Ethernet), skip the share entirely. Print a network configuration page from the printer's own menu to find its IP address. Then: Settings > Bluetooth & devices > Printers & scanners > Add device > Add manually > Add a printer using an IP address or hostname. Windows talks straight to the printer, so the shared-printer security check never runs. This is the best fix for home and small offices.
Windows 11 22H2+: open the print RPC ports on the sharing PCChanges settings
Windows 11 22H2 and later connect to shared printers using RPC over TCP. The sharing PC must allow inbound TCP port 135 (RPC Endpoint Mapper) and the dynamic RPC range 49152-65535. Make sure File and Printer Sharing is turned on for the network profile you use (Settings > Network & internet > Advanced network settings > Advanced sharing settings), and check any third-party firewall on that PC.
Restart the Print Spooler on the sharing PCSafe
After updates or firewall changes, restart the spooler on the PC that shares the printer so new connections use the new settings.
Restart-Service -Name SpoolerLast resort (print server admins only): relax the RPC privacy checkDangerous
If old clients can't be updated, Microsoft documents a registry value on the sharing PC or print server that turns the stronger check off. It removes the CVE-2021-1678 protection for every client, so use it only as a temporary bridge while you update or replace the old machines, then set it back to 1.
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Print" /v RpcAuthnLevelPrivacyEnabled /t REG_DWORD /d 0 /f⚠ Back up the registry first (regedit > File > Export). This weakens print security for the whole network; restart the spooler after changing it and plan to set it back to 1.
For IT admins
Windows 11 22H2+ print settings live under Computer Configuration > Administrative Templates > Printers: Configure RPC connection settings (RPC over TCP or named pipes), Configure RPC listener settings, and Configure RPC over TCP port (pins a fixed port so you can write a narrow firewall rule). Microsoft does not recommend switching back to named pipes; if you must, it also requires RpcAuthnLevelPrivacyEnabled=0 on the server.
Stuck jobs after the fix? The PlainError IT toolkit includes a spooler reset script that clears jobs safely, locally or on a print server.
If that didn't fix it
If the error persists after updating both sides, note the Windows version on each (winver) and whether the connecting PC is Windows 11 22H2 or later. Related: [0x80070035: The network path was not found](/windows/0x80070035-the-network-path-was-not-found).
When to see a technician
Ask your IT provider if the printer is on a company print server or domain; the fix belongs on the server and in Group Policy, not on each PC.
Questions people ask
- Is 0x0000011b caused by a bad printer driver?
- Usually not. It's a security handshake failure between two Windows computers. Reinstalling the driver rarely helps unless an update is also installed on both sides.
- Should I uninstall the Windows update to fix it?
- No. Removing security updates reopens the print spooler flaw and the next update reinstalls them anyway. Update both sides or add the printer by IP address instead.
- Is it safe to set RpcAuthnLevelPrivacyEnabled to 0?
- It works, but it turns off a security fix for every client of that printer share. Treat it as a temporary bridge and set it back to 1 once old clients are updated.
Sources
- Microsoft Support: Managing deployment of Printer RPC binding changes for CVE-2021-1678 (KB4599464)
- Microsoft Learn: Windows 11 RPC connection updates for print
- Microsoft Support: Fix printer connection and printing problems in Windows