Windows 10 AppXManifest missing?

  • Thread starter Thread starter MelWeh6
  • Start date Start date
M

MelWeh6

Guest
ill keep this short as I can; sometimes, when im cleaning my computer of misc files, the weather app doesn't load, it goes to a grey box, then crashes; I use the following command to fix it

Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

whenever I run this app in powershell, it fixes the weather app problem (though I cannot suspect any-other factor that makes this happen nearly all the time), but it gives me this red error text

Add-AppxPackage : Cannot find path 'C:\AppXManifest.xml' because it does not exist.
At line:1 char:38
+ ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\AppXManifest.xml:String) [Add-AppxPackage], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand


though this error text happens, it still "fixes" it; how do I prevent this problem happening, or should I just ignore this?

More...
 
Back
Top