Printer error 0x0000011b: "Operation failed" on a shared printer

Error 0x0000011b appears when a Windows PC can't connect or print to a shared printer because the client and the print server disagree on the RPC authentication level. Updating both machines fully usually fixes it. If not, adding the printer through a manually created local port can work.

Applies to:Windows 10Windows Server2008 SP2 to 2019

What it means

The message "Operation failed with error 0x0000011b" shows up when Windows tries to connect to, or print to, a printer shared from another PC or a print server, typically at \\host\printer.

The usual trigger is a Microsoft security change for printing (CVE-2021-1678). It raised the authentication level used on the IRemoteWinspool RPC interface. If one side has the change and the other side doesn't understand it, the connection is refused. Microsoft's pages describe the RPC change and say a client/server mismatch breaks printing, but they never name the code 0x0000011b. The link between this error and the update comes from third-party sites such as WinTips, which agree with each other.

A printer that worked for months and suddenly stops after updates is the classic pattern, especially when only one of the two machines got the update.

Symptoms and causes

You are likely dealing with this problem if:

  • Adding or connecting to \\host\printer fails with "Operation failed with error 0x0000011b".
  • A shared printer that used to work stops printing after Windows updates on one of the machines.

The usual causes, most common first:

Authentication level enforced by default
Per Microsoft KB4599464, updates from September 14, 2021 or later treat RpcAuthnLevelPrivacyEnabled as 1 (enforced) when the value isn't set. If the other side, such as an unpatched server or an older PC, doesn't support that level, the connection fails.
Driver installation over the share failing
If the driver isn't on the client yet, installing it through the share can fail. WinTips links this to the stricter Point and Print behavior (KB5005652). Treat it as a secondary cause.

How to fix it

Work through these in order. They start with the quickest, safest checks and move to deeper repairs; stop as soon as the problem is gone.

1.Update both the client and the print server

Easy

The error mostly comes from one side having the hardening and the other not. Bringing both up to date removes the mismatch and keeps the security protection.

  1. On the PC that hosts the printer (or the print server) and on every PC that connects to it, open Settings > Windows Update and install all available updates.
  2. Restart both machines, then try to connect to the shared printer again.

2.Add the printer through a manually created local port

Moderate

This skips the normal share connection and installs the driver locally. One WinTips reader reported that only this method worked for them, so treat it as worth trying, not guaranteed.

  1. Remove the failed printer entry first, under Control Panel > Devices and Printers.
  2. Click Add a printer, then choose The printer that I want isn't listed.
  3. Select Add a local printer or network printer with manual settings and click Next.
  4. Choose Create a new port, set the type to Local Port, and click Next. Enter the share path, for example:
    Text
    \\HOST\PrinterShare
  5. Pick the printer's manufacturer and model from the list. If it isn't there, download the driver from the manufacturer's website and use Have Disk.
  6. Finish the wizard and print a test page.

Check that it worked

  • The shared printer appears under Devices and Printers with no error.
  • A test page prints from the affected PC.

If it still fails

  • Confirm which machine is the print server and what Windows version and update level it runs, then compare it with the failing client.
  • The related error 0x000003e3 also appears when adding printers and has different fixes. For spooler problems on HP printers see Print Spooler error on an HP printer.
  • Use Microsoft Support for server-side issues in a managed domain.

Questions

Is setting RpcAuthnLevelPrivacyEnabled to 1 a fix?

Usually not. Since the September 14, 2021 update the default is already enforced, so 1 only helps if the value was previously set to 0.

Is this the same as the RestrictDriverInstallationToAdministrators setting?

No. That Point and Print setting (KB5005652) controls whether non-admins can install drivers. It can cause related driver install failures but isn't the cause of 0x0000011b.

Sources

  1. Managing deployment of Printer RPC binding changes for CVE-2021-1678 (KB4599464)Official · Microsoft Support
  2. KB5005652—Manage new Point and Print default driver installation behavior (CVE-2021-34481)Official · Microsoft Support
  3. FIX: Printer error 0x0000011b when connecting or printing to a shared printer. (Solved) · WinTips.org