Set maximum storage for snapshots used by Recall: registry value SetMaximumStorageSpaceForRecallSnapshotsUserHKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI
- Policy ID
- SetMaximumStorageSpaceForRecallSnapshots
- Scope
- Computer Configuration, User Configuration
- Supported on
- At least Windows 11 Pro, Enterprise, or Education with Windows Sandbox
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Windows AI
Registry
SetMaximumStorageSpaceForRecallSnapshots
-UserComputer…\SOFTWARE\Policies\Microsoft\Windows\WindowsAIHKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI Current key
HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI
HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI
SetMaximumStorageSpaceForRecallSnapshots
REG_DWORDUserComputer…\SOFTWARE\Policies\Microsoft\Windows\WindowsAIHKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI Current key
HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI
HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI
- Enabled value
- Depends on the option value
- Element
- Select maximum storage space:
| Item | Stored value |
|---|---|
| Let the OS define the maximum storage amount based on hard drive storage size | 0 |
| 10GB | 10240 |
| 25GB | 25600 |
| 50GB | 51200 |
| 75GB | 76800 |
| 100GB | 102400 |
| 150GB | 153600 |
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\WindowsAI] ; Options (use only one) ; Let the OS define the maximum storage amount based on hard drive storage size "SetMaximumStorageSpaceForRecallSnapshots"=dword:00000000 ; 10GB "SetMaximumStorageSpaceForRecallSnapshots"=dword:00002800 ; 25GB "SetMaximumStorageSpaceForRecallSnapshots"=dword:00006400 ; 50GB "SetMaximumStorageSpaceForRecallSnapshots"=dword:0000c800 ; 75GB "SetMaximumStorageSpaceForRecallSnapshots"=dword:00012c00 ; 100GB "SetMaximumStorageSpaceForRecallSnapshots"=dword:00019000 ; 150GB "SetMaximumStorageSpaceForRecallSnapshots"=dword:00025800
CMD
:: Options (use only one) :: Let the OS define the maximum storage amount based on hard drive storage size reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 0 /f :: 10GB reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 10240 /f :: 25GB reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 25600 /f :: 50GB reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 51200 /f :: 75GB reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 76800 /f :: 100GB reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 102400 /f :: 150GB reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 153600 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Force | Out-Null # Options (use only one) # Let the OS define the maximum storage amount based on hard drive storage size New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 0 -Force | Out-Null # 10GB New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 10240 -Force | Out-Null # 25GB New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 25600 -Force | Out-Null # 50GB New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 51200 -Force | Out-Null # 75GB New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 76800 -Force | Out-Null # 100GB New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 102400 -Force | Out-Null # 150GB New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 153600 -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI] ; Options (use only one) ; Let the OS define the maximum storage amount based on hard drive storage size "SetMaximumStorageSpaceForRecallSnapshots"=dword:00000000 ; 10GB "SetMaximumStorageSpaceForRecallSnapshots"=dword:00002800 ; 25GB "SetMaximumStorageSpaceForRecallSnapshots"=dword:00006400 ; 50GB "SetMaximumStorageSpaceForRecallSnapshots"=dword:0000c800 ; 75GB "SetMaximumStorageSpaceForRecallSnapshots"=dword:00012c00 ; 100GB "SetMaximumStorageSpaceForRecallSnapshots"=dword:00019000 ; 150GB "SetMaximumStorageSpaceForRecallSnapshots"=dword:00025800
CMD
:: Options (use only one) :: Let the OS define the maximum storage amount based on hard drive storage size reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 0 /f :: 10GB reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 10240 /f :: 25GB reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 25600 /f :: 50GB reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 51200 /f :: 75GB reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 76800 /f :: 100GB reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 102400 /f :: 150GB reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageSpaceForRecallSnapshots" /t REG_DWORD /d 153600 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Force | Out-Null # Options (use only one) # Let the OS define the maximum storage amount based on hard drive storage size New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 0 -Force | Out-Null # 10GB New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 10240 -Force | Out-Null # 25GB New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 25600 -Force | Out-Null # 50GB New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 51200 -Force | Out-Null # 75GB New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 76800 -Force | Out-Null # 100GB New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 102400 -Force | Out-Null # 150GB New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageSpaceForRecallSnapshots' -PropertyType DWord -Value 153600 -Force | Out-Null