0x0000011b error code appears when WIN10 shared printer connection cannot share printing

But when another computer enters the IP and name of the other computer to add a network printer, the following error occurs (both WIN7 and WIN10 computers): windows cannot connect to the printer, the operation fails, and the error is 0x0000011b (as shown in the picture)

Try to use the solution to the problem found on the Internet, enable network discovery and enable file and printer sharing in turn, turn off the firewall , re-enable the printing service, etc., but this problem has not been solved. Also refer to the online suggestion to uninstall KB5006670 /KB5005565 These two patches are updated, but these two numbers of patches are not found in the installed updates at all (it was later discovered that the computer WIN10 sharing the printer is the latest system version 21H2, maybe these two patches have already belonged to This big update package is included), which is really confusing and frustrating.

Finally, I found the clue in the official Microsoft document. Microsoft officially said this: Windows and non-Windows printing clients must support RPC_C_AUTHN_LEVEL_PKT_PRIVACY to connect to the Windows print server, and the default value of RpcAuthnLevelPrivacyPrivacyAnd in the system after Windows is updated = 1. If it cannot print, give The solution is to add a registry parameter to the computer with the shared printer installed. We open the registry (use the command regedit, as shown in the figure),

Find the [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print] branch, create a new 32-bit DWORD value RpcAuthnLevelPrivacyEnabled under it, and assign the value to 0 (as shown in the figure),

意思就是说其它电脑不需要用RPC_C_AUTHN_LEVEL_PKT_PRIVACY连接到Windows打印服务器即可安装共享打印机进行打印,设置完之后记得要重新启动一下电脑让这个设置生效,结果还真是那么一回事,这个连接共享打印机出现0x0000011b的问题就这么搞定了。

Guess you like

Origin blog.csdn.net/qq_21137441/article/details/129089722