Configure Legal Notice on Windows Login Using Regedit
Administrators can configure custom legal notice banners to appear on the Windows logon screen using the Windows Registry Editor (Regedit). This guide outlines the exact registry keys and values required to set up both a custom title and detailed message body, ensuring users acknowledge organizational policies or legal terms before authenticating.
Prerequisites
- Administrative privileges on the target Windows system.
- Standard Registry Editor tool (
regedit.exe).
Step 1: Open the Registry Editor
- Press
Win + Rto open the Run dialog box. - Type
regeditand press Enter (or click OK). - If prompted by User Account Control (UAC), click Yes to grant administrative permissions.
Step 2: Navigate to the System Policies Key
In the Registry Editor address bar or left navigation pane, navigate to the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Step 3: Configure the Notice Strings
Within the System key, locate the two string values
responsible for the logon message:
- Configure the Notice Title
(
legalnoticecaption):- Double-click the
legalnoticecaptionvalue in the right pane. - In the Value data field, enter the header text you want displayed (e.g., Authorized Access Only or Company Security Policy).
- Click OK.
- Double-click the
- Configure the Notice Body
(
legalnoticetext):- Double-click the
legalnoticetextvalue in the right pane. - In the Value data field, enter the detailed legal statement, terms of use, or warning message.
- Click OK.
- Double-click the
(Note: If either legalnoticecaption or
legalnoticetext does not exist, right-click an empty area
in the right pane, select New > String Value, name
it accordingly, and set the value data.)
Step 4: Apply and Verify the Changes
- Close the Registry Editor.
- Sign out of Windows or restart the computer.
- Upon booting, Windows will present a dialog box containing your specified title and text. Users must click OK before reaching the standard credential entry prompt.
How to Remove the Legal Notice
To disable the notice in the future: 1. Return to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System.
2. Clear the contents of both
legalnoticecaption and
legalnoticetext by deleting their
Value data entries, leaving them blank.