Forum Discussion

davey-lines's avatar
davey-lines
Copper Contributor
Mar 06, 2022

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

    • davey-lines's avatar
      davey-lines
      Copper Contributor
      thank 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
      • Harm_Veenstra's avatar
        Harm_Veenstra
        MVP
        Don't know why you should use run, makes no sense.. Where did you read that?

Resources