Apps Reset and Clear Microsoft Store Cache in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:
  • Tags Tags
    store

Microsoft_Store_banner.png

This tutorial will show you how to clear and reset the Microsoft Store cache for your account in Windows 10 and Windows 11.

Microsoft redesigned the Microsoft Store from the ground up in Windows 11, making space for more content, keeping the user experience simple and responsive. It will help you discover and install the best apps, games, movies and even special offers – like unique movie discounts for Xbox Game Pass members. All the content in the Microsoft Store is tested for security, family safety and device compatibility.

If you are having issues with installing or updating apps from the Microsoft Store in Windows, it may be caused by an issue with the Microsoft Store cache.

Reference:


Make sure you have the correct time zone, date, and time set to avoid Microsoft Store syncing issues.

You will need to have the Storage Service service running and set to Automatic for Microsoft Store updates to work properly.




Here's How:

 PART ONE: Reset Microsoft Store Cache for Default Apps

1 Terminate the Microsoft Store app to make sure it's not running.

2 Press the Win + R keys to open Run, type WSReset.exe into Run, and click/tap on OK to reset the Microsoft Store cache.

3 A blank Command Prompt window will open, and after about ten seconds the window will close and Microsoft Store will open automatically.


 PART TWO: Reset Microsoft Store Cache for 3rd Party Apps

You must be signed in as an administrator to do this part.


4 Terminate the Microsoft Store app to make sure it's not running.

5 Open Windows Terminal, and select Windows PowerShell.

6 Copy and paste the command below into PowerShell, and press Enter to see the SID for each account name. (see screenshot below step 7)

Get-WmiObject win32_useraccount | Select name,sid

7 Make note of the SID (ex: "S-1-5-21-2212846312-626644311-134141314-1001") for the account name (ex: "Brink") affected by this issue. (see screenshot below)

reset_Store_cache_for_3rd_party_apps-1.png

8 Open Registry Editor (regedit.exe).

9 Navigate to the key below in the left pane of Registry Editor. (see screenshot below step 10)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore

10 Perform the following steps: (see screenshot below)
  1. Expand open the the AppxAllUserStore key in the left pane of Registry Editor.
  2. Right click on the SID key (ex: "S-1-5-21-2212846312-626644311-134141314-1001") from step 7.
  3. Click/tap on Delete.
reset_Store_cache_for_3rd_party_apps-2.png

11 Click/tap on Yes to confirm. (see screenshot below)

reset_Store_cache_for_3rd_party_apps-3.png

12 Restart the computer to apply.


That's it,
Shawn Brink


 
Last edited:
Thanks option 1 did nothing . On option 2 how do I know what SID is causing the issue?
 

My Computer

System One

  • OS
    windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Asus zen book 13
Thanks option 1 did nothing . On option 2 how do I know what SID is causing the issue?
Hello Rick, :alien:

Correct. Part One on its own will not always work unless all of the steps have been completed.

The SID used in option two would be for the account you wanted to reset and clear the Microsoft Store cache for. Usually, it would be for the current user account.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
@Brink
I found this to reset and clear the store cache. I got down to the part of deleting the SID, but looking there are a several entries below that SID. Is it really safe to delete that key and all its sub entries. ?
 

My Computer

System One

  • OS
    Windows 11 Intel i5 10400 HD630 graphics chip
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP
    CPU
    i5-10400
    Memory
    12 gb
    Graphics Card(s)
    HD630 chipset
    Monitor(s) Displays
    LG 24inch
    Hard Drives
    SSD, external usb drive 1tb for files/backups
    Keyboard
    wireless Logi
    Mouse
    ms 4000 wireless mouse
    Internet Speed
    10meg
    Browser
    Firefox
    Antivirus
    Defender
    Other Info
    Win11 Home 24h2 26100.4202 5/28/2025
@Brink
I found this to reset and clear the store cache. I got down to the part of deleting the SID, but looking there are a several entries below that SID. Is it really safe to delete that key and all its sub entries. ?

Hello, :alien:

No worries. It's just a cache getting cleared that will automatically repopulate.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender

My Computer

System One

  • OS
    Windows 11 Intel i5 10400 HD630 graphics chip
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP
    CPU
    i5-10400
    Memory
    12 gb
    Graphics Card(s)
    HD630 chipset
    Monitor(s) Displays
    LG 24inch
    Hard Drives
    SSD, external usb drive 1tb for files/backups
    Keyboard
    wireless Logi
    Mouse
    ms 4000 wireless mouse
    Internet Speed
    10meg
    Browser
    Firefox
    Antivirus
    Defender
    Other Info
    Win11 Home 24h2 26100.4202 5/28/2025
PART TWO as a single PowerShell command:

4. Terminate the Microsoft Store app to make sure it's not running.

