Windows Cannot Connect Printer Access Denied
Windows cannot connect to printer access is denied usually means the share, credentials, or point-and-print policy is blocking the connection. Start with permissions, then credentials, then RPC hardening. If you guess and change drivers or registry settings first, you can trigger a wider print outage and keep the same error. This guide shows how to isolate the cause on Windows 10 and 11 before you change anything.
What this error usually means
The message appears when Windows reaches the printer path but cannot finish the shared-printer handshake. That usually points to a host-side share setting, a bad or missing credential, a policy block, or the post-update RPC check some systems require for printer connections.
On a shared printer, the fault can sit on the computer that shares the printer, on the computer that connects to it, or on both. A change on the wrong machine can leave the same error in place, which is why the first job is to sort the failure by symptom.
Printer access denied decision table
| Symptom | Likely cause | Where to change it | Fastest verification step |
|---|---|---|---|
| Windows asks for a password, then returns access denied | Wrong shared-computer credential or saved credential mismatch | Client | Remove the saved entry in Credential Manager, then reconnect with ComputerName\Username |
| The printer share is visible, but the connection fails immediately | Shared printer permission or share name problem | Host | Open the Printer Sharing tab and Security tab, then confirm Print permission and the exact share name |
| Connection worked before, then failed after an update | RPC authentication hardening on the host | Host | Check RpcAuthnLevelPrivacyEnabled under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print and restart the Print Spooler |
| Only a domain or office PC fails, while another PC works | Group Policy restriction | Client or both | Open gpedit.msc and review Point and Print Restrictions and printer-installation blocks |
| The add-printer flow times out or cannot reach the share | Firewall or network discovery block | Host and client | Confirm File and Printer Sharing, Network Discovery, and the required ports are allowed |
Say your laptop can browse the office PC, but adding \\ComputerName\PrinterName still fails with access denied. That points away from discovery and toward permissions, credentials, or policy. A different example: suppose the printer worked until a Windows update, then every client started failing on the same shared queue; that points first to RPC hardening on the host.
Check shared printer permissions
Shared-printer permissions are the first thing to verify on the computer that hosts the printer. Confirm that sharing is enabled, that the share name is exact, and that the Security tab grants Print permission to the account or group the client will use.
Open the shared printer settings. On the host PC, open the printer’s Printer Sharing tab and confirm that sharing is enabled. Record the exact share name because the client needs to use that name rather than a close match.
Check the Security tab. Open the Security tab and confirm the intended user or group has Print permission. If the connection should work for a broad set of users on a trusted home or small-office network, the Everyone group may need Print permission.
Match the share path. Use the share name exactly as published by the host PC. If the share is named OfficeLaser, the client should point to \\ComputerName\OfficeLaser, not a guessed printer label.
Restart and retry. Restart the Print Spooler service on the host PC after changing sharing or permission settings, then try the connection again from the client. That refreshes the shared printer state before you move to the next cause.
Do not widen permissions without a reason. If a single named user should print, grant that account Print permission instead of opening the share more broadly than needed.
What credentials are needed for a shared printer connection?
Windows can prompt for a username and password when connecting to a shared printer. In many cases, the required format is ComputerName\Username, and the most common failure is using the wrong name, the wrong account type, or a saved credential that no longer matches the host PC.
Use the correct account format
Enter the host account format. When prompted, use ComputerName\Username. If the host uses a local account, the computer name comes first. If the host account is a Microsoft account, Windows may still require the underlying sign-in name that matches the host machine’s account mapping.
Clear stale saved entries. Open Credential Manager on the client and remove stored Windows Credentials that point to the host PC. Old entries can keep Windows from trying the new password, even when the typed credential is correct.
Try the connection again. Reconnect after clearing the saved entry and reentering the credential. If the host account recently changed its password, this step often separates a real permission problem from a stale login problem.
Microsoft account versus local account
A Microsoft account and a local account do not behave the same way in printer sharing. If the host uses a Microsoft account, the client may still need the machine name and the correct user name as Windows maps it on that PC. If the host uses a local account, the local account name must match what the host recognizes.
Suppose the host PC is named FrontDesk-PC and the shared login is Sam. The credential prompt should be filled as FrontDesk-PC\Sam, not just Sam. That small mismatch is enough to produce access denied.
Can Windows Firewall block the printer?
Yes. File and Printer Sharing should be allowed through the firewall on both computers, and Network Discovery is also part of the usual allowance set. If the network path is blocked, the client may never reach the shared printer service, even when the permissions are correct.
Allow the sharing rules. On both computers, enable the Windows Firewall File and Printer Sharing rule for the correct profile. The guidance for shared printers calls out Private network and Domain network rules as the places to check.
Confirm Network Discovery. Make sure Network Discovery is allowed as well. If discovery is blocked, Windows may fail to locate the shared printer path even when the share itself is alive.
Verify the ports. The firewall guidance for printer sharing names TCP 445, TCP 139, and UDP 137-138 as required ports. If a security product or perimeter rule blocks those ports, the connection can fail before credentials are even checked.
Test from both ends. Check the host PC and the client PC. The host must allow inbound sharing traffic, and the client must be able to reach it. A rule that exists on one machine but not the other can leave the error unchanged.
A common first-timer mistake is to allow File and Printer Sharing on the host PC only and skip the client. That can still fail if the client is on a restrictive network profile or if a local firewall tool blocks the outbound connection.
Can Group Policy block printer connections?
Yes. Group Policy can block adding printers, and that is common on domain-joined PCs. The most relevant policy names here are Point and Print Restrictions, Prevent addition of printers, and Prevent deletion of printers. These settings can stop printer installs before the share is even queried.
Open local policy editor. On the affected PC, open
gpedit.mscand check the printer-related policies. Domain-joined PCs may also receive the same rules from central policy, which means a local change can be overwritten later.Review Point and Print Restrictions. Confirm whether the policy limits which print servers are allowed. If the host PC is not on the approved list, the connection can be blocked even when permissions and credentials are correct.
Check printer-install blocks. Look for Prevent addition of printers and Prevent deletion of printers. The first can block the add-printer flow entirely, while the second can make cleanup and retry steps fail.
Retry after policy refresh. After any policy change, run a policy refresh or sign out and back in, then retry the printer connection. That confirms whether the policy was the blocker before you move on.
Apply the RPC authentication registry fix after Windows updates
Some shared-printer failures start after a post-2021 Windows Update changes how RPC authentication is handled. In that case, the host PC may need the RpcAuthnLevelPrivacyEnabled value under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print. This fix belongs on the host PC, not on every client, because the shared print service is enforcing the setting.
Open the Print key. On the host PC, open the registry path
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print. Confirm that RpcAuthnLevelPrivacyEnabled is present and set as needed for the environment.Restart the Print Spooler service on the host PC. Restart the Print Spooler service after changing the value. The service restart makes the updated RPC behavior apply to shared printer traffic instead of leaving the old state in memory.
Reconnect from a client. Try the printer from a second PC after the restart. If the problem came from RPC hardening, the same share should now accept the connection without changing permissions or credentials.
Use a UNC path or local port
When discovery is flaky, add the printer by path instead of waiting for Windows to find it. The workaround can use a local port with a UNC path like //computername/sharedname. This is useful when the share exists, but the wizard keeps failing during discovery.
Start the manual add wizard. Open Add Printer and choose the path that lets you create a new port. Select Local port when Windows asks for the port type.
Enter the share path. Type the UNC path for the share, such as //computername/sharedname or the matching Windows form \\ComputerName\PrinterName. Use the exact share name from the host PC.
Finish and test. Complete the wizard, then print a small test page or queue a simple document. If the manual path works, the failure was likely tied to discovery, not the printer itself.
Use this method when the share name is known and the host is reachable, but the standard Add Printer wizard keeps returning access denied. It is a good way to separate pathing problems from security blocks.
Frequently asked questions
How do I fix Windows cannot connect to the printer access is denied?
Start on the host PC with the shared printer permissions, then move to credentials on the client, then policy, then RPC hardening. Check the Printer Sharing tab, the Security tab, the exact share name, and the Print Spooler state after each change. That order avoids random changes that do not match the cause.
Why does Windows cannot connect to the printer access is denied happen?
This error usually appears when Windows can reach the printer name but cannot finish the shared-printer connection. The common causes are missing Print permission, a bad or stale credential, Group Policy restrictions, blocked File and Printer Sharing traffic, or the RPC authentication change that followed later Windows updates.
How do I fix Windows cannot add printer access denied?
Use the Add Printer wizard only after you confirm the share is allowed and the client has the right credentials. If the wizard fails, remove saved credentials, confirm ComputerName\Username, check firewall rules, and try the manual Local port path with the UNC share name.
How do I fix Windows cannot connect to a network printer access denied?
First decide whether the failure is on the host PC or the client PC. Then check shared printer permissions, stored Windows Credentials, File and Printer Sharing, and the relevant Group Policy settings. If the issue began after an update, apply the RPC registry check on the host and restart the Print Spooler.
Why does Windows 11 cannot connect to shared printer access denied happen?
Windows 11 can surface the same shared-printer error when permissions, credentials, or policy settings do not line up. The message often shows up after a password change, after a security update, or on a domain-joined PC with printer restrictions. The fix still depends on which machine is blocking the connection.
Does the printer-sharing computer need special firewall settings?
Yes. File and Printer Sharing should be allowed on the host and the client, and Network Discovery should be allowed too. If any of those are blocked, shared printer traffic can fail.
How to fix windows cannot connect to the printer access is denied
Use a root-cause order instead of a broad checklist. Check share permissions first, then credentials, then firewall rules, then Group Policy, then the RPC registry value on the host. After each substantive change, restart the Print Spooler and retry the connection before moving to the next cause.
Why windows cannot connect to the printer
Windows fails here when the shared printer path is blocked by permissions, login mismatch, firewall rules, printer policy, or RPC authentication hardening. The quickest way to save time is to decide where the block sits: host PC, client PC, or both. Then change only the setting that matches that cause.






