最近的 Windows 10安全(Security)更新导致通过网络共享的打印机(printers shared over the network)抛出 0x0000011B 错误代码。好消息是问题很容易解决,我们将向您展示如何解决。
从卸载有问题的更新到使用本地端口手动安装打印机,我们将审查每种方法以使您的网络打印机再次工作。以下是修复Windows中 0x0000011B 错误的所有方法。
修复 1:更新 Windows
虽然最初是Windows 更新(Windows Update)导致了这个问题,但另一个更新可能会解决它。
Windows 更新因产生奇怪的错误和冲突而臭名昭著,但微软(Microsoft)也很快推出了针对任何此类问题的修补程序。只需安装最新更新(installing the latest update)通常会修复 0x0000011B 错误。
- 要检查更新,请前往开始菜单(Start Menu)并打开设置(Settings)。
- 切换到Windows 更新(Windows Update)选项卡,然后单击检查(Check)更新按钮。
- 任何可用的软件包都显示为可用更新。使用立即下载按钮下载并安装更新。
安装更新后重新启动计算机以应用新更改。如果您仍然收到“操作失败,错误 0x0000011B(Error 0x0000011B) ”消息,请继续进行下一个修复。
修复 2:卸载有问题的更新(Problematic Update)
在Windows 10(和Windows 11)中,您可以卸载最近的更新(uninstall recent updates)。这使您可以回滚故障更新以使您的计算机正常工作。
在Windows 11上,您可以通过在“开始”菜单中搜索“(Start Menu)卸载(Uninstall)更新”来找到删除更新的选项。
在所有版本中,您还可以通过控制面板(Control Panel)找到此设置。
- 通过在开始(Start)菜单中搜索来打开控制面板。(Control Panel)
- 选择程序。
- 这将打开程序(Programs)和功能,其中包含(Features)查看(View)已安装更新的选项。点击(Click)它。
- 一个新的设置窗口会显示所有最近安装的Windows更新以及卸载它们的选项。检查这些更新的日期并卸载引发问题的更新。
删除更新将解决问题,尽管它是一个临时解决方案。等到(Wait)下一次更新,因为这通常会实施错误修复。
修复 3:重新启动打印后台处理程序服务(Print Spooler Service)
后台打印程序服务(The print spooler service)负责管理在计算机上创建的所有打印作业,并且通常是任何与打印机相关的错误的根源。只需(Simply)重新启动打印后台处理程序服务通常可以修复 0x0000011B 错误。
- 在开始(Start)菜单中搜索服务(Services)并打开它。
- 该应用程序列出了您计算机上的所有服务(无论是否运行)。由于列表是按字母顺序排列的,请向下滚动以找到Print Spooler服务。
- 右键单击(Right-click)该服务并选择Restart。
- Windows立即重新启动该服务。
如果问题是由临时故障引起的,这应该可以解决它。否则,请尝试其他方法。
修复 4:手动安装打印机
让网络打印机再次运行的一种解决方法是手动安装它(install it manually)。这通常允许系统在没有 0x0000011B 错误消息的情况下使用设备。
请注意,在早期版本的Windows中,您会在“控制面板(Control Panel)”中找到此选项,而Windows 10和Windows 11已将其重新定位到“设置”的“(Settings)打印机(Printers)和扫描仪(Scanners)”部分。步骤仍然基本相同,只是更新了 UI。
- 通过单击开始(Start)菜单上的齿轮图标打开设置。(在旧版本的Windows中,请改为打开控制面板。)(Control Panel)
- 切换到设置中的(Settings)蓝牙(Bluetooth)和设备(Devices)选项卡,然后选择打印机(Printers)和扫描仪(Scanners)选项。(或者,在控制面板(Control Panel)中,选择硬件(Hardware)和声音下的(Sound)查看(View)设备和打印机选项。)
- 单击添加(Click Add)设备以尝试自动检测打印机。
- 扫描几秒钟后,您将看到手动添加的选项。(Add)(相应的控制面板(Control Panel)选项显示我想要的打印机未列出。)
- 现在你有两种方法可以解决这个问题。您可以使用其 IP 地址添加打印机或创建本地端口并手动安装正确的驱动程序。
- 如果您选择使用手动设置添加(Add)本地打印机或网络打印机选项,您可以创建一个新的本地端口。为其命名并手动安装打印机驱动程序,允许您通过该连接使用网络打印机。
- 更简单的选择是使用 IP 地址或主机名添加打印机。您只需指定打印机类型并输入其 IP 地址。
手动安装打印机是一个复杂的过程,有很大的空间出现小错误,无论如何都会毁掉整个系统。但是,如果您管理它,几乎可以保证它可以正常工作而不会出现任何 0x0000011B 错误。
修复 5:禁用 CVE-2021-1678 缓解
整个问题是由最近的Windows 更新(Windows Update)解决了网络打印机造成的安全漏洞引起的。如果没有其他工作,您可以执行注册表编辑以关闭此新功能。
虽然编辑很简单,但注册表编辑总是有一些搞砸的风险,所以通常的警告适用。不要摆弄超出以下步骤中概述的注册表值,并在继续之前
创建注册表备份。(create a registry backup)
- 首先,通过在“开始(Start)”菜单中搜索来打开注册表编辑器。(Registry)
- 尽管名声很吓人,但注册表编辑器实际上非常易于使用。左侧是文件夹结构,其中包含按其各自类别排序的所有注册表项,而在右侧,您将看到键本身。
- (Navigate)通过单击文件夹或仅复制粘贴地址栏中的路径导航到HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print
- 右键单击(Right-click)右侧面板中的空白区域,然后选择New > DWORD(32 位)值。
- 将其命名为RpcAuthnLevelPrivacyEnabled。请注意,这是区分大小写的,因此请复制粘贴名称,而不是自己输入。
- 注册表(Registry)项通常以默认值零开头,但无论如何检查都是个好主意。右键单击(Right-click)您创建的新DWORD并选择Modify。
- 确保(Make)Base设置为Hexadecimal并且(Hexadecimal)Value为(Value)0。
- 重新启动计算机以应用更改。您的网络打印机现在应该可以正常工作了。
在Windows中(Windows)修复(Fix)0x0000011B打印机错误(Printer Error)的最佳方法是什么?
0x0000011B 错误的唯一永久解决方案是安装修复该问题的最新Windows 更新。(Windows Update)现在,您可以尝试从注册表(the Registry)中卸载更新或禁用有问题的安全功能。
其他解决方法包括手动安装打印机。您可以通过使用打印机驱动程序配置新的本地端口或使用网络打印机的 IP 地址来帮助 PC 建立连接来实现此目的。
但是,在尝试所有这些方法之前,请确保您遇到了 0x0000011B 错误。如果您在文件资源管理器(File Explorer)中看不到网络打印机,您可能使用了错误的工作组或没有正确连接。
5 Best Ways to Fix “Operation Failed With Error 0x0000011B” in Windows
A recent Windows 10 Ѕecurity update is causing printers shared over the network to throw the 0x0000011B error code. The good news is that the problem is easily fixable, and we will show you how.
From uninstalling the problematic update to manually installing the printer using a local port, we will review every method to get your network printer working again. Here are all the ways to fix the 0x0000011B error in Windows.
Fix 1: Update Windows
While it was a Windows Update that initially caused the issue, another update will likely fix it.
Windows Updates are notorious for creating weird bugs and conflicts, but Microsoft is also quick to roll out a hotfix for any such problems. Simply installing the latest update will usually fix the 0x0000011B error.
- To check for updates, head to the Start Menu and open Settings.
- Switch to the Windows Update tab and click the Check for updates button.
- Any available packages are displayed as Updates available. Use the download now button to download and install the update.
Restart your computer after the update is installed to apply the new changes. If you still get an “Operation Failed With Error 0x0000011B” message, move on to the next fix.
Fix 2: Uninstall the Problematic Update
In Windows 10 (and Windows 11), you can uninstall recent updates. This lets you roll back malfunctioning updates to get your computer working correctly.
On Windows 11, you can find the option to remove updates by searching Uninstall Updates in the Start Menu.
In all versions, you can also locate this setting through the Control Panel.
- Open Control Panel by searching for it in the Start menu.
- Select Programs.
- This opens Programs and Features with the option to View installed updates. Click on it.
- A new settings window displays all recently installed Windows updates with the option to uninstall them. Check the dates of these updates and uninstall the one that started your problem.
Removing the update will fix the issue, though it is a temporary solution. Wait until the next update, as that usually implements bug fixes.
Fix 3: Restart the Print Spooler Service
The print spooler service is responsible for managing all print jobs created on the computer and is often the root of any printer-related bugs. Simply restarting the print spooler service can usually fix the 0x0000011B error.
- Search for Services in the Start menu and open it.
- The app lists all services—running or not—on your computer. As the listing is alphabetical, scroll down to find the Print Spooler service.
- Right-click on the service and select Restart.
- Windows immediately restarts the service.
If the problem was caused by a temporary glitch, this should fix it. Otherwise, try another method.
Fix 4: Manually Install the Printer
A workaround for getting a network printer functioning again is to install it manually. This often allows the system to use the device without a 0x0000011B error message.
Note that in earlier versions of Windows, you’d find this option in the Control Panel, while Windows 10 and Windows 11 have relocated it to the Printers & Scanners section of Settings. The steps are still mostly the same, just with an updated UI.
- Open Settings by clicking the gear icon on the Start menu. (In older versions of Windows, open the Control Panel instead.)
- Switch to the Bluetooth & Devices tab in Settings, then select the Printers & Scanners option. (Or, in the Control Panel, select the View devices and printers option under Hardware and Sound.)
- Click Add device to try to detect the printer automatically.
- After a few seconds of scanning, you will be presented with the option to Add manually. (The corresponding Control Panel option reads The printer that I want isn’t listed.)
- Now you have two ways to go about this. You can add the printer using its IP address or create a local port and manually install the right drivers.
- If you choose the Add a local printer or network printer with manual settings option, you can create a new local port. Give it a name and manually install the printer drivers, allowing you to use the network printer through that connection.
- The easier option is to Add a printer using an IP address or hostname. You just need to specify the type of printer and enter its IP address.
Manual printer installation is a complicated process, with a lot of room for small errors that ruin the whole anyway. If you manage it, however, it is almost guaranteed to work without any 0x0000011B errors.
Fix 5: Disable CVE-2021-1678 Mitigation
The whole issue has been caused by a recent Windows Update addressing a security vulnerability posed by network printers. If nothing else works, you can perform a registry edit to shut this new feature down.
While the edit is simple enough, registry editing always comes with some risk of messing things up, so the usual warnings apply. Do not fiddle with registry values beyond what is outlined in the following steps, and create a registry backup before you proceed.
- First, open the Registry editor by searching for it in the Start menu.
- Despite its scary reputation, the registry editor is actually quite easy to use. On the left side is the folder structure containing all registry entries sorted by their respective categories, and on the right, you will see the keys themselves.
- Navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print by clicking through the folders or just copy-pasting the path in the address bar.
- Right-click in the empty space in the right panel and select New > DWORD (32-bit) value.
- Name it as RpcAuthnLevelPrivacyEnabled. Note that this is case-sensitive, so copy-paste the name instead of typing it out yourself.
- Registry keys usually start with a default value of zero, but it is a good idea to check anyway. Right-click on the new DWORD you created and select Modify.
- Make sure that the Base is set to Hexadecimal and the Value is 0.
- Restart your computer to apply the changes. Your network printer should now work without any issues.
What Is the Best Way to Fix the 0x0000011B Printer Error in Windows?
The only permanent solution to the 0x0000011B error is to install the latest Windows Update which fixes the issue. For now, you can try uninstalling the update or disabling the problematic security feature from the Registry.
Other workarounds include installing the printer manually. You can do this by configuring a new local port with the printer drivers, or using the IP address of the network printer to help the PC establish a connection.
Before you try all these methods, however, make sure you are suffering from a 0x0000011B error. If you cannot see the network printer in File Explorer, you might be using the wrong workgroup or just not connected properly.