Forum Discussion
davey-lines
Mar 06, 2022Copper Contributor
microsoft store
getting an error Code: 0x80131500 when trying to start microsoft store
researched it and found a fix in powershell
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
tried running that command and got an error get-appxpackage is not recognised etc
researched that error and tried running"run" blah blah
and that comes up with an error term "run" not recognisedas comdlet etc
6 Replies
Sort By
Don't know what's happening here, get-appxpackage should work in Windows 10/11 without doing anything. Does this article help? https://technoresult.com/fix-powershell-get-appxpackage-not-recognized-access-denied-error/ And "run" ? Run as Administrator perhaps?
- davey-linesCopper Contributorthank you for taking the time to respond. I have tried elevated privileges with same result
running from c:\windows\system32 or even c:\ gives me the same result
run : The term 'run' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ run
+ ~~~
+ CategoryInfo : ObjectNotFound: (run:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
The appx service is running - laptop works perfectly other than this- Don't know why you should use run, makes no sense.. Where did you read that?