Error 0x80004002 in the Microsoft Store on Windows 11 typically indicates a failure in the underlying Windows Update components or corrupted cache files. This generic error often stems from misconfigured services, damaged system files, or authentication issues with the store account. Resolving it requires a systematic approach to reset store components and repair system integrity.
Understanding the Error Context
The code
0x80004002 is a COM error indicating that an interface was not found or could not be instantiated. In the context of the Microsoft Store, this usually means the application cannot communicate with the Windows Update service or the local component store. Unlike specific network errors, this issue is often local to the machine's configuration rather than a server-side problem. Users frequently encounter this when trying to install new applications or update existing ones after a major Windows 11 feature update. If you are experiencing broader update failures alongside this, you might want to check our guide on
Common Win 11 Update Issues and How to Fix Them.
Resetting the Microsoft Store Cache
The most common and least invasive fix is clearing the local store cache. Over time, temporary files can become corrupted, preventing the store from validating updates. This process does not delete your apps or data but forces the store to rebuild its local index.
- Press Windows Key + R to open the Run dialog.
- Type
wsreset.exe and press Enter.
- A black command prompt window will appear briefly. Wait for it to close automatically.
- The Microsoft Store should launch automatically once the process completes.
If the error persists after this step, proceed to the next troubleshooting phase involving Windows Services.
Verifying Windows Update Services
The Microsoft Store relies heavily on the Windows Update service infrastructure. If these background services are disabled, paused, or set to manual startup, the store will fail to authenticate or download content. You need to ensure they are configured correctly.
- Press Windows Key + R, type
services.msc, and hit Enter.
- Locate Windows Update in the list. Double-click it.
- Ensure the Startup type is set to Automatic.
- If the service status is Stopped, click Start.
- Repeat this process for Microsoft Store Install Service if present.
After adjusting these settings, restart your computer and attempt the installation again. This ensures that the necessary background processes are active before the store attempts to connect.
Repairing System Files
Corrupted system files can also trigger this COM error. The System File Checker (SFC) tool scans protected Windows files and replaces incorrect versions with correct Microsoft versions. This is a critical step if previous methods failed.
- Right-click the Start button and select Terminal (Admin) or Command Prompt (Admin).
- Type
sfc /scannow and press Enter.
- Wait for the scan to complete. This may take several minutes.
- If corruption is found, Windows will attempt to repair it automatically.
For more severe corruption that SFC cannot fix, you can run the Deployment Image Servicing and Management (DISM) tool. Open an elevated terminal and run
DISM /Online /Cleanup-Image /RestoreHealth. This tool repairs the Windows image used for system updates. Note that if you recently updated Windows and are facing login issues, refer to
Can't Login After Windows 11 Update - Troubleshooting Guide for related system integrity checks.
Re-registering the Microsoft Store App
If the above steps do not resolve the issue, the Store app itself may be broken. You can reinstall it using PowerShell. This action restores the default version of the Store without affecting your user data.
- Open PowerShell as Administrator.
- Run the following command to get the current package name:
Get-AppxPackage *windowsstore* | Select PackageFullName
- Copy the full package name returned by the previous command.
- Run the following command, replacing
[PackageFullName] with the copied name:
Add-AppxPackage -register C:\Program Files\WindowsApps\[PackageFullName]\appxmanifest.xml -disabledevelopmentmode
This re-registers the app manifest, effectively resetting the Store to its factory state. Log out and log back in to apply changes.
Frequently Asked Questions
Why does 0x80004002 appear randomly?
This error appears randomly when background services are interrupted during a system sleep or hibernation cycle. It can also occur if third-party antivirus software blocks the Store's access to system directories.
Will resetting the cache delete my installed apps?
No, running
wsreset.exe only clears temporary cache files. Your installed applications, games, and personal data remain intact and unaffected by this operation.
How do I know if Windows Update is blocked?
Check the Services console for the "Windows Update" service. If its status is "Stopped" or startup type is "Disabled," the Store cannot function properly because it depends on this service for downloads.
Is it safe to use DISM for this error?
Yes, the DISM tool is a built-in Windows utility designed to repair system images safely. It does not affect personal files and is recommended for fixing deeper system corruption.
What if the Store app won't open at all?
If the app fails to launch, use the PowerShell re-registration method described earlier. This reinstalls the core components of the Store, which often resolves launch failures associated with this error code.