Choose how BitLocker-protected operating system drives can be recovered: registry value OSRecovery and 7 moreComputerHKLM\Software\Policies\Microsoft\FVE

Policy ID
OSRecoveryUsage_Name
Scope
Computer Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › BitLocker Drive Encryption › Operating System Drives

Registry

OSRecovery

REG_DWORDComputer
Enabled value
1
Disabled value
0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE]

; Options (use only one)
; Enabled
"OSRecovery"=dword:00000001
; Disabled
"OSRecovery"=dword:00000000
CMD
:: Options (use only one)

:: Enabled
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecovery" /t REG_DWORD /d 1 /f
:: Disabled
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecovery" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null

# Options (use only one)
# Enabled
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecovery' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabled
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecovery' -PropertyType DWord -Value 0 -Force | Out-Null

OSManageDRA

REG_DWORDComputer
Checked
1
Unchecked
0
Element
Allow data recovery agent
Value type
REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE]

; Options (use only one)
; Checked
"OSManageDRA"=dword:00000001
; Unchecked
"OSManageDRA"=dword:00000000
CMD
:: Options (use only one)

:: Checked
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSManageDRA" /t REG_DWORD /d 1 /f
:: Unchecked
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSManageDRA" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSManageDRA' -PropertyType DWord -Value 1 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSManageDRA' -PropertyType DWord -Value 0 -Force | Out-Null

OSRecoveryPassword

REG_DWORDComputer
Enabled value
Depends on the option value
Element
-
Options
ItemStored value
Allow 48-digit recovery password2
Require 48-digit recovery password1
Do not allow 48-digit recovery password0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE]

; Options (use only one)
; Allow 48-digit recovery password
"OSRecoveryPassword"=dword:00000002
; Require 48-digit recovery password
"OSRecoveryPassword"=dword:00000001
; Do not allow 48-digit recovery password
"OSRecoveryPassword"=dword:00000000
CMD
:: Options (use only one)

:: Allow 48-digit recovery password
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecoveryPassword" /t REG_DWORD /d 2 /f
:: Require 48-digit recovery password
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecoveryPassword" /t REG_DWORD /d 1 /f
:: Do not allow 48-digit recovery password
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecoveryPassword" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null

# Options (use only one)
# Allow 48-digit recovery password
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecoveryPassword' -PropertyType DWord -Value 2 -Force | Out-Null
# Require 48-digit recovery password
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecoveryPassword' -PropertyType DWord -Value 1 -Force | Out-Null
# Do not allow 48-digit recovery password
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecoveryPassword' -PropertyType DWord -Value 0 -Force | Out-Null

OSRecoveryKey

REG_DWORDComputer
Enabled value
Depends on the option value
Element
-
Options
ItemStored value
Allow 256-bit recovery key2
Require 256-bit recovery key1
Do not allow 256-bit recovery key0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE]

; Options (use only one)
; Allow 256-bit recovery key
"OSRecoveryKey"=dword:00000002
; Require 256-bit recovery key
"OSRecoveryKey"=dword:00000001
; Do not allow 256-bit recovery key
"OSRecoveryKey"=dword:00000000
CMD
:: Options (use only one)

:: Allow 256-bit recovery key
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecoveryKey" /t REG_DWORD /d 2 /f
:: Require 256-bit recovery key
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecoveryKey" /t REG_DWORD /d 1 /f
:: Do not allow 256-bit recovery key
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRecoveryKey" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null

# Options (use only one)
# Allow 256-bit recovery key
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecoveryKey' -PropertyType DWord -Value 2 -Force | Out-Null
# Require 256-bit recovery key
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecoveryKey' -PropertyType DWord -Value 1 -Force | Out-Null
# Do not allow 256-bit recovery key
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRecoveryKey' -PropertyType DWord -Value 0 -Force | Out-Null

OSHideRecoveryPage

REG_DWORDComputer
Checked
1
Unchecked
0
Element
Omit recovery options from the BitLocker setup wizard
Value type
REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE]

; Options (use only one)
; Checked
"OSHideRecoveryPage"=dword:00000001
; Unchecked
"OSHideRecoveryPage"=dword:00000000
CMD
:: Options (use only one)

:: Checked
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSHideRecoveryPage" /t REG_DWORD /d 1 /f
:: Unchecked
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSHideRecoveryPage" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSHideRecoveryPage' -PropertyType DWord -Value 1 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSHideRecoveryPage' -PropertyType DWord -Value 0 -Force | Out-Null

OSActiveDirectoryBackup

REG_DWORDComputer
Checked
1
Unchecked
0
Element
Save BitLocker recovery information to AD DS for operating system drives
Value type
REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE]

; Options (use only one)
; Checked
"OSActiveDirectoryBackup"=dword:00000001
; Unchecked
"OSActiveDirectoryBackup"=dword:00000000
CMD
:: Options (use only one)

:: Checked
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSActiveDirectoryBackup" /t REG_DWORD /d 1 /f
:: Unchecked
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSActiveDirectoryBackup" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSActiveDirectoryBackup' -PropertyType DWord -Value 1 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSActiveDirectoryBackup' -PropertyType DWord -Value 0 -Force | Out-Null

OSActiveDirectoryInfoToStore

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Configure storage of BitLocker recovery information to AD DS:
Options
ItemStored value
Store recovery passwords and key packages1
Store recovery passwords only2
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE]

; Options (use only one)
; Store recovery passwords and key packages
"OSActiveDirectoryInfoToStore"=dword:00000001
; Store recovery passwords only
"OSActiveDirectoryInfoToStore"=dword:00000002
CMD
:: Options (use only one)

:: Store recovery passwords and key packages
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSActiveDirectoryInfoToStore" /t REG_DWORD /d 1 /f
:: Store recovery passwords only
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSActiveDirectoryInfoToStore" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null

# Options (use only one)
# Store recovery passwords and key packages
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSActiveDirectoryInfoToStore' -PropertyType DWord -Value 1 -Force | Out-Null
# Store recovery passwords only
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSActiveDirectoryInfoToStore' -PropertyType DWord -Value 2 -Force | Out-Null

OSRequireActiveDirectoryBackup

REG_DWORDComputer
Checked
1
Unchecked
0
Element
Do not enable BitLocker until recovery information is stored to AD DS for operating system drives
Value type
REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE]

; Options (use only one)
; Checked
"OSRequireActiveDirectoryBackup"=dword:00000001
; Unchecked
"OSRequireActiveDirectoryBackup"=dword:00000000
CMD
:: Options (use only one)

:: Checked
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRequireActiveDirectoryBackup" /t REG_DWORD /d 1 /f
:: Unchecked
reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "OSRequireActiveDirectoryBackup" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRequireActiveDirectoryBackup' -PropertyType DWord -Value 1 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\FVE' -Name 'OSRequireActiveDirectoryBackup' -PropertyType DWord -Value 0 -Force | Out-Null