How to Fix ‘Windows Cannot Connect to the Printer’ (Error 0x0000011b) in Windows 11

Attempting to connect to a shared network printer or print server in Windows 11 or Windows 10 frequently triggers an abrupt failure dialogue: “Windows cannot connect to the printer. Operation failed with error 0x0000011b”. The printer remains visible across your local network, yet every client machine fails during driver binding and spooler handshakes.

This notorious error was introduced by Microsoft security patches addressing the PrintNightmare vulnerability (CVE-2021-1678). Microsoft tightened Remote Procedure Call (RPC) connection privacy requirements for network printing, enforcing packet-level encryption. When client computers attempt to connect to a shared printer on another PC that does not negotiate RPC authentication identically, the spooler drops the connection. This tutorial details how to resolve error 0x0000011b across your network.

Method 1: Configure RpcAuthnLevelPrivacyEnabled on the Host PC

The standard and most reliable fix for error 0x0000011b is creating a specific DWORD registry key on the host computer (the PC directly connected to the physical printer via USB or local network share) to manage RPC authentication requirements.

  1. Log into the host computer that physically shares the printer.
  2. Press Windows + R, type regedit, and press Enter to open the Registry Editor.
  3. Navigate to the following registry path:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print
  4. Right-click on an empty space in the right pane, select New, and click DWORD (32-bit) Value.
  5. Name the new value exactly:
    RpcAuthnLevelPrivacyEnabled
  6. Double-click RpcAuthnLevelPrivacyEnabled and ensure its Value data is set to 0.
  7. Click OK.
  8. Now restart the Print Spooler service:
    • Press Windows + R, type services.msc, and press Enter.
    • Scroll down to Print Spooler, right-click it, and select Restart.
  9. Return to the client machine and reconnect to the shared printer. The connection will succeed immediately.

Method 2: Connect the Printer via Standard TCP/IP Port Instead of SMB Share

If your printer has an Ethernet port or connects to your home Wi-Fi router, connecting it via SMB file sharing (\\HostPC\PrinterName) is unnecessarily fragile. Connecting directly via a Standard TCP/IP port eliminates host PC dependency and RPC errors completely.

  1. Print a network configuration page from your printer hardware menu to obtain its static IP address (e.g. 192.168.1.50).
  2. On the client Windows 11 PC, press Windows + I and go to Bluetooth & devices > Printers & scanners.
  3. Click Add device, wait a few seconds, then click Add manually.
  4. Select the radio button: Add a printer using an IP address or hostname, and click Next.
  5. Set Device type to TCP/IP Device.
  6. In Hostname or IP address, enter the printer’s local IP address.
  7. Tick Query the printer and automatically select the driver to use and click Next.
  8. Windows will establish a direct socket link (RAW port 9100) bypassing Windows network sharing entirely.

Method 3: Add the Printer via Local Port Mapping

If the printer must remain shared through a USB-connected host PC, adding the printer as a Local Port on the client computer bypasses RPC authentication checks during wizard discovery.

  1. On the client machine, open Printers & scanners > Add device > Add manually.
  2. Select Add a local printer or network printer with manual settings and click Next.
  3. Select Create a new port, and in the drop-down menu choose Local Port. Click Next.
  4. In the Port Name dialogue box, enter the exact UNC path of the shared printer:
    \\HostPCName\SharedPrinterName
  5. Click OK.
  6. Select your printer manufacturer and model to install the driver, then click Next to complete installation.

Printer Error 0x0000011b Troubleshooting Matrix

The table below provides a quick reference for understanding and addressing network printing errors:

Error Code / Symptom Underlying Cause Primary Fix
0x0000011b RPC packet authentication privacy mismatch Add RpcAuthnLevelPrivacyEnabled=0 on Host
0x0000007c Print spooler cannot load remote point-and-print DLL Install printer driver locally before connecting share
0x00000002 Printer driver files missing from driver store Download manufacturer full driver package on client
Host offline / Sleep Host machine entering power-saving sleep Disable sleep mode on host PC in Power Options

Maintaining Stable Network Printing in Windows 11

To avoid recurring printing errors after major cumulative Windows updates, assign static local IP addresses to all shared network printers inside your router’s DHCP reservation table. Connecting all office and home printers directly via TCP/IP or Wi-Fi ensures that updates to individual Windows PCs never break printing functionality across your network.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.