How to Clear and Reset Microsoft Store Cache in Windows 10  

Page 10 of 11 FirstFirst ... 891011 LastLast

  1. Posts : 69,051
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #90

    maritza said:
    Thank you sooo much, Brink. I've finally been able to solve this, and even been able to install Edge Canary! Just when I was about to give up after trying each and every solution I could find on the Internet and several reinstallations. Why, oh why didn't it occur to me to check the always reliable Tenforums before?
      My Computers


  2. Posts : 2
    Windows 10
       #91

    So that is three people who have completed step 2 in this guide and wound up being forced to do a Windows reset to get their pc working again. It might be that deleting that key on certain Window installs is not recoverable.

    Is there a safer alternative? (Other than exporting the key beforehand).

    No disrespect to Brink.
      My Computer


  3. Posts : 69,051
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #92

    Terafugia said:
    So that is three people who have completed step 2 in this guide and wound up being forced to do a Windows reset to get their pc working again. It might be that deleting that key on certain Window installs is not recoverable.

    Is there a safer alternative? (Other than exporting the key beforehand).

    No disrespect to Brink.
    Hello Terafugia,

    Clearing and resetting the Microsoft Store cache shouldn't break anything since it automatically gets created fresh again afterwards.

    However, there's no guarantee that clearing and resetting the Microsoft Store cache will fix the issue you are having with the Microsoft Store app.

    Sometimes you may have to go further and either re-register or reset the Microsoft Store app. Resetting Windows 10 is the last extreme option if there's a lot more wrong.

    Re-register Microsoft Store app in Windows 10

    Reset App in Windows 10
    Last edited by Brink; 30 May 2021 at 10:52.
      My Computers


  4. Posts : 154
    Windows 10
       #93

    So I have a really deep problem with MSstore.

    Follow and tried everything in this thread short of the inplace upgrade.

    There are missing things.

    There is now service for MSstore

    There is no Appx package.

    wsreset.exe says I need an app to do that.

    What I need to find is the registry keys for MSstore to verify they are there.

    Code:
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest =  (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManifest.xml' ;  Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    returns this

    Code:
    PowerShell : = : The term '=' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the 
    At line:1 char:1
    + PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Ge ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (= : The term '=...ram. Check the :String) [], RemoteException
        + FullyQualifiedErrorId : NativeCommandError
     
    spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:5
    + & { = (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManife ...
    +     ~
        + CategoryInfo          : ObjectNotFound: (=:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    any other options other than the inplace upgrade path?
      My Computer


  5. Posts : 69,051
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #94

    DTG1 said:
    So I have a really deep problem with MSstore.

    Follow and tried everything in this thread short of the inplace upgrade.

    There are missing things.

    There is now service for MSstore

    There is no Appx package.

    wsreset.exe says I need an app to do that.

    What I need to find is the registry keys for MSstore to verify they are there.

    Code:
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest =  (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManifest.xml' ;  Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    returns this

    Code:
    PowerShell : = : The term '=' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the 
    At line:1 char:1
    + PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Ge ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (= : The term '=...ram. Check the :String) [], RemoteException
        + FullyQualifiedErrorId : NativeCommandError
     
    spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:5
    + & { = (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManife ...
    +     ~
        + CategoryInfo          : ObjectNotFound: (=:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    any other options other than the inplace upgrade path?
    Hello mate,

    Just to verify, did you run the command in a command prompt and not in PowerShell?
      My Computers


  6. Posts : 2,450
    Windows 10 Pro x64
       #95

    Brink said:
    Hello mate,

    Just to verify, did you run the command in a command prompt and not in PowerShell?
    Most probably it was run from Powershell, instead of Command Prompt. Usual mistake, we all have made!
      My Computer


  7. Posts : 154
    Windows 10
       #96

    Brink said:
    Hello mate,

    Just to verify, did you run the command in a command prompt and not in PowerShell?
    no did it in powershell, but there was a similar command without the '=' to use in powershell that didnt work either

    from Admin CPromt

    Code:
    Add-AppxPackage : Cannot find path 'C:\AppxManifest.xml' because it does not exist.
    At line:1 char:91
    + ... est.xml' ;  Add-AppxPackage -DisableDevelopmentMode -Register $manife ...
    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (C:\AppxManifest.xml:String) [Add-AppxPackage], ItemNotFoundException
        + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
      My Computer


  8. Posts : 2,450
    Windows 10 Pro x64
       #97

    DTG1 said:
    no did it in powershell, but there was a similar command without the '=' to use in powershell that didnt work either

    from Admin CPromt

    Code:
    Add-AppxPackage : Cannot find path 'C:\AppxManifest.xml' because it does not exist.
    At line:1 char:91
    + ... est.xml' ;  Add-AppxPackage -DisableDevelopmentMode -Register $manife ...
    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (C:\AppxManifest.xml:String) [Add-AppxPackage], ItemNotFoundException
        + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    If you run it from Command Prompt the command is:
    Code:
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManifest.xml';  Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

    If you run it from PowerShell the command should be:
    Code:
    $manifest = (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManifest.xml';  Add-AppxPackage -DisableDevelopmentMode -Register $manifest
      My Computer


  9. Posts : 154
    Windows 10
       #98

    ddelo said:
    If you run it from Command Prompt the command is:
    Code:
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManifest.xml';  Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

    If you run it from PowerShell the command should be:
    Code:
    $manifest = (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManifest.xml';  Add-AppxPackage -DisableDevelopmentMode -Register $manifest
    Ran both, yea didnt know there was a difference, newbie still at POSH.

    So where do I get the manifest xml?
      My Computer


  10. Posts : 2,450
    Windows 10 Pro x64
       #99

    DTG1 said:
    Ran both, yea didnt know there was a difference, newbie still at POSH.

    So where do I get the manifest xml?
    You don't need to find it. The command finds it with the
    $manifest = (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManifest.xml' part of it

    If you want to know its exact location, type in Powershell the above part of the command and then type $manifest to get it shown
      My Computer


 

Tutorial Categories

How to Clear and Reset Microsoft Store Cache in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 02:42.
Find Us




Windows 10 Forums