How to restore the Microsoft Store in Windows 11?

Discussion in 'Windows 11' started by Super Spartan, Feb 29, 2024.

  1. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,738
    1,007
    60
    I have a friend who removed the Microsoft Store accidentally and I was trying to help him restore it but in vain.

    I tried this but it didn't work:

    I then tried running these command and rebooted, still the same:

    Code:
    sfc /scannow
    
    DISM /Online /Cleanup-Image /ScanHealth
    
    DISM /Online /Cleanup-Image /CheckHealth
    
    DISM /Online /Cleanup-Image /RestoreHealth
    Is there any other way to restore it without having to reinstall Windows?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,161
    5,975
    150
    I bet that command can help
    Code:
    wsreset -i
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,738
    1,007
    60
    it does nothing
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Errepublika

    Errepublika MDL Senior Member

    Aug 18, 2021
    453
    317
    10
  5. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,738
    1,007
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Dolmatov

    Dolmatov MDL Addicted

    Aug 16, 2017
    558
    486
    30
    Other dependent packages may have been removed, causing the restore procedure to fail. We also don’t know what else was happening in the system.

    In a similar case (I uninstalled and installed standard applications), I made a mistake and installed some applications not according to the original option (user/system). A complete OS update with saving files and settings helped. The second stage is to remove conflicting duplicate applications (user/system). To do this, we obtain lists of applications for two groups via PowerShell. Compare with the working system.

    Try doing a similar thing, but start by creating two lists of the faulty OS and two lists of the healthy OS. Restore what is missing, remove what is unnecessary. Reset the ClipSvc cache (rename the folder after stopping the CryptSvc, bits, wuauserv services). Then restart your PC. You may also need to click the reset/reinstall app button in system settings (last step).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,738
    1,007
    60
    I think what he did is used HiBit Uninstaller to remove some apps and let it clean the leftovers which might have messed things up because even if you right click on the start menu and choose Terminal it doesn't work and shows an error
    I think he cleaned too much that's why this command is not doing anything:

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

    I was hoping there is like some Windows Store installer for Windows 11 that fixes/reinstalls all the components in one click
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Outcast

    Outcast MDL Member

    Mar 23, 2009
    243
    187
    10
    Try doing an upgrade install.
     
  9. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,738
    1,007
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Errepublika

    Errepublika MDL Senior Member

    Aug 18, 2021
    453
    317
    10
  11. Dolmatov

    Dolmatov MDL Addicted

    Aug 16, 2017
    558
    486
    30
    I previously told you that you need to check adjacent packages (dependencies). You received a dependency error but keep trying to install the target package rather than the required ones.
    Get-AppxPackage *store*

    Name : Microsoft.Services.Store.Engagement
    Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture : X64
    ResourceId :
    Version : 10.0.23012.0
    PackageFullName : Microsoft.Services.Store.Engagement_10.0.23012.0_x64__8wekyb3d8bbwe
    InstallLocation : C:\Program Files\WindowsApps\Microsoft.Services.Store.Engagement_10.0.23012.0_x64__8wekyb3d8bbwe
    IsFramework : True
    PackageFamilyName : Microsoft.Services.Store.Engagement_8wekyb3d8bbwe
    PublisherId : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle : False
    IsDevelopmentMode : False
    NonRemovable : False
    IsPartiallyStaged : False
    SignatureKind : Store
    Status : Ok

    Name : Microsoft.Services.Store.Engagement
    Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture : X86
    ResourceId :
    Version : 10.0.23012.0
    PackageFullName : Microsoft.Services.Store.Engagement_10.0.23012.0_x86__8wekyb3d8bbwe
    InstallLocation : C:\Program Files\WindowsApps\Microsoft.Services.Store.Engagement_10.0.23012.0_x86__8wekyb3d8bbwe
    IsFramework : True
    PackageFamilyName : Microsoft.Services.Store.Engagement_8wekyb3d8bbwe
    PublisherId : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle : False
    IsDevelopmentMode : False
    NonRemovable : False
    IsPartiallyStaged : False
    SignatureKind : Store
    Status : Ok

    Name : Microsoft.StorePurchaseApp
    Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture : X64
    ResourceId :
    Version : 22312.1401.4.0
    PackageFullName : Microsoft.StorePurchaseApp_22312.1401.4.0_x64__8wekyb3d8bbwe
    InstallLocation : C:\Program Files\WindowsApps\Microsoft.StorePurchaseApp_22312.1401.4.0_x64__8wekyb3d8bbwe
    IsFramework : False
    PackageFamilyName : Microsoft.StorePurchaseApp_8wekyb3d8bbwe
    PublisherId : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle : False
    IsDevelopmentMode : False
    NonRemovable : False
    Dependencies : {Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe, Microsoft.NET.Native.Framework.2.2_2.2.29
    512.0_x64__8wekyb3d8bbwe, Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe, Microsof
    t.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe…}
    IsPartiallyStaged : False
    SignatureKind : Store
    Status : Ok

    Name : Microsoft.WindowsStore
    Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture : X64
    ResourceId :
    Version : 22401.1401.7.0
    PackageFullName : Microsoft.WindowsStore_22401.1401.7.0_x64__8wekyb3d8bbwe
    InstallLocation : C:\Program Files\WindowsApps\Microsoft.WindowsStore_22401.1401.7.0_x64__8wekyb3d8bbwe
    IsFramework : False
    PackageFamilyName : Microsoft.WindowsStore_8wekyb3d8bbwe
    PublisherId : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle : False
    IsDevelopmentMode : False
    NonRemovable : False
    Dependencies : {Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe, Microsoft.NET.Native.Runtime.2.
    2_2.2.28604.0_x64__8wekyb3d8bbwe, Microsoft.VCLibs.140.00.UWPDesktop_14.0.33519.0_x64__8wekyb3d8bbw
    e, Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe…}
    IsPartiallyStaged : False
    SignatureKind : Store
    Status : Ok
    Depends on the type of update. You need a full update with an upgrade, which is launched from an ISO image or similar in the update center. Or reinstall the current version while saving the settings and files. You can build the image with packages using "UUP dump".
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...