Fix Network and Printer Share 0x0000011b error
✅ Save as network-print_fix.reg and then merge it
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\LanmanWorkstation]
"AllowInsecureGuestAuth"=dword:00000001[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print]
"RpcAuthnLevelPrivacyEnabled"=dword:00000000
What these actually do
"AllowInsecureGuestAuth"=1
→ Allows guest (no password) SMB access
→ Needed for some old NAS/printers"RpcAuthnLevelPrivacyEnabled"=0
→ Fixes printer error 0x0000011b (relaxes RPC security)
✔ During Windows setup (offline image)
Using DISM:
dism /image:C:\mount /add-registry /regfile:network-print_fix.reg
(Or load the hive manually with reg load and import)
✔ On a running system
Just save as network-print_fix.reg and run:
reg import network-print_fix.reg
✔ Via script (recommended for automation)
Run Script in Powershell with dministrator rights (Win+X followed by a)
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\LanmanWorkstation /v AllowInsecureGuestAuth /t REG_DWORD /d 1 /f
reg add HKLM\System\CurrentControlSet\Control\Print /v RpcAuthnLevelPrivacyEnabled /t REG_DWORD /d 0 /f