Configure pre-boot recovery message and URL: registry value RecoveryKeyMessageSource and 2 moreComputerHKLM\Software\Policies\Microsoft\FVE
- Policy ID
- PrebootRecoveryInfo_Name
- Scope
- Computer Configuration
- Supported on
- At least Windows Server 2016 or Windows 10
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › BitLocker Drive Encryption › Operating System Drives
Registry
RecoveryKeyMessageSource
REG_DWORDComputerHKLM\Software\Policies\Microsoft\FVE Current key
- Enabled value
- Depends on the option value
- Element
- Select an option for the pre-boot recovery message:
| Item | Stored value |
|---|---|
| 0 | |
| Use default recovery message and URL | 1 |
| Use custom recovery message | 2 |
| Use custom recovery URL | 3 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FVE] ; Options (use only one) "RecoveryKeyMessageSource"=dword:00000000 ; Use default recovery message and URL "RecoveryKeyMessageSource"=dword:00000001 ; Use custom recovery message "RecoveryKeyMessageSource"=dword:00000002 ; Use custom recovery URL "RecoveryKeyMessageSource"=dword:00000003
CMD
:: Options (use only one) reg add "HKLM\Software\Policies\Microsoft\FVE" /v "RecoveryKeyMessageSource" /t REG_DWORD /d 0 /f :: Use default recovery message and URL reg add "HKLM\Software\Policies\Microsoft\FVE" /v "RecoveryKeyMessageSource" /t REG_DWORD /d 1 /f :: Use custom recovery message reg add "HKLM\Software\Policies\Microsoft\FVE" /v "RecoveryKeyMessageSource" /t REG_DWORD /d 2 /f :: Use custom recovery URL reg add "HKLM\Software\Policies\Microsoft\FVE" /v "RecoveryKeyMessageSource" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Force | Out-Null # Options (use only one) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'RecoveryKeyMessageSource' -PropertyType DWord -Value 0 -Force | Out-Null # Use default recovery message and URL New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'RecoveryKeyMessageSource' -PropertyType DWord -Value 1 -Force | Out-Null # Use custom recovery message New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'RecoveryKeyMessageSource' -PropertyType DWord -Value 2 -Force | Out-Null # Use custom recovery URL New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'RecoveryKeyMessageSource' -PropertyType DWord -Value 3 -Force | Out-Null
RecoveryKeyMessage
REG_SZComputerHKLM\Software\Policies\Microsoft\FVE Current key
- Enabled value
- Depends on the option value
- Element
- Custom recovery message option:
- Value type
- REG_SZ
- Required
- false
- Maximum length
- 900
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FVE] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "RecoveryKeyMessage"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Policies\Microsoft\FVE" /v "RecoveryKeyMessage" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'RecoveryKeyMessage' -PropertyType String -Value '<enter value>' -Force | Out-Null
RecoveryKeyUrl
REG_SZComputerHKLM\Software\Policies\Microsoft\FVE Current key
- Enabled value
- Depends on the option value
- Element
- Custom recovery URL option:
- Value type
- REG_SZ
- Required
- false
- Maximum length
- 500
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FVE] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "RecoveryKeyUrl"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Policies\Microsoft\FVE" /v "RecoveryKeyUrl" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'RecoveryKeyUrl' -PropertyType String -Value '<enter value>' -Force | Out-Null