Interactive logon: Message title for users attempting to log on: registry value LegalNoticeCaptionComputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System
- Category
- Security Settings › Local Policies › Security Options
- Scope
- Computer Configuration
- Source
- Windows 11 (version 26H2 · 26300.9457)
Registry
LegalNoticeCaption
REG_SZComputer- Enabled value
- Depends on the option value
- Element
- Interactive logon: Message title for users attempting to log on
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System] "LegalNoticeCaption"="<enter value>"
CMD
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "LegalNoticeCaption" /t REG_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'LegalNoticeCaption' -PropertyType String -Value '<enter value>' -Force | Out-Null