Microsoft Store missing and broken :(


  1. Posts : 6
    Win10
       #1

    Microsoft Store missing and broken :(


    Hi all, new to the forum and hope someone can assist...

    Was trying to install "HP Smart" from MS Store but kept failing (Win10 1709).

    Tried resetting the store with wsreset without much luck. After some googling I was stupid enough to mess with the "C:\Program Files\WindowsApps" folder, deleted a few folders in there....

    I ran a few commands in powershell and after that the store icon is broken nor it will launch.

    I then try "resetting" the store in "Add/remove program" -> Windows Store and now the icon is completely gone from the start menu.

    Long story short when I try to reinstall the store by running -

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

    in powershell admin I am getting the below error (Sorry for the horrible screen cap)

    Microsoft Store missing and broken :(-capture.jpg

    As you can see there are 2 errors. I know the AppXManifest.xml file is in there, yet it keeps saying the system cannot find the path specified.

    Is there any suggestion how I can revive the store? I really hope that I don't need to rebuild the whole machine. Thanks heaps!
      My Computer


  2. Posts : 1,257
    win10 PRO on 5 PC's and Linux mint
       #2

    kin2son said:
    Hi all, new to the forum and hope someone can assist...

    Was trying to install "HP Smart" from MS Store but kept failing (Win10 1709).

    Tried resetting the store with wsreset without much luck. After some googling I was stupid enough to mess with the "C:\Program Files\WindowsApps" folder, deleted a few folders in there....

    I ran a few commands in powershell and after that the store icon is broken nor it will launch.

    I then try "resetting" the store in "Add/remove program" -> Windows Store and now the icon is completely gone from the start menu.

    Long store short when I try to reinstall the store by running

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

    and getting the error below (Sorry for the horrible screen cap)

    Microsoft Store missing and broken :(-capture.jpg

    As you can see there are 2 errors. I know the AppXManifest.xml file is in there, yet it keeps saying the system cannot find the path specified.

    Is there any suggestion how I can revive the store? I really hope that I don't need to rebuild the whole machine. Thanks heaps!
    Like maybe update the OS, very old windows version you have.

    Run SFC /scannow to fix missing files from command prompt
      My Computer


  3. Posts : 6
    Win10
    Thread Starter
       #3

    sdowney717 said:
    Like maybe update the OS, very old windows version you have.

    Run SFC /scannow to fix missing files from command prompt
    Thanks for the suggestion.

    Can't update as it's a work machine with SOE image on.

    I will try SFC /scannow. Thanks.
      My Computer


  4. Posts : 7,254
    Windows 10 Pro 64-bit
       #4

    Have you checked these possible solutions?
      My Computers


  5. Posts : 6
    Win10
    Thread Starter
       #5

    swarfega said:
    Have you checked these possible solutions?
    Hi swarfega thanks for your reply.

    I've tried running the troubleshooter, but it keeps saying I am not signed in and takes me to the account settings.

    Reinstalling by running the command in powershell failed with the error I attached....
      My Computer


  6. Posts : 1,862
    Windows 10 Pro 2004 20H1
       #6

    Open PowerShell as an Administrator, and run the following command -

    Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser

    Then, run this Get-AppxPackage command (drop the *WindowsStore*) -

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

    When your done, run this command -

    Set-ExecutionPolicy -ExecutionPolicy Restricted -Scope CurrentUser
      My Computer


  7. Posts : 6
    Win10
    Thread Starter
       #7

    OldNavyGuy said:
    Open PowerShell as an Administrator, and run the following command -

    Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser

    Then, run this Get-AppxPackage command (drop the *WindowsStore*) -

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

    When your done, run this command -

    Set-ExecutionPolicy -ExecutionPolicy Restricted -Scope CurrentUser
    Thanks for your suggestion OldNavyGuy!

    I will try the above and report back.

    Much appreciated! :)
      My Computer


  8. Posts : 1,862
    Windows 10 Pro 2004 20H1
       #8

    kin2son said:
    Can't update as it's a work machine with SOE image on
    Depending on your company's IT policy, you may not have permissions to install apps.

    You might run System Restore to roll back to a point before you started deleting stuff.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:03.
Find Us




Windows 10 Forums