設定 [回顧] 所使用的快照儲存空間上限 的登錄值 SetMaximumStorageSpaceForRecallSnapshots使用者HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI

原則 ID
SetMaximumStorageSpaceForRecallSnapshots
適用範圍
電腦設定、使用者設定
支援的作業系統
至少需要 Windows 11 專業版、企業版或有 Windows 沙箱的教育版
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
Windows 元件 › Windows AI

登錄

SetMaximumStorageSpaceForRecallSnapshots

-使用者電腦

SetMaximumStorageSpaceForRecallSnapshots

REG_DWORD使用者電腦
啟用時的值
取決於選項值
元素
選取儲存空間上限:
選項
項目儲存的值
讓作業系統根據磁碟機儲存空間大小定義最大儲存量0
10GB10240
25GB25600
50GB51200
75GB76800
100GB102400
150GB153600
以 .reg · CMD · PowerShell 套用
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 讓作業系統根據磁碟機儲存空間大小定義最大儲存量
"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
:: 選項 (只使用其中一個)

:: 讓作業系統根據磁碟機儲存空間大小定義最大儲存量
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
# 共通: 建立機碼
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Force | Out-Null

# 選項 (只使用其中一個)
# 讓作業系統根據磁碟機儲存空間大小定義最大儲存量
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
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 讓作業系統根據磁碟機儲存空間大小定義最大儲存量
"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
:: 選項 (只使用其中一個)

:: 讓作業系統根據磁碟機儲存空間大小定義最大儲存量
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
# 共通: 建立機碼
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Force | Out-Null

# 選項 (只使用其中一個)
# 讓作業系統根據磁碟機儲存空間大小定義最大儲存量
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