Short answer: “Windows cannot connect to the printer” with error 0x0000011b usually appears when one PC tries to use a printer shared from another Windows PC or print server. The cause is a printing security change Microsoft made to fix CVE-2021-1678 and has enforced by default since September 2021, plus a newer change in Windows 11 22H2 and later that moved printer sharing to RPC over TCP. Update both PCs, open the RPC ports on the PC that shares the printer, or connect to the printer directly by its IP address. Turning the security setting off fixes the error too, but Microsoft says it leaves your devices unprotected.
How this guide was made: it is compiled from Microsoft’s KB4599464 and “RPC connection updates for print in Windows 11” articles and Microsoft Q&A threads about 0x0000011b, checked on November 28, 2026. Microsoft’s articles do not name the code 0x0000011b; the link between the code and these changes comes from user reports on Microsoft Q&A. How we research and review guides is described in our editorial policy.

Is error 0x0000011b your problem?
- The printer is plugged into another PC (or a print server) and shared from there, and you add it on your PC as a shared printer, for example
\\OFFICE-PC\Printer. - The error appears when adding the printer or when printing to an existing shared printer.
- Printers that connect over Wi-Fi or Ethernet with their own IP address, and USB printers plugged into your own PC, are not affected by this change.
What changed
| Change | Since | Effect on sharing |
|---|---|---|
| CVE-2021-1678 fix: higher RPC authentication level for the printer interface (KB4599464) | January 12, 2021 (optional), enforced by default with updates from September 14, 2021 | The PC sharing the printer requires the stronger level. Clients without the January 2021 update or later cannot print to it. |
| RPC over TCP by default for printing | Windows 11, version 22H2 and later | Print traffic uses port 135 plus a dynamic port range. A firewall that blocks those ports breaks sharing. RPC over named pipes is still available but turned off by default. |
Fix 1: update both PCs
Install the latest Windows updates on the PC that shares the printer and on every PC that prints to it, then restart both. Microsoft’s guidance for CVE-2021-1678 is that all clients and servers must be updated; a client with old updates is the case that breaks once the server enforces the new level. Status: Microsoft guidance.
Fix 2: let RPC over TCP through the firewall
Microsoft calls blocked firewall ports the most common problem with the Windows 11 22H2 change. On the PC that shares the printer, make sure that:
- the RPC Endpoint Mapper port 135 is not blocked, and
- the dynamic port range 49152–65535 is open, or RPC is limited to a fixed range that is open.
A third-party security suite with its own firewall is the usual culprit on home and small office networks; check its rules as well as Windows Defender Firewall. If you prefer one fixed port, Microsoft documents the Group Policy Computer Configuration > Administrative Templates > Printers > Configure RPC over TCP port, or the registry equivalent:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\RPC" /v RpcTcpPort /t REG_DWORD /d <port number> /f
Status: Microsoft guidance.
Fix 3: connect to the printer directly
If the printer has its own network connection, add it on each PC by its IP address (Settings > Bluetooth & devices > Printers & scanners > Add device > Add manually) instead of through another PC’s share. Each PC then talks to the printer itself, and the Windows printer-sharing path is not used at all. This is our suggestion rather than a Microsoft fix, but it removes the dependency on the other PC being switched on as well.
Fix 4 (last resort): switch printing back to named pipes
Microsoft says this configuration is not recommended but can be used when RPC over TCP is not an option. The commands are from Microsoft’s article and need an administrator Command Prompt. To undo them, delete the value you added with reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\RPC" /v <value name> /f.
- On a Windows 11 PC that prints to the share:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\RPC" /v RpcUseNamedPipeProtocol /t REG_DWORD /d 1 /f - On a Windows 11 PC that shares the printer, to listen on both protocols:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\RPC" /v RpcProtocols /t REG_DWORD /d 0x7 /f
Microsoft adds that named pipes may also need the security setting in the next section, and in some setups SMB guest access, which is off by default for good reason.
The registry workaround and its risk
The fix most often posted on forums is to set RpcAuthnLevelPrivacyEnabled to 0 on the PC that shares the printer. Users on Microsoft Q&A report that this makes 0x0000011b go away. Microsoft’s own description of the value 0 is: “Not recommended. Disables the increase authentication level for printer IRemoteWinspool, and your devices are not protected.” Use it only when Fixes 1 to 3 are impossible, only on a trusted private network, and plan to remove it.
- Back up the registry, or create a restore point.
- On the PC that shares the printer, in an administrator Command Prompt:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print" /v RpcAuthnLevelPrivacyEnabled /t REG_DWORD /d 0 /f - Restart the PC or the Print Spooler service; Microsoft says one of the two is required.
- To undo, set the value back to 1 (or delete it: updates from September 14, 2021 treat a missing value as 1) and restart the spooler again.
Status: the registry value and its meaning are documented by Microsoft; its use as a fix for 0x0000011b is a user report.
Sources
- Microsoft: Managing deployment of Printer RPC binding changes for CVE-2021-1678 (KB4599464)
- Microsoft Learn: RPC connection updates for print in Windows 11
- Microsoft Security Response Center: CVE-2021-1678
- Microsoft Q&A: Error 0x0000011b, no workgroup printer access (user reports)