|

How To Fix Printer Error 0x0000011b On Windows 11 (2027)

Error 0x0000011b appears when Windows 11 tries to connect to a printer that another PC or a print server is sharing.

Microsoft does not publish a page for this exact code, so this guide uses the shared-printer and print-security pages that cover the same situation.

Work through the steps in order, because the first ones take a minute and the later ones need an administrator.

Table of Contents

Quick answer: what to try first

OrderFixWhere to do it
1Confirm the printer is shared and the host PC is reachableHost PC, Printers & scanners
2Add the printer by hand with \\ComputerName\PrinterShareNameClient PC, Add device, Add manually
3Remove the printer, restart, and add it againClient PC
4Install the latest Windows updates on the client and the hostBoth PCs
5Enter administrator credentials when the driver prompt appearsClient PC
6Check that RPC ports are open on the hostHost PC and firewall

What the error means

Owners report 0x0000011b with the message “Operation failed” when they add a network printer or connect to a shared one.

Microsoft’s pages on shared printing describe the security changes that affect exactly this kind of connection.

The table below lists those changes as Microsoft dates them.

DateChangeEffect on shared printers
January 12, 2021Printer RPC authentication update (CVE-2021-1678)Clients without it have a broken printing experience
August 10, 2021Point and Print driver installs need administrator rightsStandard users cannot install or update a driver from a remote PC
September 14, 2021RPC enforcement phaseThe higher authentication level applies without a registry value
Windows 11 22H2Print RPC uses TCP by defaultNamed Pipes is off by default

Check the host PC first

The printer must be shared on the PC that is connected to it.

  1. On the host, open Settings > Bluetooth & devices > Printers & scanners.
  2. Select the printer and open Printer properties.
  3. On the Sharing tab, turn sharing on and note the share name.
  4. On the client, type \\ComputerName in the File Explorer address bar to test that the host answers.

If the host does not open, fix the network or name problem before you touch the printer.

Check the network and sign-in

Both PCs need to be on the same local network.

Microsoft says to use the same account on both PCs, or to enter the host PC’s user name and password when Windows asks.

Also open Settings > Network & internet > Advanced network settings > Advanced sharing settings and turn on Network discovery and File and printer sharing.

Add the printer by hand

  1. On the client, open Settings > Bluetooth & devices > Printers & scanners and select Add device.
  2. If the printer is not listed, select Add manually.
  3. Choose the option to select a shared printer by name.
  4. Enter \\ComputerName\PrinterShareName and follow the prompts.

Remove the printer and add it again

  1. Open Printers & scanners on the client, select the shared printer and choose Remove.
  2. Restart the PC.
  3. Add the printer again with the manual method above.

Update both PCs

Microsoft’s Point and Print page says printing can fail if a server gets the September 14, 2021 update before its clients have an update from January 12, 2021 or later.

Its advice is to install the latest cumulative update on both the clients and the servers.

Open Settings > Windows Update, select Check for updates, and restart both PCs when the installs finish.

If you manage a print server yourself, update the client PCs first and the server afterward, because that is the order Microsoft gives.

Restart each PC after its updates so the print components load cleanly before you test the printer again.

Handle the administrator prompt

Since the August 10, 2021 updates, a standard user cannot install a new printer driver or update an existing one from a remote computer without elevation.

Microsoft’s listed options for this are below.

OptionWho does it
Enter administrator credentials when promptedAny user with an admin account
Include the needed drivers in the Windows imageIT administrator
Use the “Limits print driver installation to Administrators” policy under Computer Configuration > Administrative Templates > PrintersIT administrator

Microsoft warns that allowing non-admin driver installs makes devices vulnerable, so home users should simply sign in as an administrator.

Check the RPC ports on the host

Windows 11 22H2 and later use RPC over TCP for printing by default.

Microsoft says the RPC Endpoint Mapper port 135 must not be blocked.

It also says to open the range 49152 to 65535 on the server, or to limit RPC to a specific range.

If a firewall or security suite sits between the two PCs, check those ports there first.

If Windows keeps asking to trust the printer

Microsoft says a “Do you trust this printer” prompt on every print is usually fixed by updates from October 12, 2021 or later.

If it continues, the cause can be a driver file name conflict, so compare the files in C:\Windows\System32\spool\drivers\x64\3 on the client with the server’s driver package.

Use matching driver versions, or contact the printer maker.

Settings Microsoft says to leave alone

SettingMicrosoft’s defaultNote
RpcAuthnLevelPrivacyEnabled1 after the September 14, 2021 updates0 is “not recommended” and leaves devices unprotected
RestrictDriverInstallationToAdministrators1 after the August 10, 2021 updates0 lets non-admins install drivers and makes devices vulnerable

Treat these as information for administrators, not as a fix to try at home.

Reset the print spooler

Microsoft’s general printer steps end with a spooler reset.

  1. Search the taskbar for Services and open it.
  2. Double-click Print Spooler, select Stop, then OK.
  3. Open %WINDIR%\system32\spool\printers and delete the files inside.
  4. Go back to Services, open Print Spooler, set Startup type to Automatic, select Start and then OK.

For setup help, see our guides to sharing a printer on your network, adding a printer in Windows 11 and fixing a print spooler that keeps stopping.

Official pages used: Fix shared printer connection problems in Windows, KB5005652 Point and Print, KB4599464 Printer RPC binding changes and Windows 11 RPC connection updates for print.

Leave a Reply

Your email address will not be published. Required fields are marked *