How to Fix Printer Configuration Error 0x80004005

Fix “your printer has experienced an unexpected configuration problem 0x80004005” with connection checks, driver repairs, and setup fixes.

Contents

Don't Miss the Good Stuff

Get tech news that matters delivered to your inbox.

To fix printer configuration error 0x80004005, restart the printer, check its connection, and remove and add its Windows printer entry again if printing still fails. For affected HP DeskJet, ENVY and OfficeJet Pro printers after HP app setup, HP recommends updating Windows and rebuilding the printer entries in Windows and the HP app. The steps below use Windows 11 menus, with separate fixes for application problems and shared printers.

The short version

  • Start simple: Restart the printer and check its USB or Wi-Fi connection.
  • HP setup errors: Update Windows, then rebuild the printer entries in Windows and the HP app.
  • Blocked printing: Cancel stuck jobs and restart the Print Spooler.
  • Find the scope: Print a Windows test page before repairing an individual application.

Fix or checkWhen to use it
Power-cycle the printerA temporary printer error
Check connections and suppliesConnection trouble or a printer that is not ready
Try another USB portA USB printer is not recognized
Restart Windows and the applicationA temporary application or service failure
Update Windows and rebuild HP setupAffected HP models after app setup
Remove the HP app entryRebuilding the affected HP configuration
Add the printer through the HP appRestoring the HP printer connection
Obtain the current HP appOlder instructions refer to HP Smart
Reinstall an affected Universal Print printerThe specific Windows migration regression
Detect affected Universal Print installationsChecking for the migration regression
Have IT obtain the Microsoft repair scriptRepairing affected installations centrally
Enable sharing on the hostA printer is shared through another PC
Enable network discovery and sharingWindows PCs cannot find the shared printer
Connect by the printer share nameDiscovery cannot find or access the printer
Run Get Help diagnosticsThe cause is unclear
Run HP Diagnose & FixA supported HP printer needs diagnosis
Cancel queued jobsPending jobs block printing
Restart the Print SpoolerThe printing service needs restarting
Clear spool filesQueued jobs will not cancel
Choose the default printerApplications select an obsolete printer
Reinstall the Windows printerThe existing installation keeps failing
Install an optional driver updateA matching update is offered
Install manufacturer softwareA compatible vendor package is available
Use HP printer downloadsYou need supported HP software
Install an extracted driver manuallyYou already have a compatible driver folder
Reinstall through Device ManagerThe affected printer appears there
Roll back a driverFailure began after a driver update
Use Windows installation on ARMThe manufacturer's ARM installer fails
Disable protected print mode conditionallyA required vendor driver is incompatible
Reinstall with protected print mode enabledA compatible printer disappeared when you enabled it
Ask IT to review print policyManagement policy prevents a required change
Print a Windows test pageYou need to separate printer and application failures
Check the document and applicationOnly some print attempts fail
Repair OfficePrinting fails only in Office
Use Edge's system print dialogEdge's usual print dialog fails
Retry or simplify an Edge webpageOne webpage or print preview fails
Restore HP Wi-Fi setup modeHP reinstallation cannot discover the printer
Update HP firmware through its settingsYour model exposes an app or browser update interface
Update HP firmware through its control panelYour network-connected model has an update menu
Repair Windows system filesBroader Windows corruption is suspected

Restart the printer and check its connection

Turn the printer off, unplug its power connection, and wait 30 seconds. Reconnect the power and turn it on. Check for paper jams, an open cover, and depleted paper or ink before printing again.

For a USB printer, check the cable at both ends and reconnect it securely. Try another USB port on the computer if recognition or connection also fails. For wireless printing, confirm that Wi-Fi is enabled on the printer and that the printer and computer use the same network. Use the model's manual to locate its wireless controls and connection-test menus.

Save your work and close the application you are printing from. Select Start > Power > Restart, reopen the application, and retry. If the printer also shows an offline status, follow the steps to fix a printer showing offline.

Select Start to open the Windows Start menu.
Click to expand
Select Start to open the Windows Start menu.

Rebuild the setup for an affected HP printer

If an HP DeskJet, ENVY or OfficeJet Pro shows this error after HP app setup, start with HP's configuration repair sequence. Search Windows for Check for updates, open it, and select Check for updates. Install available updates, restart the computer, and restart the printer using its Power button.

The next step removes the printer's Windows entry. On Windows 11, open Settings > Bluetooth & devices > Printers & scanners, select the affected printer, and select Remove. Select Yes to confirm.

The following step removes the printer's entry from the HP app. Open the HP app, right-click the affected printer, and select Hide Printer. You do not need to uninstall the entire app.

Connect the printer and computer to the same network, or connect the printer by USB. In the HP app, click + to add the printer. Select your printer from the list and follow the on-screen instructions to complete the guided setup.

Repair affected Universal Print and shared printers

Microsoft identifies a specific 0x80004005 problem with Universal Print printers originally installed on Windows 10 and subsequently used on Windows 11 with KB5083769 or later. This applies to affected work or school installations, so use this repair only when your printer matches those conditions.

Removing the affected printer deletes its Windows printer entry. On Windows 11, open Settings > Bluetooth & devices > Printers & scanners, select the printer, select Remove, and select Yes. Return to Printers & scanners and select Add device to install it again.

For detection or repairs across several affected installations, have IT obtain Microsoft's conversion script from the repository referenced by its Universal Print known-issues page and review the deployment instructions. With the script available, run the detection command from the script's folder in a non-administrator, 64-bit PowerShell window. On 64-bit Windows, the script stops without detecting printers if it runs in a 32-bit PowerShell host.

.\Convert-UpPrinterToPerUser.ps1 -Detect

If detection finds affected per-system printers, use the removal and reinstallation steps above or ask IT to deploy the conversion through Intune or another management tool. Microsoft says the bulk repair requires PsExec and is unsuitable for end users to run manually.

For a printer intentionally shared through another Windows PC, check the host PC's sharing configuration. On the Windows 11 host, open Settings > Bluetooth & devices > Printers & scanners, select the printer, and open Printer properties > Sharing. Select Share this printer, record the Share name, then select Apply and OK.

Both PCs must connect to the same local network. On Windows 11, open Settings > Network & internet > Advanced network settings > Advanced sharing settings. Enable Network discovery and File and printer sharing for the relevant trusted network.

If discovery cannot find or access the shared printer, connect using its share name. On Windows 11, open Settings > Bluetooth & devices > Printers & scanners > Add device > Add manually, then choose Select a shared printer by name. Enter \\ComputerName\PrinterShareName using the actual host and share names. Supply the host PC's username and password when requested.

Run the current printer diagnostics

For general Windows printer problems, open Microsoft's printer troubleshooting page and select Run the troubleshooter in Get Help. Let the app diagnose the printer, then follow the results.

For a supported HP printer, open the HP app, select your printer, and select Diagnose & Fix. Other HP app layouts use Printers > Diagnose & Fix or Diagnostics > Diagnose and Fix. Select Start, keep the app open until diagnosis finishes, and follow its results.

Clear blocked jobs and reinstall the printer entry

Canceling all jobs removes the pending documents from the print queue; resubmit the documents you still want afterward. On Windows 11, open Settings > Bluetooth & devices > Printers & scanners, select your printer, and choose Open print queue. Open ... and select Cancel all.

Next, restart the Print Spooler service. Press Windows + R, enter the following command, and press Enter.

services.msc

Right-click Print Spooler and select Restart. Administrator access may be needed. Retry printing before manually clearing files.

Deleting the spool files discards queued print jobs. If jobs will not cancel, return to Services, right-click Print Spooler, and select Stop. In File Explorer, open C:\Windows\System32\spool\PRINTERS and delete the files inside that folder.

Return to Services, right-click Print Spooler, and select Start. This persistent-queue repair normally requires administrator access. Resubmit the wanted document after the service is running.

If an application keeps choosing an unavailable or obsolete printer, set the intended printer as the default. On Windows 11, open Settings > Bluetooth & devices > Printers & scanners and turn off Let Windows manage my default printer. Select the printer you want, then select Set as default.

If printing still fails, removing the printer deletes its Windows printer entry. On Windows 11, open Settings > Bluetooth & devices > Printers & scanners, select the affected printer, select Remove, and confirm with Yes. Keep the printer powered on and connected.

Return to Printers & scanners, select Add device, and choose the printer. Installation may require administrator permission. If you already rebuilt the HP setup or reinstalled an affected Universal Print printer, continue with the driver checks.

Update the driver and check installation compatibility

On Windows 11, check for a matching optional printer-driver update in Settings > Windows Update > Advanced options. Turn on Receive updates for other Microsoft products, then under Additional options, select Optional updates. If a matching printer-driver update is offered, select it by its displayed name, select Download and install, and restart.

If a matching optional update is not offered, find your exact printer model on its manufacturer's official support site. Choose a supported package matching your Windows version and processor architecture, then run its installer, provided Windows protected print mode permits that third-party driver. For HP models, use the official HP printer downloads page and select software compatible with your Windows version. Follow the package's installation prompts.

If you already have a compatible extracted driver package, right-click Start, open Device Manager, and expand Printers. Right-click the printer, select Update driver, then select Browse my computer for drivers. Select Browse..., locate the extracted vendor driver folder, and select OK. Select Next, then Close when installation finishes.

When the error began immediately after a driver update, rolling back replaces the updated driver with the previous available version. As an administrator, right-click Start, open Device Manager, and expand Printers. Right-click the printer and select Properties > Driver > Roll Back Driver.

Choose the reason that accurately describes the problem, then select Yes. Restart if requested. Rollback requires a previous driver to remain available; otherwise, continue with a compatible current driver and the printing checks below.

Uninstalling through Device Manager removes the selected printer device. For a printer visible there, right-click Start, open Device Manager, expand Printers, right-click the affected device, and select Uninstall device. Select Uninstall, then restart Windows. If Windows does not restore the printer, add it through Printers & scanners.

