Hi, thanks for replying, Do you mean when you run the first command? in that case, kindly fo the second step which is the in-place upgrade.
Windows Store error code 0x80070002
I am trying to reinstall Microsoft Solitaire Collection, which worked yesterday, but wouldn't open in the evening. I get error code 0x80070002 when trying to install the software again. How can this be fixed? There were no updates on my computer between the successful previous launch and the delete/reinstall of the software.
Windows for home | Windows 11 | Microsoft Store
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
8 answers
Sort by: Most helpful
-
Anonymous
2023-03-27T18:36:40+00:00 I receive the message that access is denied.
-
Lester Bernard Reyes 80,115 Reputation points Independent Advisor
2023-03-27T18:26:05+00:00 Hi, thanks for that information, in that case, let us remove again and reinstall Solitaire using Windows Powershell:
On Powershell(admin), copy and paste each command below:
Get-AppxPackage -allusers *MicrosoftSolitaireCollection* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Get-AppxPackage *solitairecollection* | Remove-AppxPackage
Once done, restart the PC and check
If none will work from the above solution, I suggest doing an in-place upgrade wherein it will upgrade the device to the latest version and repair all issues without deleting any files.
Kindly follow the steps from this link:
-
Anonymous
2023-03-27T18:20:56+00:00 There are no issues with other apps that were downloaded from the store. I tried both methods and was unsuccessful with both.
-
Lester Bernard Reyes 80,115 Reputation points Independent Advisor
2023-03-27T17:55:30+00:00 Hi and thanks for reaching out. My name is Bernard a Windows fan like you. I'll be happy to help you out today.
I understand the issue you have, there is nothing to worry I am here to help, is it only happening to Microsoft Solitaire? can you try to check other apps, please? if same issue, kindly follow the steps below:
We need to repair the Microsoft Store components by following the steps below:
Method 1. Repair Windows Store and app:
On Powershell(admin), copy and paste the command below:
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Then hit Enter, once the process is done, restart the PC and check.
Method 2. repair Windows Store and update components
Open Powershell with Admin or CMD with Admin (Press Windows key + X then click Windows Powershell(Admin))
Copy each line of command to Powershell then press enter (one line at a time)
net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*"
rmdir %systemroot%\SoftwareDistribution /S /Q
rmdir %systemroot%\system32\catroot2 /S /Q
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
netsh winsock reset
netsh winsock reset proxy
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc
-Once done restart the device and check.
Let me know how it goes and I hope that helps.
Bernard