設定開機前修復訊息及 URL 的登錄值 RecoveryKeyMessageSource 等 2 個電腦HKLM\Software\Policies\Microsoft\FVE
- 原則 ID
- PrebootRecoveryInfo_Name
- 適用範圍
- 電腦設定
- 支援的作業系統
- 至少需要 Windows Server 2016 或 Windows 10
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- Windows 元件 › BitLocker 磁碟機加密 › 作業系統磁碟機
登錄
RecoveryKeyMessageSource
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 選取開機前復原訊息的選項:
| 項目 | 儲存的值 |
|---|---|
| 0 | |
| 使用預設修復訊息及 URL | 1 |
| 使用自訂復原訊息 | 2 |
| 使用自訂復原 URL | 3 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FVE] ; 選項 (只使用其中一個) "RecoveryKeyMessageSource"=dword:00000000 ; 使用預設修復訊息及 URL "RecoveryKeyMessageSource"=dword:00000001 ; 使用自訂復原訊息 "RecoveryKeyMessageSource"=dword:00000002 ; 使用自訂復原 URL "RecoveryKeyMessageSource"=dword:00000003
CMD
:: 選項 (只使用其中一個) reg add "HKLM\Software\Policies\Microsoft\FVE" /v "RecoveryKeyMessageSource" /t REG_DWORD /d 0 /f :: 使用預設修復訊息及 URL reg add "HKLM\Software\Policies\Microsoft\FVE" /v "RecoveryKeyMessageSource" /t REG_DWORD /d 1 /f :: 使用自訂復原訊息 reg add "HKLM\Software\Policies\Microsoft\FVE" /v "RecoveryKeyMessageSource" /t REG_DWORD /d 2 /f :: 使用自訂復原 URL reg add "HKLM\Software\Policies\Microsoft\FVE" /v "RecoveryKeyMessageSource" /t REG_DWORD /d 3 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Force | Out-Null # 選項 (只使用其中一個) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'RecoveryKeyMessageSource' -PropertyType DWord -Value 0 -Force | Out-Null # 使用預設修復訊息及 URL New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'RecoveryKeyMessageSource' -PropertyType DWord -Value 1 -Force | Out-Null # 使用自訂復原訊息 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'RecoveryKeyMessageSource' -PropertyType DWord -Value 2 -Force | Out-Null # 使用自訂復原 URL New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'RecoveryKeyMessageSource' -PropertyType DWord -Value 3 -Force | Out-Null
RecoveryKeyMessage
REG_SZ電腦- 啟用時的值
- 取決於選項值
- 元素
- 自訂復原訊息選項:
- 值類型
- REG_SZ
- 必要
- false
- 最大長度
- 900
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FVE] ; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> "RecoveryKeyMessage"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> reg add "HKLM\Software\Policies\Microsoft\FVE" /v "RecoveryKeyMessage" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> New-Item -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'RecoveryKeyMessage' -PropertyType String -Value '<輸入值>' -Force | Out-Null
RecoveryKeyUrl
REG_SZ電腦- 啟用時的值
- 取決於選項值
- 元素
- 自訂復原 URL 選項:
- 值類型
- REG_SZ
- 必要
- false
- 最大長度
- 500
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FVE] ; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> "RecoveryKeyUrl"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> reg add "HKLM\Software\Policies\Microsoft\FVE" /v "RecoveryKeyUrl" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> New-Item -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'RecoveryKeyUrl' -PropertyType String -Value '<輸入值>' -Force | Out-Null