Festlegen der maximalen Dauer zum Speichern von Momentaufnahmen, die von Recall verwendet werden: Registrierungswert SetMaximumStorageDurationForRecallSnapshotsBenutzerHKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI

Richtlinien-ID
SetMaximumStorageDurationForRecallSnapshots
Bereich
Computerkonfiguration, Benutzerkonfiguration
Unterstützt unter
Mindestens Windows 11 Pro, Enterprise oder Education mit Windows-Sandbox
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
Windows-Komponenten › Windows-KI

Registrierung

SetMaximumStorageDurationForRecallSnapshots

-BenutzerComputer
…\SOFTWARE\Policies\Microsoft\Windows\WindowsAIHKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI Aktueller Schlüssel
HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI

SetMaximumStorageDurationForRecallSnapshots

REG_DWORDBenutzerComputer
…\SOFTWARE\Policies\Microsoft\Windows\WindowsAIHKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI Aktueller Schlüssel
HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Maximale Speicherdauer auswählen:
Optionen
EintragGespeicherter Wert
Lasse Sie das Betriebssystem den maximalen Zeitraum definieren, für den die Momentaufnahmen gespeichert werden. 0
30 Tage30
60 Tage60
90 Tage90
180 Tage180
Mit .reg · CMD · PowerShell anwenden
BenutzerEinstellung pro Konto
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]

; Optionen (nur eine verwenden)
; Lasse Sie das Betriebssystem den maximalen Zeitraum definieren, für den die Momentaufnahmen gespeichert werden.
"SetMaximumStorageDurationForRecallSnapshots"=dword:00000000
; 30 Tage
"SetMaximumStorageDurationForRecallSnapshots"=dword:0000001e
; 60 Tage
"SetMaximumStorageDurationForRecallSnapshots"=dword:0000003c
; 90 Tage
"SetMaximumStorageDurationForRecallSnapshots"=dword:0000005a
; 180 Tage
"SetMaximumStorageDurationForRecallSnapshots"=dword:000000b4
CMD
:: Optionen (nur eine verwenden)

:: Lasse Sie das Betriebssystem den maximalen Zeitraum definieren, für den die Momentaufnahmen gespeichert werden.
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageDurationForRecallSnapshots" /t REG_DWORD /d 0 /f
:: 30 Tage
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageDurationForRecallSnapshots" /t REG_DWORD /d 30 /f
:: 60 Tage
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageDurationForRecallSnapshots" /t REG_DWORD /d 60 /f
:: 90 Tage
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageDurationForRecallSnapshots" /t REG_DWORD /d 90 /f
:: 180 Tage
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageDurationForRecallSnapshots" /t REG_DWORD /d 180 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Force | Out-Null

# Optionen (nur eine verwenden)
# Lasse Sie das Betriebssystem den maximalen Zeitraum definieren, für den die Momentaufnahmen gespeichert werden.
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageDurationForRecallSnapshots' -PropertyType DWord -Value 0 -Force | Out-Null
# 30 Tage
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageDurationForRecallSnapshots' -PropertyType DWord -Value 30 -Force | Out-Null
# 60 Tage
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageDurationForRecallSnapshots' -PropertyType DWord -Value 60 -Force | Out-Null
# 90 Tage
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageDurationForRecallSnapshots' -PropertyType DWord -Value 90 -Force | Out-Null
# 180 Tage
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageDurationForRecallSnapshots' -PropertyType DWord -Value 180 -Force | Out-Null
ComputerComputerweite Einstellung
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]

; Optionen (nur eine verwenden)
; Lasse Sie das Betriebssystem den maximalen Zeitraum definieren, für den die Momentaufnahmen gespeichert werden.
"SetMaximumStorageDurationForRecallSnapshots"=dword:00000000
; 30 Tage
"SetMaximumStorageDurationForRecallSnapshots"=dword:0000001e
; 60 Tage
"SetMaximumStorageDurationForRecallSnapshots"=dword:0000003c
; 90 Tage
"SetMaximumStorageDurationForRecallSnapshots"=dword:0000005a
; 180 Tage
"SetMaximumStorageDurationForRecallSnapshots"=dword:000000b4
CMD
:: Optionen (nur eine verwenden)

:: Lasse Sie das Betriebssystem den maximalen Zeitraum definieren, für den die Momentaufnahmen gespeichert werden.
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageDurationForRecallSnapshots" /t REG_DWORD /d 0 /f
:: 30 Tage
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageDurationForRecallSnapshots" /t REG_DWORD /d 30 /f
:: 60 Tage
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageDurationForRecallSnapshots" /t REG_DWORD /d 60 /f
:: 90 Tage
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageDurationForRecallSnapshots" /t REG_DWORD /d 90 /f
:: 180 Tage
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetMaximumStorageDurationForRecallSnapshots" /t REG_DWORD /d 180 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Force | Out-Null

# Optionen (nur eine verwenden)
# Lasse Sie das Betriebssystem den maximalen Zeitraum definieren, für den die Momentaufnahmen gespeichert werden.
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageDurationForRecallSnapshots' -PropertyType DWord -Value 0 -Force | Out-Null
# 30 Tage
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageDurationForRecallSnapshots' -PropertyType DWord -Value 30 -Force | Out-Null
# 60 Tage
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageDurationForRecallSnapshots' -PropertyType DWord -Value 60 -Force | Out-Null
# 90 Tage
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageDurationForRecallSnapshots' -PropertyType DWord -Value 90 -Force | Out-Null
# 180 Tage
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetMaximumStorageDurationForRecallSnapshots' -PropertyType DWord -Value 180 -Force | Out-Null