Configure authorized password decryptors: registry value ADPasswordEncryptionPrincipalComputerHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS
- Policy ID
- LAPS_ADPasswordEncryptionPrincipal
- Scope
- Computer Configuration
- Supported on
- At least Microsoft Windows 10 or later
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- System › LAPS
Registry
ADPasswordEncryptionPrincipal
REG_SZComputer- Enabled value
- Depends on the option value
- Element
- Authorized password decryptor
- Value type
- REG_SZ
- Maximum length
- 128
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "ADPasswordEncryptionPrincipal"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "ADPasswordEncryptionPrincipal" /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\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'ADPasswordEncryptionPrincipal' -PropertyType String -Value '<enter value>' -Force | Out-Null