選擇如何修復受 BitLocker 保護的作業系統磁碟機 的登錄值 OSRecovery 等 7 個電腦HKLM\Software\Policies\Microsoft\FVE
- 原則 ID
- OSRecoveryUsage_Name
- 適用範圍
- 電腦設定
- 支援的作業系統
- 至少需要 Windows Server 2008 R2 或 Windows 7
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- Windows 元件 › BitLocker 磁碟機加密 › 作業系統磁碟機
登錄
OSRecovery
REG_DWORD電腦- 啟用時的值
- 1
- 停用時的值
- 0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE] ; 選項 (只使用其中一個) ; 已啟用 "OSRecovery"=dword:00000001 ; 已停用 "OSRecovery"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已啟用 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecovery" /t REG_DWORD /d 1 /f :: 已停用 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecovery" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null # 選項 (只使用其中一個) # 已啟用 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecovery' -PropertyType DWord -Value 1 -Force | Out-Null # 已停用 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecovery' -PropertyType DWord -Value 0 -Force | Out-Null
OSManageDRA
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 允許資料修復代理
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE] ; 選項 (只使用其中一個) ; 已核取 "OSManageDRA"=dword:00000001 ; 未核取 "OSManageDRA"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSManageDRA" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSManageDRA" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSManageDRA' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSManageDRA' -PropertyType DWord -Value 0 -Force | Out-Null
OSRecoveryPassword
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- -
| 項目 | 儲存的值 |
|---|---|
| 允許 48 位數的修復密碼 | 2 |
| 需要 48 位數的修復密碼 | 1 |
| 不允許 48 位數的修復密碼 | 0 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE] ; 選項 (只使用其中一個) ; 允許 48 位數的修復密碼 "OSRecoveryPassword"=dword:00000002 ; 需要 48 位數的修復密碼 "OSRecoveryPassword"=dword:00000001 ; 不允許 48 位數的修復密碼 "OSRecoveryPassword"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 允許 48 位數的修復密碼 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecoveryPassword" /t REG_DWORD /d 2 /f :: 需要 48 位數的修復密碼 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecoveryPassword" /t REG_DWORD /d 1 /f :: 不允許 48 位數的修復密碼 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecoveryPassword" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null # 選項 (只使用其中一個) # 允許 48 位數的修復密碼 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecoveryPassword' -PropertyType DWord -Value 2 -Force | Out-Null # 需要 48 位數的修復密碼 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecoveryPassword' -PropertyType DWord -Value 1 -Force | Out-Null # 不允許 48 位數的修復密碼 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecoveryPassword' -PropertyType DWord -Value 0 -Force | Out-Null
OSRecoveryKey
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- -
| 項目 | 儲存的值 |
|---|---|
| 允許 256 位元的修復金鑰 | 2 |
| 需要 256 位元的修復金鑰 | 1 |
| 不允許 256 位元的修復金鑰 | 0 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE] ; 選項 (只使用其中一個) ; 允許 256 位元的修復金鑰 "OSRecoveryKey"=dword:00000002 ; 需要 256 位元的修復金鑰 "OSRecoveryKey"=dword:00000001 ; 不允許 256 位元的修復金鑰 "OSRecoveryKey"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 允許 256 位元的修復金鑰 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecoveryKey" /t REG_DWORD /d 2 /f :: 需要 256 位元的修復金鑰 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecoveryKey" /t REG_DWORD /d 1 /f :: 不允許 256 位元的修復金鑰 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecoveryKey" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null # 選項 (只使用其中一個) # 允許 256 位元的修復金鑰 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecoveryKey' -PropertyType DWord -Value 2 -Force | Out-Null # 需要 256 位元的修復金鑰 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecoveryKey' -PropertyType DWord -Value 1 -Force | Out-Null # 不允許 256 位元的修復金鑰 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecoveryKey' -PropertyType DWord -Value 0 -Force | Out-Null
OSHideRecoveryPage
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 在 BitLocker 安裝精靈中省略修復選項
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE] ; 選項 (只使用其中一個) ; 已核取 "OSHideRecoveryPage"=dword:00000001 ; 未核取 "OSHideRecoveryPage"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSHideRecoveryPage" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSHideRecoveryPage" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSHideRecoveryPage' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSHideRecoveryPage' -PropertyType DWord -Value 0 -Force | Out-Null
OSActiveDirectoryBackup
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 儲存作業系統磁碟機的 BitLocker 修復資訊到 AD DS
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE] ; 選項 (只使用其中一個) ; 已核取 "OSActiveDirectoryBackup"=dword:00000001 ; 未核取 "OSActiveDirectoryBackup"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSActiveDirectoryBackup" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSActiveDirectoryBackup" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSActiveDirectoryBackup' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSActiveDirectoryBackup' -PropertyType DWord -Value 0 -Force | Out-Null
OSActiveDirectoryInfoToStore
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 設定 BitLocker 修復資訊的存放裝置到 AD DS:
| 項目 | 儲存的值 |
|---|---|
| 儲存修復密碼和金鑰封裝 | 1 |
| 只儲存修復密碼 | 2 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE] ; 選項 (只使用其中一個) ; 儲存修復密碼和金鑰封裝 "OSActiveDirectoryInfoToStore"=dword:00000001 ; 只儲存修復密碼 "OSActiveDirectoryInfoToStore"=dword:00000002
CMD
:: 選項 (只使用其中一個) :: 儲存修復密碼和金鑰封裝 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSActiveDirectoryInfoToStore" /t REG_DWORD /d 1 /f :: 只儲存修復密碼 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSActiveDirectoryInfoToStore" /t REG_DWORD /d 2 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null # 選項 (只使用其中一個) # 儲存修復密碼和金鑰封裝 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSActiveDirectoryInfoToStore' -PropertyType DWord -Value 1 -Force | Out-Null # 只儲存修復密碼 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSActiveDirectoryInfoToStore' -PropertyType DWord -Value 2 -Force | Out-Null
OSRequireActiveDirectoryBackup
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 勿啟用 BitLocker,除非作業系統磁碟機的修復資訊已儲存到 AD DS
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE] ; 選項 (只使用其中一個) ; 已核取 "OSRequireActiveDirectoryBackup"=dword:00000001 ; 未核取 "OSRequireActiveDirectoryBackup"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRequireActiveDirectoryBackup" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRequireActiveDirectoryBackup" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRequireActiveDirectoryBackup' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRequireActiveDirectoryBackup' -PropertyType DWord -Value 0 -Force | Out-Null