5. Open Windows Terminal as the Administrator, and select Windows PowerShell.

6. Enter the command:
Code:
Remove-Item -Path ("HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\" + ([System.Security.Principal.WindowsIdentity]::GetCurrent()).User.Value) -Recurse -Force
 

My Computer

System One

  • OS
    Windows 7
PART TWO as a single PowerShell command:

4. Terminate the Microsoft Store app to make sure it's not running.

5. Open Windows Terminal as the Administrator, and select Windows PowerShell.

6. Enter the command:
Code:
Remove-Item -Path ("HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\" + ([System.Security.Principal.WindowsIdentity]::GetCurrent()).User.Value) -Recurse -Force

Please , could you write the command to execute from inside a batch file ?
I m creating a .bat to execute all these at once.
Thx.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton Plus
Please , could you write the command to execute from inside a batch file ?
I m creating a .bat to execute all these at once.
Thx.

Code:
<# : batch script
@echo off
powershell -nop ^
"if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { ^
    Start-Process 'cmd' -ArgumentList '/c start /min %~dpnx0 %*' -Verb RunAs ^
} ^
else { ^
    Invoke-Expression ('$args = @(''%*'' -split '' '')' + [System.IO.File]::ReadAllText('%~f0')) ^
}"
goto :eof
#>

$SID = ([System.Security.Principal.WindowsIdentity]::GetCurrent()).User.Value
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\$SID" -Recurse -Force -ErrorAction SilentlyContinue
 

My Computer

System One

  • OS
    Windows 7
Code:
<# : batch script
@echo off
powershell -nop ^
"if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { ^
    Start-Process 'cmd' -ArgumentList '/c start /min %~dpnx0 %*' -Verb RunAs ^
} ^
else { ^
    Invoke-Expression ('$args = @(''%*'' -split '' '')' + [System.IO.File]::ReadAllText('%~f0')) ^
}"
goto :eof
#>

$SID = ([System.Security.Principal.WindowsIdentity]::GetCurrent()).User.Value
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\$SID" -Recurse -Force -ErrorAction SilentlyContinue

I think that is.

Code:
cls

echo After the reset , a reboot required

WSReset.exe

echo wsreset executed

taskkill /F /IM winstore.app.exe

pause

<# : batch script
@echo off
powershell -nop ^
"if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { ^
    Start-Process 'cmd' -ArgumentList '/c start /min %~dpnx0 %*' -Verb RunAs ^
} ^
else { ^
    Invoke-Expression ('$args = @(''%*'' -split '' '')' + [System.IO.File]::ReadAllText('%~f0')) ^
    pause
}"
goto :eof
#>
pause
$SID = ([System.Security.Principal.WindowsIdentity]::GetCurrent()).User.Value
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\$SID" -Recurse -Force -ErrorAction SilentlyContinue

echo user's registry key deleted

pause


I m not sure if the reboot required , as with the sign out the registry key created again.

Thx.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton Plus
No you can't rewrite the script this way. This is a mixed CMD + PS script, which uses a CMD wrapper to hide the PS script so inexperienced users don't have know anything about PS.

Code:
<# : batch script
@echo off
powershell -nop ^
"if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { ^
    Start-Process 'cmd' -ArgumentList '/c start /min %~dpnx0 %*' -Verb RunAs ^
} ^
else { ^
    Invoke-Expression ('$args = @(''%*'' -split '' '')' + [System.IO.File]::ReadAllText('%~f0')) ^
}"
goto :eof
#>

taskkill /F /IM winstore.app.exe
& wsreset.exe -i

$SID = ([System.Security.Principal.WindowsIdentity]::GetCurrent()).User.Value
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\$SID" -Recurse -Force -ErrorAction SilentlyContinue

No reboot is required after running wsreset.exe.
 

My Computer

System One

  • OS
    Windows 7
No you can't rewrite the script this way. This is a mixed CMD + PS script, which uses a CMD wrapper to hide the PS script so inexperienced users don't have know anything about PS.

Code:
<# : batch script
@echo off
powershell -nop ^
"if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { ^
    Start-Process 'cmd' -ArgumentList '/c start /min %~dpnx0 %*' -Verb RunAs ^
} ^
else { ^
    Invoke-Expression ('$args = @(''%*'' -split '' '')' + [System.IO.File]::ReadAllText('%~f0')) ^
}"
goto :eof
#>

taskkill /F /IM winstore.app.exe
& wsreset.exe -i

$SID = ([System.Security.Principal.WindowsIdentity]::GetCurrent()).User.Value
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\$SID" -Recurse -Force -ErrorAction SilentlyContinue

No reboot is required after running wsreset.exe.

Do you mean it not work ?
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton Plus

Latest Support Threads

Back
Top Bottom
OSZAR »