平台:windows 10 20h2 19042.1237
问题:安装升级包后共享的HP打印机别人无法连接
解决:经查询可能是安装了KB5005565补丁包造成的,局域网电脑连接打印机时提示 “错误 0x0000011b”(与 PrintNightmare KB 驱动程序安装相关)
微软的解决办法
https://support.microsoft.com/en-gb/topic/kb5005652-manage-new-point-and-print-default-driver-installation-behavior-cve-2021-34481-873642bf-2634-49c5-a23b-6d8e9a302872
精简版:
创建要推送的 GPO:
"HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindows NTPrintersPointAndPrint"
RestrictDriverInstallationToAdministrators DWORD 1
或者在每个客户端上运行:
reg add “HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindows NTPrintersPointAndPrint”/v RestrictDriverInstallationToAdministrators /t REG_DWORD /d 1 /f