ACTIVE MALWARE WINDOWS TESTED: WINDOWS 11, WINDOWS 10

How to fix
Microsoft Store error 0x80240004
on Windows

Resolve Microsoft Store error 0x80240004 on Windows 10 or 11 with our expert-tested solutions. Fix it quickly and efficiently today! Updated 2025.

How to fix Microsoft Store error 0x80240004?
Quick Summary
Error severity
Medium
Est. time
10 minutes
Offer Fortect PC Suite
Start fix →
Ad · we may earn a commission
0 Comments
01

What causes How to fix Microsoft Store error 0x80240004?

  • Corrupted system files
  • Windows Store cache bug
  • Unstable internet connection
  • Specific events like Windows update
  • Installed program conflicts
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

I keep getting errors when I try to download any apps from the Microsoft Store. This is becoming a real issue because updates for the installed apps are not working either. The error code I always get is 0x80240004.

Encountering issues with updating or installing new applications through the Microsoft Store can be quite annoying. It not only prevents users from accessing the latest features of apps and games, but it also leaves their devices susceptible to cyber threats due to unpatched software. If you've been dealing with a 0x80240004 error while trying to download or update apps, this guide is here to help you resolve the issue and get back on track.

Microsoft Store error 0x80240004 is not unique in any way - we've already covered 0x80240008, 0x80d06802, 0x80D06809, and a host of other errors users might come across. In some circumstances, the issue just affects specific apps, whilst in others, it is more widespread and prevents people from using the Store altogether.

There may also be variations in the issue's emergence circumstances. While some users reported that the problem appeared to appear out of the blue, others explained how they first saw the error following a specific event, such as a Windows update or an installed program on the machine.

The 0x80240004 error code may appear for a number of reasons. For instance, it can be caused by corrupted system files, a Windows Store cache bug, an unstable internet connection, or other similar problems. Since it can at times be tricky to identify the error's root cause, we advise trying the [d1] PC repair tool, which can frequently save hours of troubleshooting work and solve computer issues instantly. Alternatively, use the below manual solutions.

How to fix microsoft store error 0x80240004 copy
How to fix microsoft store error 0x80240004 copy

Fix 1. Run Windows Store apps troubleshooter

Go ahead and start by running Windows Store apps troubleshooter as follows:

  • Type Troubleshoot in Windows search and hit Enter.
  • Click Additional troubleshooters/Other troubleshooters.
  • Scroll down to find Windows store apps and select it.
  • Click Run the troubleshooter/Run.
  • Wait till the process is finished and apply the fixes, then try updating again.

How to fix microsoft store error 0x80240004 store apps troubleshooter
How to fix microsoft store error 0x80240004 store apps troubleshooter

Fix 2. Clear Store cache

Bugged caches can often be the cause of errors such as 0x80240004, so reset it as follows:

  • In Windows search, type wsreset.exe and press Enter.
  • Wait till a black window shows up – do not close it.
  • Once it's gone, Microsoft Store should restart.
  • Try using the Store again.

How to fix microsoft store error 0x80240004 reset store cache
How to fix microsoft store error 0x80240004 reset store cache

Fix 3. Repair corrupted files

You can fix corrupted system files by running commands via an elevated Command Prompt.

  • Type cmd in Windows search.
  • Right-click on Command Prompt and pick Run as administrator.
  • The User Account Control window will ask whether you want to allow changes - click Yes.
  • In the Command Prompt window, paste the following command and hit Enter:
    sfc /scannow
  • Once the scan is complete, use the following commands and press Enter after each:
    Dism /Online /Cleanup-Image /CheckHealth
    Dism /Online /Cleanup-Image /ScanHealth
    Dism /Online /Cleanup-Image /RestoreHealth
  • (Note: if you get an error executing this last command, add /Source:C:\RepairSource\Windows /LimitAccess to it and try again).
  • Restart your system.

How to fix microsoft store error 0x80240004 sfc dism
How to fix microsoft store error 0x80240004 sfc dism

Fix 4. Repair or reset the Microsoft Store

