Software⏱️ 4 min read📅 2026-06-15

How to Fix 0x00004005 Error – Cannot connect to a shared printer on local network; error 0x00004005

Error 0x00004005 occurs when trying to connect to a shared printer on a local network.

Quick Answer: Check the printer's driver and update it if necessary, then try connecting again.

The error 0x00004005 occurs when you are unable to connect to a shared printer on your local network. This issue affects users who have previously connected successfully but now encounter difficulties accessing the printer. The frustration of being unable to print from another computer on the same network can be quite vexing.

Fortunately, there are steps that can be taken to resolve this problem and get printing up and running smoothly again.

🔍 Why This Happens

  • The primary reason for this error is a misconfigured printer setting or incorrect permissions. When you set up your HP Laser Jet 2420 as a shared printer on your local network, it's possible that the settings were not properly applied to all computers in the workgroup.
  • Another potential cause could be related to the Windows Print Spooler service being stopped or malfunctioning. This service is crucial for managing print jobs and may need to be restarted or reset.

✅ Best Solutions to Fix It

Resolving Printer Sharing Issues via Administrative Templates

  1. Step 1: Step 1: Open the Group Policy Editor (gpedit.msc) on your computer. To do this, type 'gpedit.msc' in the Windows search bar and press Enter.
  2. Step 2: Step 2: Navigate to the following path: Computer Configuration > Administrative Templates > Printers > Point and Print Restrictions. Ensure that the 'Point and Print Restrictions' policy is set to Disabled. This will help resolve any permission-related issues.
  3. Step 3: Step 3: Restart your computer and try connecting to the shared printer again. If you still encounter issues, proceed with the next method.

Resolving Printer Sharing Issues via Local Port Configuration

  1. Step 1: Step 1: Open the Control Panel on the computer that is having trouble accessing the printer. Click on 'Devices and Printers' (or 'Printers and Devices' in some versions of Windows).
  2. Step 2: Step 2: Click on 'Add a printer or device' and select 'Create a new port'. Choose 'Local port' as the connection type.
  3. Step 3: Step 3: In the 'Add Port' window, enter the local printer's name (usually the same as its shared printer name) and click 'Next'. If prompted, enter the printer's IP address or hostname. Click 'Finish' to complete the process.
  4. Step 4: Step 4: If you encounter an 'Access is denied on local port' error, try restarting the Windows Print Spooler service. Press the Windows key + R, type 'services.msc', and press Enter. Locate the 'Print Spooler' service, right-click it, and select 'Restart'.

💡 Conclusion

By following these steps, you should be able to resolve the issue and successfully connect to your shared printer on your local network. If you continue to experience difficulties, consider consulting with a computer professional for further assistance.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions