Open in the explorer

Set maximum storage for snapshots used by Recall

Définir le stockage maximal pour les instantanés utilisés par Retrouver

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows AI User Configuration › Policies › Administrative Templates › Windows Components › Windows AI FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows AIFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Windows AI
Supported on
At least Windows 11 Pro, Enterprise, or Education with Windows Sandbox FR: Au moins Windows 11 Professionnel, Enterprise ou Education avec Bac à sable Windows
ADMX file
WindowsCopilot.admx
Internal name
WindowsCopilot/SetMaximumStorageSpaceForRecallSnapshots

Explanation

This policy setting allows you to control the maximum amount of disk space that can be used by Windows to save snapshots for Recall.

You can set the maximum amount of disk space for snapshots to be 10, 25, 50, 75, 100, or 150 GB.

When this setting is not configured, the OS configures the storage allocation for snapshots based on the device storage capacity unless the current user specifies a different value.

25 GB is allocated when the device storage capacity is 256 GB. 75 GB is allocated when the device storage capacity is 512 GB. 150 GB is allocated when the device storage capacity is 1 TB or higher.

If both maximum storage duration and maximum storage space are set for Recall, then snapshots are deleted when the first maximum is reached.

Important: This setting applies to Enterprise and Education client SKUs only.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de contrôler la quantité maximale d’espace disque pouvant être utilisée par Windows pour enregistrer des instantanés pour Retrouver.

Vous pouvez définir la quantité maximale d’espace disque pour les instantanés sur 10, 25, 50, 75, 100 ou 150 Go.

Lorsque ce paramètre n’est pas configuré, le système d’exploitation configure l’allocation de stockage pour les instantanés en fonction de la capacité de stockage de l’appareil, sauf si l’utilisateur actuel spécifie une autre valeur.

25 Go sont alloués lorsque la capacité de stockage de l’appareil est de 256 Go. 75 Go sont alloués lorsque la capacité de stockage de l’appareil est de 512 Go. 150 Go sont alloués lorsque la capacité de stockage de l’appareil est de 1 To ou plus.

Si la durée de stockage maximale et l'espace de stockage maximal sont définis pour Retrouver, alors les instantanés sont supprimés lorsque le premier maximum est atteint.

Important : ce paramètre s’applique uniquement aux références SKU client Entreprise et Éducation.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\WindowsAI
Value name
SetMaximumStorageSpaceForRecallSnapshots
StateValue written
Enablednot defined in the ADMX (see the options below)
Disablednot defined in the ADMX (see the options below)

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: WindowsCopilot/SetMaximumStorageSpaceForRecallSnapshots
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'SetMaximumStorageSpaceForRecallSnapshots' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)
# Select maximum storage space
# Possible options:
#   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
Set-ItemProperty -Path $k -Name 'SetMaximumStorageSpaceForRecallSnapshots' -Value 0 -Type DWord

Disable

# Disable: WindowsCopilot/SetMaximumStorageSpaceForRecallSnapshots
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'SetMaximumStorageSpaceForRecallSnapshots' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": WindowsCopilot/SetMaximumStorageSpaceForRecallSnapshots
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI'
Remove-ItemProperty -Path $k -Name 'SetMaximumStorageSpaceForRecallSnapshots' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Select maximum storage space:Sélectionner l’espace de stockage maximal :SetMaximumStorageSpace_TextDrop-down listenumSetMaximumStorageSpaceForRecallSnapshotsREG_DWORD
Default choice (UI): #0
LabelValue
Let the OS define the maximum storage amount based on hard drive storage sizeREG_DWORD = 0
10GBREG_DWORD = 10240
25GBREG_DWORD = 25600
50GBREG_DWORD = 51200
75GBREG_DWORD = 76800
100GBREG_DWORD = 102400
150GBREG_DWORD = 153600

Availability

Windows 11

✓ 26H2✓ 25H2changed✓ 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016