Unable to reinstall Microsoft Store
Solved
Hello,
Since my Microsoft Store was no longer working, I wanted to uninstall it and I managed to uninstall everything.
The problem is when I go into PowerShell and do the manipulation to reinstall Microsoft Store, it doesn't work
Get-AppxPackage *Microsoft.WindowsStore* | Remove-AppxPackage
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
It writes all this without me being able to actually install it (see Photo link)
If there is any possibility of not doing a reset because I don't want to lose all the applications on my PC
Photo Link: https://image.noelshack.com/fichiers/2019/45/5/1573224099-annotation-2019-11-08-153137.jpg
Thank you in advance for your responses.
Thanks.
Since my Microsoft Store was no longer working, I wanted to uninstall it and I managed to uninstall everything.
The problem is when I go into PowerShell and do the manipulation to reinstall Microsoft Store, it doesn't work
Get-AppxPackage *Microsoft.WindowsStore* | Remove-AppxPackage
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
It writes all this without me being able to actually install it (see Photo link)
If there is any possibility of not doing a reset because I don't want to lose all the applications on my PC
Photo Link: https://image.noelshack.com/fichiers/2019/45/5/1573224099-annotation-2019-11-08-153137.jpg
Thank you in advance for your responses.
Thanks.
19 answers
-
bazfile ModeratorHello,
Repair Windows 10 without data loss https://www.malekal.com/reparer-windows10-sans-perte-donnees/
--
bazfile
Moderator/Contributor security.
click here -
RenardrougeetnoirHello.
In Windows PowerShell (admin), type or copy/paste this command line:
Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_2015.8.3.0_x64__8wekyb3d8bbwe\AppxManifest.xml" -DisableDevelopmentMode-
benji05 AuthorHere is the result
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-7
PS C:\WINDOWS\system32> Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_2015.8.3.0_x64__8wekyb3d8bbwe\AppxManifest.xml" -DisableDevelopmentMode
Add-AppxPackage : Cannot find path 'C:\Program
Files\WindowsApps\Microsoft.WindowsStore_2015.8.3.0_x64__8wekyb3d8bbwe\AppxManifest.xml' because it does not exist.
At line:1 char:1
+ Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.Win ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Program File...ppxManifest.xml:String) [Add-AppxPackage], ItemNotFou
ndException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
PS C:\WINDOWS\system32> -
benji05 Author
-
-
Malekal_morte- ModeratorHello,
What is the version of Windows 10?
Press Windows + R
type winver and OK.
-
-
Malekal_morte- Moderator@benji05Try to fix it: how to repair Windows 10 without data loss
-
-
RenardrougeetnoirSo you need to reinstall Windows without losing data or applications.
-
fabul ModeratorHello,
To reinstall the Microsoft Store, as well as to ensure that the apps are updated, it is imperative that the Windows firewall is active.
Otherwise, you need to disable automatic updates for the apps, which can uninstall themselves and fail to reinstall afterward because the Windows firewall is disabled and prevents them from being reinstalled.
I don’t know if this is your problem.
To uninstall the Microsoft Store:
Type the following command: Get-AppxPackage *windowsstore* | Remove-AppxPackage
To then reinstall the Microsoft Store
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}-
-
fabul ModeratorI use Comodo Firewall, I disable the Windows firewall, I reactivate the Windows firewall when needed to reinstall the Microsoft Store if necessary, I disable automatic updates for apps in the Microsoft Store within the Microsoft Store, and that's it, I can disable the Windows firewall again.
-
-
-
-
-
bazfile Moderator
-
benji05 AuthorHello,
I followed your recommendation to reinstall Windows 10 without data loss.
But I still don't have the Windows Store.
Thank you for your help. -
RenardrougeetnoirLeft-click on the Windows logo, then type cmd, Command Prompt will appear, click on Run as administrator
In the command prompt window, type dir *WindowsStore* /s /p-
-
-
-
-
Malekal_morte- Moderator@benji05Don't waste your time with these useless commands.
-
-
Renardrougeetnoircd\
dir *WindowsStore* /s /p-
-
Malekal_morte- Moderator@benji05See message #28.
-
-
-
-
RenardrougeetnoirApparently he is there, restart this command line:
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} -
Malekal_morte- Moderator
"AppXManifest.xml missing error or 0x80073CF6"
I will make a video by tomorrow, if that can help.
--
Please press any key to continue the disinfection...
-
RenardrougeetnoirPress the Windows + R keys
Type cmd.exe, then in the command prompt window, type
dism /online /cleanup-image /restorehealth
Wait for the operation to finish, then type sfc /scannow -
benji05 AuthorGood evening,
I tried your method: using PowerRun which grants System rights and with Multi Commander which executes commands as the System user, but I still can't get it to work.
I think I may have made mistakes in the manipulations.
Could you explain to me how this method works (clearly if possible)?
Thank you in advance.-
Malekal_morte- ModeratorActually, the Windows 10 repair with the ISO + the re-registration should work:
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
If you don't get any errors, then the Windows Store app is back.
Check the Start menu.
-
-
RenardrougeetnoirYou forgot to type the command cd\ earlier, but anyway it’s no longer necessary to redo those commands, rather do a left click on the Windows logo on the taskbar and check if Microsoft Store is present in the menu or on the home page, in that case right-click on it -> More or Pinn to the taskbar
-
benji05 Authorno, he is still not here.
-
RenardrougeetnoirHowever, it is indeed located in C:\Program Files (or Programmes)\WindowsApps\
Redo this command line:
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
If that doesn't work type wsreset -
Malekal_morte- Moderator@benji05: have you followed the instructions?
That is to say: Repair Windows 10 without data loss.
Then when it's done,
right-click on the Start menu and then Windows PowerShell (admin)
then:
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Do you have an error message?
If not, check the Start menu to see if Windows Store is there.
--
Please press any key to continue the disinfection...-
-
benji05 AuthorPS C:\WINDOWS\system32> Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Add-AppxPackage : Unable to find the path 'C:\Program
Files\WindowsApps\Microsoft.WindowsStore_11910.1001.5.0_x64__8wekyb3d8bbwe\AppXManifest.xml' because it does not exist.
At Line:1 char:61
+ ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], ItemNotFou
ndException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand -
Malekal_morte- Moderator@benji05Can you confirm that you have successfully repaired Windows 10?
Download the ISO, mount it, run the setup
the entire installation phase, etc., etc.? -
-
Malekal_morte- Moderator@benji05You can install version 1909, but I doubt it will resolve the issues.
Manually install the Windows 1909 update with the Update Assistant or Media Creation Tool.
Follow these step-by-step tutorials:- Download and install the Windows 10 1909 update (malekal.com)
- How to install the Windows 10 1809 update (CCM)
Apart from resetting, I don't have any other ideas: Reset Windows 10.
-
-
RenardrougeetnoirYou did this:
left-click on the Windows logo (Start) then type Microsoft Store -
RenardrougeetnoirIt must be believed that it comes from the iso file; it can also be created using the Microsoft tool.
