Attempting to connect to a shared network printer or print server across a local office or home network in Windows 11 often fails with the error message: Windows cannot connect to the printer. Operation failed with error 0x0000011b. This networking barrier prevents workstations from spooling print jobs to printers physically attached to another Windows PC or central print server. The error emerged following critical Windows security updates addressing the PrintNightmare vulnerability (CVE-2021-1678), where Microsoft elevated the default RPC authentication level required for remote spooler communications.
Resolving error 0x0000011b requires balancing RPC authentication parameters on the host print server, resetting the Windows Print Spooler service, or configuring static TCP/IP local port mappings.
Why Does Network Printer Error 0x0000011b Occur?
The Print Spooler subsystem coordinates network print jobs over Remote Procedure Calls (RPC). The breakdown occurs due to several specific configuration mismatches:
- Print Spooler RPC Packet Privacy Enforcement: Windows security patches enforce packet privacy authentication (
RpcAuthnLevelPrivacyEnabled) on network spoolers. When a client workstation does not negotiate encrypted RPC packets, the host PC refuses the connection with 0x0000011b. - Mismatched Windows Update Levels: The host computer sharing the printer received newer cumulative security patches whilst client PCs run older Windows builds, or vice versa, creating a protocol authentication mismatch.
- Corrupted Local Spooler Queue Files: Stale spooler files stored under
System32\spool\PRINTERSblock the print queue thread from processing remote handshakes. - Network Profile Configured as Public: The local network adapter on either computer is classified as a Public Network rather than Private, blocking NetBIOS and SMB file/printer sharing ports.
Method 1: Configure RpcAuthnLevelPrivacyEnabled on the Host PC
The most permanent and widespread fix for error 0x0000011b is configuring the RPC authentication registry flag on the host computer (the PC to which the printer is physically connected or the server sharing the queue):
- On the computer sharing the printer, press Windows Key + R, type
regedit, and press Enter to open Registry Editor. - Navigate to the following registry path:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print - Right-click on the Print key in the left pane, choose New > DWORD (32-bit) Value.
- Name the new value exactly:
RpcAuthnLevelPrivacyEnabled - Double-click
RpcAuthnLevelPrivacyEnabledand ensure its value data is set to0. - Click OK and close the Registry Editor.
- Restart the host computer to apply the updated spooler policy.
- Return to the client workstation, open Settings > Bluetooth & devices > Printers & scanners, and reconnect the shared printer.
Method 2: Map the Shared Printer via Local Port (TCP/IP Bypass)
If registry modifications are restricted by corporate group policy, bypass Windows network spooler handshakes entirely by mapping a direct local port:
- On the client PC, open Control Panel and select Devices and Printers (or search for advanced printer setup in Windows Settings).
- Click Add a printer, then click The printer that I want isn’t listed.
- Select Add a local printer or network printer with manual settings and click Next.
- Choose Create a new port, select Local Port from the dropdown menu, and click Next.
- In the Enter a Port Name box, type the network path to the shared printer:
\\[Host-PC-Name]\[Shared-Printer-Name](For example:
\\DESKTOP-OFFICE\\HP_LaserJet) - Click OK.
- Select your printer manufacturer and model driver from the list, click Next, and choose Use the driver that is currently installed.
- Complete the wizard. Print jobs will now route directly through standard SMB file channels without triggering RPC 0x0000011b checks.
Method 3: Reset the Print Spooler Service
Stuck spooler files frequently cause remote connection attempts to time out:
- Press Windows Key + X and choose Terminal (Admin).
- Stop the Print Spooler service:
net stop spooler - Purge any orphaned temporary print jobs:
del /Q /F /S "%systemroot%\System32\Spool\Printers\*.*" - Restart the Print Spooler service:
net start spooler - Test connecting to the network printer.