Configure Windows Pre-Logon Legal Banner via Regedit
Displaying a custom legal notice prior to user authentication ensures that anyone attempting to access a Windows system acknowledges acceptable use policies and organizational compliance terms. System administrators can implement these pre-logon warning banners directly through the Windows Registry Editor without requiring Active Directory Group Policy Objects (GPOs). This guide provides the exact registry keys and steps necessary to configure both the banner title and message text.
Registry Location
To configure the legal banner, open the Windows Registry Editor
(regedit.exe) with administrative privileges and navigate
to the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Required Values
Within the System key, locate and configure the
following two REG_SZ (String) values:
legalnoticecaption- Type: String Value (
REG_SZ) - Purpose: Sets the title/header displayed at the top of the legal notice dialogue box.
- Configuration: Double-click
legalnoticecaption(or create it via New > String Value if missing) and enter the desired title (e.g., Authorized Access Only).
- Type: String Value (
legalnoticetext- Type: String Value (
REG_SZ) - Purpose: Contains the actual legal disclaimer, policy text, or acceptable use agreement.
- Configuration: Double-click
legalnoticetext(or create it via New > String Value if missing) and enter the full body text of the notice.
- Type: String Value (
Applying and Testing the Configuration
- Close the Registry Editor. Changes take effect immediately without requiring a full system reboot.
- Press Windows Key + L to lock the workstation, or log off the current user session.
- Upon waking the screen, the configured legal notice will appear as a modal dialogue box. The user must click OK to accept the notice before the standard Windows logon and credential prompt becomes accessible.
To remove the banner in the future, return to the same registry path
and clear the string data inside both legalnoticecaption
and legalnoticetext.