Fix – Microsoft Store Error Code 0x80040154

In this guide, we will look into Microsoft Store error code 0x80040154, the reasons behind its occurrence, and four working ways that may fix this issue. Normally, when you encounter this bug, you can’t install/upgrade Microsoft and its apps.  

Corrupted system files, damaged Windows 10 components, and accumulated cache are a few reasons that may elevate this bug on your computer. You may fix this problem by applying the solutions – Run Store Apps troubleshooter, Reset Store Cache, Run SFC/DISM, etc. In case the problem remains as it is, try uninstalling/reinstalling the Store App. 

Fix Microsoft Store Error 0x80040154

How to solve Microsoft Error Code 0x80040154

If you are receiving an error code 0x80040154 while launching Windows Store or any apps downloading from it, try the below workarounds –

1] Troubleshoot Windows Store Apps

Troubleshooting Microsoft Store is the best way to counter any issues that occur while opening it or upgrading apps downloading from it. The whole process is pretty simple and straightforward to use. Here’s how you may address the error code 0x80040154 on your computer –

  • Press Win + I to launch the Settings app.
  • Select Update & Security > Troubleshoot.
  • Jump to the right side and click over the link – Additional troubleshooters.
  • On the subsequent screen, scroll down to Windows Store Apps (you may find it at the bottom end).
  • Tap over Windows Store Apps once and hit the button – Run the troubleshooter.

Troubleshoot Store App - 0x80040154

  • Do as asked on the troubleshooter window and the problem gets resolved automatically.
  • In case it doesn’t fix the issue, you will get a set of instructions following which you may solve this problem. 

2] Reset Windows Store Cache

If troubleshooting doesn’t help, the error 0x80040154 might be occurring because of some stored cache inside the Store app. WSreset is a good tool by Microsoft that resets Store to its default state. Go and run this command-line program and see if it helps to solve the problem at hand. 

  • Launch Command Prompt as an administrator.
  • Type “wsreset.exe” and press Enter.
  • This code will run next and purge all the cache associated with your Microsoft Store.

Error Code 0x80040154 - wsreset

  • Close all running windows, and restart your PC.

Sign back into your PC and check if it indeed helps to resolve the root cause and thus the problem that you were struggling with. 

3] Repair Windows 10 Components and corrupt system files

The presence of corrupted system files or Windows Image itself may also result in different error codes including 0x80040154. So, if you are not able to start Microsoft Store or its apps, we suggest following the below guideline –

  • Use the hotkey Win + X, and select Windows PowerShell (Admin).
  • When the PowerShell comes into the view, execute the codes below one after another –
DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth
DISM.exe /online /cleanup-image /startcomponentcleanup
sfc /scannow
  • Make sure to press the Enter key after each command. 
  • Don’t run the next code until the previous one completes. 

Proceeding this way, you will repair whatsoever corruption exists inside Windows 10 Images or system files.

  • In the end, restart your PC so that the changes made come into effect. 

4] Repair the Microsoft Store app

In case you are still unable to install or update apps on Microsoft Store, the problem may lie with the Store app itself. By default, Microsoft doesn’t provide a way to uninstall its store app, however, you may righteously do so using Windows PowerShell. Here’s how to perform this task –

  • Press Winkey + X to launch the Power Menu. Select Windows PowerShell (Admin) next.
  • When the UAC prompts, hit Yes to authorize opening PowerShell as administrator.
  • Copy/paste the codes below and run them separately –

Get-AppxPackage *windowsstore* | Remove-AppxPackage

Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

  • That’s it, the Windows Store App is now reset to its default settings. 

I hope the information shared in this guide was useful and fixes the error code 0x80040154.

How do I fix Windows Pin Error 0x80040154?

This error code 0x80040154 might also occur when you are trying to create a new PIN or modify the existing passkey on your computer. If that’s the case, you better try out the solutions discussed in this article

How do I fix a stuck install update?

If you are stuck on some error codes while updating Windows, it’s better to wait for a few hours. In case the error occurs even after that, you may proceed with troubleshooting Windows Update, or manually download the standalone package and install that on your Windows PC. 

R Aryan

R Aryan

Ranvijay Aryan, a Windows expert has been writing for howtoedge since 2018. He has worked at different websites, including howtoconnect, ilovefreesoftware, WindowsOutline, and other tech sites. He has also produced several articles in the SEO niche on Kunnectus and WpressSeo.