On Windows 11, open Settings > System > About and inspect System type if the manufacturer's installer fails. If your PC is ARM-based, use Windows 11's Settings > Bluetooth & devices > Printers & scanners > Add device. Follow any model-specific Windows-on-ARM instructions from the manufacturer.

If enabling Windows protected print mode removed a Mopria-compatible printer, keep the mode enabled and reinstall the printer. On Windows 11, open Settings > Bluetooth & devices > Printers & scanners and select Add device. The printer will use Windows Ready Print instead of its former third-party driver.

Turning off Windows protected print mode changes the printing security mode. Only when an incompatible printer or required vendor driver needs that change, open Windows 11's Settings > Bluetooth & devices > Printers & scanners. Under Printer Preferences, locate Windows protected print mode, select Turn Off, and select Yes. Reinstall the printer with its supported vendor driver; if managed policy prevents the change, ask IT to review the policy.

Check whether only one application fails

A Windows test page helps separate an application problem from a printer installation problem. On Windows 11, open Settings > Bluetooth & devices > Printers & scanners, select the printer, then choose Printer properties > General > Print Test Page. If that fails too, focus on the Windows printer installation, driver, or connection before repairing an application.

In Word or Excel, open File > Print and select the intended printer. Check the paper size, orientation, and page range, and uncheck Print to file if selected. Try a different document and a simple print from Notepad or Paint to determine whether the failure is confined to one file or app.

If only Office printing fails, repair the installed Microsoft 365 or Office suite; the repair affects the installed suite. Right-click Start, select Installed apps, find Microsoft 365 or Office, open its ... menu, and select Modify. For a Click-to-Run installation, select Quick Repair or Online Repair, then select Repair. For an MSI installation, select Repair, then select Continue.

For an Edge-only failure, press Ctrl + Shift + P to open the system print dialog. Alternatively, press Ctrl + P and select Print using system dialog. Choose your printer and select Print. This gives you an alternative print dialog, but it does not repair a broken Windows printer installation.

If Edge printing or print preview still fails, close and reopen Edge, then retry with Ctrl + P. Test another webpage to check whether only one page fails. For a problematic page, select its Immersive Reader icon when available and retry printing the simplified page. Some pages do not offer that option, so use the system print dialog as the alternative.

Restore HP discovery and update firmware when needed

If HP reinstallation cannot discover your Wi-Fi printer, restoring setup mode replaces its network settings. On applicable touchscreen models, open Wireless or Setup, then Network setup or Settings, and select Restore Network Settings. On most supported models without a touchscreen, hold the Wireless and Cancel buttons together for five seconds or until the wireless indicator blinks.

Re-add the printer in the HP app within two hours. If your printer has different controls, use its model-specific setup instructions. This is a connection repair for failed discovery.

HP firmware updates are general maintenance rather than a universal cure for 0x80004005. Firmware updates can affect cartridges with non-HP chips or circuitry. For models exposing these controls, open the HP app, select the printer, and select Advanced Settings; another layout uses Printer Settings > View All > Advanced Settings. Alternatively, open the printer's IP address in a browser.

In the embedded settings, open General > Firmware Update, Printer Update, or Tools > Printer Updates > Firmware Updates, depending on the interface. Enter the printer-label PIN if requested and select Submit. Select Check for Update, then select Update if an update is available. Keep the printer powered on.

You can also use the physical control panel on an HP model connected through Wi-Fi or Ethernet that has a matching update menu. Open Menu > Tools > Maintenance > Firmware, or Setup > Printer Maintenance > Update the Printer. Another supported menu is Setup > Tools > Update the printer > Check Now. Keep power connected throughout the update.

Repair Windows files for broader system trouble

If broader Windows corruption is suspected, system-file repair is a later troubleshooting step. Microsoft provides it as a general Windows repair rather than a specific fix for printer error 0x80004005. Install Windows updates and restart before proceeding.

Search for Command Prompt, right-click it, and select Run as administrator. Select Yes, then run the following command.

DISM.exe /Online /Cleanup-image /Restorehealth

Wait for successful completion before running the next command. Allow the System File Checker verification to finish.

sfc /scannow

Frequently Asked Questions

Which HP app should you get if older instructions mention HP Smart?

The HP app replaces HP Smart. Obtain it through the Windows Microsoft Store link on HP's official app product page. Availability and features vary by device and region.

Should you use HP Print and Scan Doctor or the old MSDT troubleshooter?

Use the HP app's Diagnose & Fix or Microsoft's Get Help printer troubleshooter. HP retired Print and Scan Doctor, and Microsoft replaced the older MSDT printer troubleshooting route. Older instructions directing you to those utilities should not be your repair path.

Which policy should IT review if protected print settings are managed?

Ask IT to review Computer Configuration > Administrative Templates > Printers > Configure Windows protected print. The administrator must decide whether to retain modern printing or remove the restriction for a required vendor driver.

Can you use the HP control panel firmware method with a USB-only connection?

The control panel firmware method requires a Wi-Fi or Ethernet connection and is unavailable through a USB-only connection. For downloadable firmware offered for your model and operating system, identify the printer on HP's official printer downloads page.

Share