Many Windows 10 users have reported seeing an error while updating the applications from the Windows Store. Once the error is seen, the user won’t be able to update the apps from Windows Store. This issue is known to be present in Windows 7,8,10.
Potential reasons to see this error are :
- Corrupt Store Cache.
- Incomplete SoftwareDistribution Folder
- Corrupt System Files.
- The Required services are not enabled.
- Unexpected glitch in Windows Store.
In this article, we have compiled some fixes that will help you fix the Windows Store Error with error code 0x80131505. Before proceeding with the specific fixes, try signing in and signing out from the Windows Store.
Fix 1: Try Running the SC commands
Step 1: Open the Run Terminal. One can use the shortcut Windows and R.
Step 2: Type cmd and hold the keys Ctrl+Shift+Enter to open the Command Prompt in Admin mode.
Step 3: If a confirmation dialog up asking for permission, just click on Yes.
Step 4: In the Command Prompt window that appears, type the below commands. Make sure to hit enter after every command.
sc config wuauserv start=auto sc config bits start=auto sc config cryptsvc start=auto sc config trustedinstaller start=auto exit
Step 5: Restart your System
Check if this helps. If not, try the next fix.
Fix 2: Renaming Windows Distribution Folder
Step 1: Open the Run Terminal. One can use the shortcut Windows and R.
Step 2: Type cmd and hold the keys Ctrl+Shift+Enter to open the Command Prompt in Admin mode.
Step 3: If a confirmation dialog up asking for permission, just click on Yes.
Step 4: In the Command Prompt window that appears, type the below commands. Make sure to hit enter after every command.
net stop wuauserv net stop cryptSvc net stop bits net stop msiserver ren C:\Windows\SoftwareDistrubution SoftwareDistribution.old ren C:\Windows\System32\catroot2 Catroot2.old net start wuauserv net start cryptSvc net start bits net start msiserver exit
Step 5: Open Run Window
Step 6: Type powershell and press Enter.
Step 7: If you see a confirmation dialog popping up, click on Yes.
Step 8: In the window that opens, copy-paste the following commands. Make sure to hit Enter after every command.
wuauclt.exe /updatenow exit
Step 5: Restart the system.
Fix 3: Run the Windows Update Troubleshooter
Step 1: Open the Run Dialog.
Step 2: In the appearing window, type the command ms-settings:troubleshoot and click on OK
In Windows 10
Step 3: In the Settings–> Update & Security –> Troubleshoot window that appears, choose the Additional troubleshooters option
Step 4: In the Additional Troubleshooters window that opens, choose the Windows Update option
Step 5: Click on then Run the troubleshooter button
Step 6: Now, the system will start looking for problems. You will be notified once the problem is found, follow the on-screen instructions to fix the problem.
Step 7: Restart the System.
In Windows 11:
Step 3: In the appearing window, click on Troubleshoot.
Step 4: Now, click on Other Troubleshooters.
Step 5: Click on the Run button next to Windows Update.
Step 6: Now, the system will start looking for problems. You will be notified once the problem is found, follow the on-screen instructions to fix the problem.
Step 7: Restart the System.
Fix 4: Re-register all the Apps in Windows Store
Step 1: Open Run Window using Windows+R.
Step 2: Type powershell and press Enter.
Step 3: If you see a confirmation dialog popping up, click on Yes.
Step 4: In the window that opens, copy-paste the following command.
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Step 5: Restart the System.
Fix 5: Reset the Windows Store
Step 1: Open the Run Terminal using the keys Windows and R.
Step 2: Type cmd and hold the keys Ctrl+Shift+Enter to open the Command Prompt in Admin mode.
Step 3: If a confirmation dialog up asking for permission, just click on Yes.
Step 4: In the Command Prompt window that appears, type the below commands.
wsreset.exe
Step 5: Restart your system.
Fix 5: Try Re-registering Windows Store Apps using PowerShell
Step 1: Open Run Window using Windows+R.
Step 2: Type powershell and press Enter.
Step 3: If you see a confirmation dialog popping up, click on Yes.
Step 4: In the window that opens, copy-paste the following command.
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Step 5: Restart the System.
Fix 6:Delete the contents from the Software Distribution folder in Safe Mode.
Step 1: Open the Run Terminal by holding the Windows and R keys simultaneously.
Step 2: Type ms-settings:recovery and press OK.
Step 3: Just Click on Restart Now.
Step 4: You can see the blue screen with the message Please Wait
Step 5: In the appearing window, click on Troubleshoot
Step 6: Click on Advanced options
Step 7: Click on Startup Settings.
Step 8: Now click on the Restart button.
Step 9: Press the F4 key to open the system in Safe Mode.
Step 10: Once the system opens in Safe Mode, hold the key Windows+E to open an explorer window.
Step 11: In the search bar at the top, copy-paste the below location,
C:\Windows\SoftwareDistrubution
Step 12: Delete all the contents within this folder
Step 13: Restart the System.
Step 14: Try running Windows update and check if the issue has been fixed.
Fix 6: Perform System Restore
In case nothing works, perform a System Restore. Below are the steps to be followed:
Step 1: Open the Run Terminal by holding the Windows and R keys simultaneously.
Step 2: Type ms-settings:recovery and press OK.
Step 3: Just Click on Restart Now.
Step 4: You can see the blue screen with the message Please Wait
Step 5: In the appearing window, click on Troubleshoot
Step 6: Click on Advanced options
Step 7: Click on System Restore.
Step 8: In the appearing window, select your account.
Step 9: Choose the keyboard layout.
Step 10: In the appearing window, choose the restore point.
Step 11: Sit back and wait patiently, till the system is restored.
Step 12: Once the System restores finishes, click on the Restart button.
That’s All.
We hope this article has been informative. Kindly comment and let us know the fix that helped you solve the issue.
Thank you for Reading.