Are you trying to install a game and during the process you get the error “Microsoft Store error code 0x80242020 with the message An unexpected error has occurred”? When this problem occurs if they are any download or installation in progress it will stop at a certain stage without fail. This error appears due to various causes, some of which can be storage issues, corrupted caches, third-party anti-virus software, configured accounts wrong, etc. In some cases, incorrect drive selection can also cause this problem. Let us see the different methods by which this problem can be resolved.
1. Change default download drive
By default, when you download any file, it will be downloaded inside the root drive i.e. “C:”. Many users have reported that they were able to fix error code 0x80242020 by changing the default location to save new apps.
1. Open Settings using Windows Key + I
2. Select System on the left navigation and then Storage on the right pane.
3. Go to Advanced Storage settings under Storage Management, and click Where new content is saved.
4. Use the available drop-down menu to change the default saving locations of the following – Apps, documents, Music, Photos, Movies, and offline maps. You may choose any drive other than the Windows installed drive (C:).
If you don’t have any fixed drive other than the installed one, you need to make partitions on it. Or, try the solutions provided below.
Note: In case the error code 0x80242020 is resolved after changing the default save location, the problem is in the C:\ drive. You can only solve the root drive problem by formatting it. However, for that to happen, you need a Windows installation disc and a clean install of Windows on your PC.
2. Repair or reset Microsoft Store
1. Press Windows key + R simultaneously. In the dialog box type WSReset.exe and hit enter or click on Ok.
Wait while Command Prompt is resetting the Store app. Once this is over, Microsoft Store will start automatically.Alternatively, you may also clear the stored cache by navigating to the below location
- Settings > Apps > Apps & Features
- Scroll down and locate Microsoft Store.
- When found, click the three dots available beside it.
- Select “Advanced options” next.
- Scroll a bit on the subsequent page to Reset, and hit Repair first.
- If the repairing doesn’t work, hit Reset.
I hope the error 0x80242020 resolves by now.
3. Logout of Xbox and Microsoft Store
Launch your Xbox application and Microsoft Store, and sign out from both of them. Sometimes the solution would be very simpler than what we expect it to be. To sign out follow the below steps.
1. To sign out from Microsoft Store, firstly launch the Microsoft Store and click on the user icon present at the top right corner of the window.
2. Click on the sign-out option from the menu.
3. Restart the machine.
4. Now launch the Xbox application and sign out from it.
4. Reinstall Microsoft Store
If none of the above workarounds help to resolve the error code 0x80242020, the problem must lie in the Store app itself. As you have already repaired or reset this application, there’s no point in doing that again. What you may do now is uninstall/reinstall Microsoft Store via PowerShell.
1. Press Windows Key + X to invoke the Power Menu, and select Windows Terminal (Admin).
2. The terminal will default land into Windows PowerShell.
3. Run the below cmdlet first
Get-AppxPackage *windowsstore* | Remove-AppxPackage
4. Now that you have removed all packages on Microsoft Store, reinstall them by executing the below command
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Wait for a few minutes while the Store app and related packages are downloading. Once this is over, restart your computer.
5. Install all available Windows updates
Some users claimed that, as soon as they installed all the pending updates on other Windows apps, the 0x80242020 error was fixed.
1. Type Updates in Windows search and press Enter
2. Here, click Check for updates
3. Make sure you install all the optional updates as well
4. Next, open Microsoft Store and go to Library
5. Click Get updates and make sure everything is installed
6. Once done, restart your system and try installing games once again.
I hope, by now, you must be able to resolve error code 0x80242020 on your Windows 11 or 10 PC.
No comments:
Post a Comment