
Fix Microsoft Store Error 0x80040154 On Windows 11/10
Fix Can't Install Apps or games from Microsoft Store Error Code 0x80040154 On Windows 10 or 11
Step 1) Sign out and sign in again, make sure date and time, time zone and region are correct
Step 2) Run Windows Store Troubleshooter & Update Troubleshooter
Step 3) Restart Windows Update components, start Microsoft Store Install service
SC config trustedinstaller start=auto
net stop bits
net stop wuauserv
net stop msiserver
net stop cryptsvc
net stop appidsvc
Ren %Systemroot%\SoftwareDistribution SoftwareDistribution.old
Ren %Systemroot%\System32\catroot2 catroot2.old
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
netsh winsock reset
netsh winsock reset proxy
rundll32.exe pnpclean.dll,RunDLL_PnpClean /DRIVERS /MAXCLEAN
net start bits
net start wuauserv
net start msiserver
net start cryptsvc
net start appidsvc
Click the File tab/Save as/Select the desktop.
Name it as Wufix.bat and in the field below under Type select all files.
Click save
Right-click on the Wufix file and click Run as administrator
Restart your PC
Step 4) Clear store cache Using wsreset command
Step 5) Reset Store app
Step 6) Update Windows
Step 7) Delete Windows Store local cache file: C:\Users\User_name\AppData\Local\Packages \Microsoft.WindowsStore_8wekyb3d8bbwe\LocalCache
Step 8) Run Powershell command to re-register store
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Step 9) Uninstall & Reinstall Store
Get-AppxPackage -allusers *WindowsStore* | Remove-AppxPackage
Reboot your computer
Get-AppxPackage -allusers *WindowsStore* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Step 10) Run DISM Command
sfc /scannow
Dism /Online /Cleanup-Image /RestoreHealth
Step 11) Run inetcpl.cpl command
In Advanced Tab
Check Use TLS 1.0, 1.1, 1.2 and 1.3
Step 12) Update Windows 10 or 11 using media creation tool
https://www.microsoft.com/en-in/software-download/windows10
https://www.microsoft.com/en-in/software-download/windows11