This manual describes ways to fix Microsoft Store errors in Windows 10:
The list of errors, code: 0x80131500, 0x80072EFD, 0x80072F30, 0x80072EE7, 0x80240438.
In this case, the computer is connected to the Internet.
Contents
- Clear the Microsoft Store Cache
- Enable TLS 1.2 protocol
- Check hosts file
- Reinstall Microsoft Store
- Reset Windows Firewall Settings
- Install the latest Windows updates
Article in other languages:
?? – Corrección error Microsoft Store
?? – Исправление ошибок Microsoft Store
Clear the Microsoft Store Cache
Clear the Microsoft Store cache:
- Press the Windows Logo Key+R to open the Run dialog box;
- Type wsreset.exe and click OK.
A blank Command Prompt window will open.
After about ten seconds the window will close and Microsoft Store will open automatically
Enable TLS 1.2 protocol
One of the causes of Microsoft Store errors may be TLS 1.2 transport layer protection protocol disabled in Windows 10.
The use of this protocol in Windows is specified in the Properties: Internet snap-in (Internet Explorer browser settings).
To enable the protocol:
- Press the Windows Logo Key+R to open the Run dialog box;
- Type inetcpl.cpl and click OK;
- Go to the Advanced tab;
- Select Use TLS 1.2 in the list and click OK.
Try to launch the Microsoft Store again if the problem was with the use of the TLS protocol version – the launch of the Microsoft Store will be successful.
? To access this setting, you can launch Internet Explorer (in Windows 10, the folder C:\Program Files\Internet Explorer\iexplore.exe), click the Tools button and select Internet Options.
Check hosts file
Another reason for the Microsoft Store connectivity error may be the redirection of Microsoft server addresses to a nonexistent (or local) network address on the local computer in the hosts file.
hosts – a text file containing a database of domain names and used when translating them into the network addresses of nodes. A request to this file takes precedence over accessing DNS servers. Unlike the DNS system, the contents of the file are set by the administrator of the computer.
Wikipedia
The hosts file is located in the Windows system folder:
\Windows\System32\drivers\etc\
Open the file with a text editor (for example Notepad).
Example contents of a clean hosts file:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
If you see entries in the hosts file like:
This means that the hosts file has been modified, all requests for programs on your computer (including requests from the Microsoft Store) are sent to the address 0.0.0.0
Delete the extra entries in the file (you can copy and paste the sample text from the clean hosts file) and save the file.
? You can copy the hosts file to another location, modify and write the changed file back to the system folder.
Check the operation of the Microsoft Store after changing the hosts file.
Reinstall Microsoft Store
In some cases, reinstalling the application may help.
Launch Windows PowerShell as an administrator (right-click the Start button or Windows Logo Key+R).
Run the commands one after the other:
$manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Restart your computer and check the operation of the Microsoft Store.
? You can try to remove the Microsoft Store forcibly and restore it with the commands above (instructions how to remove Windows applications).
Reset Windows Firewall Settings
Sometimes blocking the addresses of Microsoft servers or system programs with the built-in Windows firewall can also lead to errors in the Microsoft Store, in which case it is worth resetting the Windows firewall.
Launch Windows Defender Firewall Monitor in Advanced Security:
- Press the Windows Logo Key + R to open the Run dialog box (or run the command line as administrator);
- Type wf.msc and click OK;
- From the menu, select Action and click Restore Default Policy;
- Accept the action and click Yes.
Reboot the computer and check the operation.
? On your computer, another software can also be used to control access to the Internet. Try temporarily disabling it to check the operation of the Microsoft Store.
Install the latest Windows updates
- Click the Start button and select Settings;
- select Update & security;
- select Windows Update and click the Check for Updates button.
Install the suggested Windows updates, restart the computer and check the operation of the Microsoft Store.
? Fixing Microsoft Store errors: 0x80131500, 0x80072EFD, 0x80240438 was discussed in this article. I hope you managed to fix the Microsoft Store error. However, if you run into any problems while fixing errors: 0x80131500, 0x80072EFD, 0x80240438, do not hesitate to write in the comments. I will try to help.
After setting up the Tweaker, the addresses 0.0.0.0 were added to the hosts file for all types of telemetry and sending Windows reports. Because of this, the Windows Store was throwing an error, which I googled here. Just deleted the hosts file. And edited the old one. The Windows store started working right away!
Thanks.