Windows Package Manager Operation failed: Here’s how to resolve it

By: Elsie Otachi
5 minute read
Package Manager operation failed

aPackage Manager is a command line tool in Windows used to install, remove, and/or update packages while offline.

You can easily add a package, expand .cab files, or even enable or disable a Windows feature offline or on a running Windows installation.

Other things you can do with Package Manager include:

  • Installing or uninstalling Microsoft hotfixes
  • Add drivers to the driver store
  • Install language packs
  • Install or uninstall multiple packages in Windows using one command string
  • Add packages to offline images on Windows
  • Accept answer files as input under offline Servicing settings

If you encounter an error message that says Windows Package Manager Operation failed, here are solutions to help you fix the problem.

How to fix Windows Package Manager Operation failed

Solution 1: Run Windows Update troubleshooter

The Windows Update troubleshooter automatically detects, and fixes most incorrect settings on your computer that brings the message Windows Package Manager Operation failed.

Running Windows Update troubleshooter resolves any issues that prevent you from updating Windows, so follow these steps to run Windows Update troubleshooter:

  • Click Start
  • In the search field box, type Troubleshooting
  • Click Troubleshooting

fix Windows Package Manager Operation failed

  • Click View all in the left pane

fix Windows Package Manager Operation failed

  • Select Windows Update

fix Windows Package Manager Operation failed

  • Run Windows Update Troubleshooter and follow the instructions on the screen

Solution 2: Run DISM tool

If you still get the Windows Package Manager Operation failed message, run the DISM tool, or Deployment Image Servicing and Management tool.

The DISM tool helps fix Windows corruption errors when Windows Updates and service packs fail to install due to corruption errors, like if you have a damaged system file.

Here’s how to run the DISM command on your PC to check if it helps:

  • Click Start
  • In the search field box, type CMD
  • Click Command Prompt in the search results list

fix Windows Package Manager Operation failed

  • Type Dism /Online /Cleanup-Image /ScanHealth
  • Type Dism /Online /Cleanup-Image /RestoreHealth

Once the repair is complete, reboot your computer and check if the problem persists.

Solution 3: Run a System File Checker scan

A System File Checker scan checks or scans all protected system files, and then replaces the incorrect versions, with the genuine, correct Microsoft versions.

If a Windows Resource Protection file is missing or corrupted, Windows may not behave normally, or some functions may not work, or Windows may even crash.

Here’s how to run an SFC scan:

  • Click Start
  • Go to the search field box and type CMD
  • Select Command Prompt

package manager

  • Right click and select Run as Administrator

  • Type sfc/scannow
  • Press Enter
  • Restart your computer

If the update installation issue persists, try the next solution.

Solution 4: Automatic Repair in Windows Recovery Tool

Using Windows 10 installation media, you can use Automatic Repair to detect, and fix any problems that prevent your computer from starting.

Such problems include drivers, program conflicts, malware and memory.

However, if you do not have installation media, you can download and create Windows 10 installation media, then follow the steps below to perform the Automatic Repair.

  • Insert installation USB media
  • Boot Windows Technical Preview from the installation media
  • Under Windows setup page, select Language to install
  • Select Time and currency format
  • Select Keyboard or input method
  • Click Next
  • Click Repair your computer
  • Select Troubleshoot
  • Select Automatic Repair, then choose the operating system
  • A blue screen will appear with an option to choose from. Choose Troubleshoot
  • Select Advanced options
  • Choose Automatic Repair from Advanced boot option
  • Follow the prompt’s instructions

ALSO READ: Operating system version is incompatible with Startup Repair [FIX]

Solution 5: Perform an In-Place Upgrade

If you perform the repair process and your computer doesn’t operate normally, you can try doing a in-place upgrade of the existing installation.

An in-place upgrade is a final alternative before you reinstall the operating system. This takes the same time you’d take to upgrade, and some customized settings may be lost in the process.

Take these steps to perform an in-place upgrade and repair installation of Windows:

  • Close all running apps
  • Insert the installation DVD
  • In the Setup windows, click Install now.

If Windows doesn’t automatically detect the installation DVD, do the following:

  • Click Start
  • Go to the search field box and type Drive:setup.exe
  • Go to Programs
  • Click Setup.exe
  • Click Install now in the setup window
  • Click Go online to get the latest installation updates
  • Type the CD key if prompted
  • Go to Install Windows page and select the operating system you want to Upgrade or Inplace
  • Click Yes to accept the terms
  • Click Upgrade under the Which type of installation do you want screen
  • Restart your computer once installation is complete

Does this take away the Windows Package Manager Operation failure issue? Try the next solution if it doesn’t.

Solution 6: Manually reset Windows Updates components

Disclaimer: this solution contains steps that are part of modifying the registry. Please note that serious problems may occur if you do this incorrectly. Ensure you follow these steps correctly, and carefully.

Back up the registry before you modify it, then restore it if a problem occurs.

Follow these steps to manually reset the Windows Updates Components:

  • Right click Start
  • Select Command Prompt (Admin)

update installation

  • Click Yes when asked for permissions

package manager

  • Stop the BITS, Cryptographic, MSI Installer, and Windows Update Services by typing the following commands at a command prompt:
  • net stop wuauserv
  • net stop cryptSvc
  • net stop bits
  • net stop msiserver
  • Press Enter after each command you type
  • Rename the SoftwareDistribution and Catroot2 folder by typing the commands below in the Command Prompt then press Enter after each command you type:
  • ren C:WindowssoftwareDistribution SoftwareDistribution.old
  • ren C:WindowsSystem32catroot2 Catroot2.old
  • Restart the BITS, Cryptographic, MSI Installer, and Windows Update Services by typing the following commands in command prompt:
    • net stop wuauserv
    • net stop cryptSvc
    • net stop bits
    • net stop msiserver
  • Type Exit in the Command Prompt to close it

Try running Windows Updates again to check if the issue has been resolved.

Note: it isn’t recommended to uncheck the update option Give me updates for other Microsoft products when I update Windows. Windows Updates downloads and installs updates required to run Windows efficiently.

Solution 7: Perform a Clean Boot

If you still get the Windows Package Manager Operation failed, eliminate any software conflicts that may be causing the issue.

Performing a clean boot for your computer reduces conflicts related to software that can bring up the root causes of the Windows Package Manager Operation failure. These conflicts can be caused by applications and services that start up and run in the background whenever you start Windows normally.

How to perform a clean boot

In order to successfully perform a clean boot on Windows 10, you have to be logged on as the administrator, then follow these steps:

  • Go to the search box
  • Type msconfig

  • Select System Configuration

package manager

  • Find Services tab
  • Select Hide all Microsoft services box

package manager

  • Click Disable all
  • Go to Startup tab
  • Click Open Task Manager

package manager

  • Close Task manager then click Ok
  • Reboot your computer

You will have a clean boot environment after all these steps are carefully followed, after which you can try and check if the problem is gone.

Did any of these solutions resolve the Windows Package Manager Operation issue? Let us know in the comments section below.


For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).


Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading