Cannot connect to the printer fix
Fix “Windows cannot connect to the printer”
Paste the error from the pop-up, such as 0x0000011b or Access is denied. Read what it means and get the PowerShell lines that fix it, on this computer and on the print server, safest first. It runs in your browser: nothing you type is sent to us.
What it means and the fix
0x0000011b
The print server turned the connection down because of its security level. Since the January 2022 Windows update, print servers ask for encrypted RPC (CVE-2021-1678); a computer or server several updates behind, or a Windows 11 computer reaching the server a newer way, gets this.
Paste these in PowerShell, in order
On this computer
1Test-NetConnection print01 -Port 445Checks the server answers on file and printer sharing. TcpTestSucceeded should say True.
On this computer
2reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC" /v RpcUseNamedPipeProtocol /t REG_DWORD /d 1 /fWindows 11 22H2 and later: talk to the print server over named pipes, as older Windows did. The same as the Group Policy Configure RPC connection settings.
On this computer
3Restart-Service Spooler -ForceRestarts the print spooler so it picks up the change.
On this computer
4Add-Printer -ConnectionName '\\print01\Office Mono'Connects to the shared printer again.
On the print serverLowers security
5reg add "HKLM\System\CurrentControlSet\Control\Print" /v RpcAuthnLevelPrivacyEnabled /t REG_DWORD /d 0 /fLast resort, on the print server: stops it asking for encrypted RPC. This turns off the CVE-2021-1678 protection for every computer that prints through it.
On the print serverLowers security
6Restart-Service Spooler -ForceRestarts the server's spooler so it takes effect.
Run them in PowerShell as administrator. Lines marked print server run on the computer that shares the printer.
The safe fix is the same Windows updates on this computer and the print server. Or skip the server: add the printer by its IP address.
If you used the last resort, undo it once both are up to date: set RpcAuthnLevelPrivacyEnabled back to 1.
Why it happens
Connecting to a shared printer asks the print server for the printer and its print driver, and hands both to the print spooler here. Any of the three can refuse, and each refusal has its own code.
It started after a Windows update
Updates since 2021 made print servers ask for encrypted connections and kept driver installs for administrators. Bring the computer and the server to the same updates first; that fixes most 0x0000011b errors without lowering anything.
Only Windows 11 computers get it
Windows 11 22H2 and later talk to print servers over TCP instead of named pipes. Pick 0x00000709 or 0x0000011b above for the line that switches it back.
The same printer works by IP address
Then the printer is fine and the problem is the print server or its driver. Adding the printer by its IP address skips the server entirely.
Every computer in the building gets it
Look at the server first: its spooler, its updates and its drivers. One fix there clears every computer.
Take it further
- Point and Print registry builderGot 0x00000bcb or Access is denied? Let staff take drivers from your own servers only, without lowering the rule.
- pnputil printer driver builderPut the server's driver on each computer first, so connecting never needs to install one.
- PowerShell add printer builderPrint server in the way? Add the printer by its IP address instead.
- Driver is unavailable fixConnected, but the printer says Driver is unavailable? Give it a driver that loads.
Teachers never connect to a print server.
In KyberCopy teachers upload the file or email it, and the relay in the copy room sends it to the printer over IPP, so no laptop needs a shared printer, its driver or the right Windows update to print.
Book a demo