If resetting the Store cache did not work, you can always try repairing or resetting it instead.

  • Right-click on Start and select Apps & Features/Installed apps.
  • Scroll down to find Microsoft Store and click Advanced options or go to Settings > System > System Components > Advanced options.
  • Scroll down again and click Terminate and Repair.
  • If that does not work, try using Reset.

How to fix microsoft store error 0x80240004 repair reset store
How to fix microsoft store error 0x80240004 repair reset store

Fix 5. Check services

  • Type Services in Windows search and hit Enter.
  • Locate Windows Update, Storage Service, and Windows Firewall in the list.
  • Right-click on each and select Properties.
  • Set the Startup type to Automatic - select it from the drop-down menu.
  • Click Start if the service is not running.
  • Click Apply and OK.

How to fix microsoft store error 0x80240004 check store update and firewall services copy
How to fix microsoft store error 0x80240004 check store update and firewall services copy

Fix 6. Re-register Microsoft Store

  • Type PowerShell in Windows search.
  • Right-click on the result and select Run as administrator.
  • When UAC shows up, click Yes.
  • Use the following command and press Enter:
    Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
  • When done, restart your computer.

How to fix microsoft store error 0x80240004 reregister microsoft store copy
How to fix microsoft store error 0x80240004 reregister microsoft store copy

Fix 7. Perform in-place upgrade

Media Creation Tool can replace damaged or corrupted files with new ones - you need to download the tool from the official Microsoft website. Before proceeding, make sure you uninstall third-party security software and disconnect any peripherals that are not required (photo cameras, printers, external drives, etc.).

Create Windows ISO

  • Download Windows 11 Installation media from the official Microsoft website. [Windows 10 version]
  • Double-click the MediaCreationTool.exe file to launch it.
  • When UAC shows up, click Yes.
  • Accept license terms.
  • Select Language and Edition (make sure it matches the one you have currently installed) or simply mark the Use the recommended options for this PC and click Next).
  • Select the ISO file and click Next.
  • Pick the location for your ISO file and wait till all the needed files are downloaded, then click Finish.

How to fix microsoft store error 0x80240004 in place upgrade copy
How to fix microsoft store error 0x80240004 in place upgrade copy

Repair-install Windows

  • Go to the location of your ISO file, right-click, and select Mount.
  • Run the setup.exe file.
  • You will be asked whether you want to update Windows to the latest version - pick Not right now and click Next.
  • Accept Terms and Windows will make several checks to ensure everything is fine.
  • Click Change what to keep.
  • Here, you have several options: Keep your files and apps, Keep files only, or Keep nothing - choose what suits you the best. Click Next.
  • Finally, click Install to begin the installation process.

Bottom line

To resolve the Microsoft Store error 0x80240004, you can start by running the Windows Store apps troubleshooter. If the issue persists, consider using a PC repair tool or exploring additional manual solutions. If none of these methods work, further investigation into your system may be necessary.

Frequently asked questions

This error typically occurs due to issues with the Windows Store cache or problems with your internet connection. Additionally, corrupted system files can also contribute to this error.

To clear the Microsoft Store cache in Windows 11, press Win + R, type 'wsreset.exe', and hit Enter. This will reset the store cache without affecting your installed apps.

Yes, you can repair Microsoft Store by going to Settings > Apps > Apps & features, finding Microsoft Store, clicking on it, and selecting 'Advanced options' followed by 'Repair'. This can often fix issues causing the error.

Did this fix work for you?
Emma Collins

Written & verified by

Windows Performance Specialist
Windows performance Startup optimisation RAM and CPU tuning Disk cleanup Background process management

Emma Collins is a Windows performance specialist who focuses on diagnosing and resolving slow system issues, startup bottlenecks, and resource management problems. With over five years of experience, she has helped thousands of users reclaim PC speed without reinstalling Windows. Emma's guides cover background process cleanup, startup item management, advanced RAM optimisation, disk performance, and visual effects tuning. She approaches performance problems from first principles — measuring before and after each change so readers know exactly what impact each fix delivers.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →