How to Add a Message to the Windows Logon Screen (Windows 10 & 11)

·
6 min read

Help Desk Geek is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

Windows lets you display a custom message on the logon screen that every user must dismiss before signing in, handy for acceptable-use notices, household reminders, or basic legal banners. You can set it up in under two minutes using Local Security Policy (Pro and higher) or Registry Editor (all editions, including Home).

Note: This message is purely informational. Clicking OK dismisses it, it doesn’t add any access control. For real security, pair it with strong passwords, MFA, and BitLocker.

Which Method Should You Use?

MethodWorks onDifficulty
Local Security PolicyWindows 10/11 Pro, Enterprise, EducationEasy
Group Policy (gpedit.msc)Domain-joined PCs; Pro/Enterprise/EducationMedium
Registry EditorAll editions including HomeEasy

Windows 10/11 Home users: secpol.msc and gpedit.msc are not available on Home editions. Skip straight to Method 2: Registry Editor.

Method 1: Local Security Policy (Pro and Higher)

This is the cleanest way to set the message on Pro, Enterprise, or Education editions. The setting names haven’t changed from Windows 7 through Windows 11.

Step 1: Open Local Security Policy

  1. Press Windows + R to open the Run dialog.
  2. Type secpol.msc and press Enter.
Windows 11 Run dialog with secpol.msc typed in the Open field

Step 2: Navigate to Security Options

  1. In the left pane, expand Security SettingsLocal Policies.
  2. Click Security Options.
Local Security Policy editor with Security Settings > Local Policies > Security Options selected in the left pane

Step 3: Set the message text

  1. In the right pane, scroll down and double-click Interactive logon: Message text for users attempting to log on.
Local Security Policy Security Options list with "Interactive logon: Message text for users attempting to log on" highlighted
  1. On the Local Security Setting tab, type your message in the text box.
  2. Click OK.
Entering a logon message

Step 4: Set the message title

Important: Setting only the message text is not enough. On most systems the message won’t appear unless you also set a title. Always configure both.

  1. Back in the Security Options list, double-click Interactive logon: Message title for users attempting to log on.
Local Security Policy Security Options list with "Interactive logon: Message title for users attempting to log on" highlighted
  1. Type a short title (for example, Authorized Use Only or Notice).
  2. Click OK.
Entering a title for the logon message

Step 5: Test it

  1. Close Local Security Policy.
Local Security Policy editor File menu open with Exit option visible
  1. Press Windows + L to lock your PC, or sign out completely.
  2. Your title and message should appear before the credential prompt. Click OK to dismiss it and sign in normally.
Message on logon screen

To remove the message

  1. Reopen secpol.msc and navigate back to Security Options.
  2. Double-click each setting and clear the text field, then click OK.
  3. Sign out or restart to confirm the message no longer appears.

Method 2: Registry Editor (All Editions, Including Home)

The Registry method sets the exact same values that Local Security Policy writes, but it works on every Windows edition, including Home.

Warning: Editing the Registry incorrectly can cause serious problems. Create a restore point before you start: press Windows + R, type sysdm.cpl, go to System Protection, and click Create.

Step 1: Open Registry Editor

  1. Press Windows + R, type regedit, and press Enter.
  2. Click Yes at the UAC prompt.

Step 2: Navigate to the Policies\System key

  1. In the address bar at the top of Registry Editor, paste the following path and press Enter:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Registry Editor with HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System selected and legalnoticecaption and legalnoticetext values visible in the right pane

Step 3: Set the title value

  1. In the right pane, look for legalnoticecaption. If it exists, double-click it. If it doesn’t, right-click an empty area in the right pane → NewString Value, name it legalnoticecaption, then double-click it.
  2. In the Value data field, type your title (e.g., Authorized Use Only).
  3. Click OK.

Step 4: Set the message text value

  1. Find legalnoticetext in the right pane. If it exists, double-click it. If it doesn’t, create it the same way: right-click → NewString Value, name it legalnoticetext.
  2. Type your full message in the Value data field. You can press Enter for line breaks.
  3. Click OK.

Step 5: Test it

  1. Close Registry Editor.
  2. Restart your PC or press Windows + L to lock it.
  3. Your message should appear before the sign-in screen. Click OK to dismiss it.

To remove the message

  1. Navigate back to the same registry key.
  2. Double-click legalnoticecaption and clear the Value data field, then click OK. Repeat for legalnoticetext.
  3. Alternatively, right-click each value and select Delete.
  4. Restart to confirm it’s gone.

Method 3: Group Policy (Domain-Joined PCs)

If you’re managing multiple machines on a domain, configure the logon message through Group Policy instead of touching each PC individually.

  1. On the domain controller or management workstation, open Group Policy Management Console (GPMC) and edit the appropriate GPO, or press Windows + R, type gpedit.msc, and press Enter for local Group Policy.
  2. Navigate to: Computer ConfigurationWindows SettingsSecurity SettingsLocal PoliciesSecurity Options.
  3. Configure Interactive logon: Message title for users attempting to log on and Interactive logon: Message text for users attempting to log on as described in Method 1.
  4. Run gpupdate /force in an elevated Command Prompt on the target machines, then sign out or reboot to test.

Troubleshooting: Message Not Showing Up?

  • Only set the text, not the title? Set both values. Many systems won’t display the message if the title is blank.
  • Didn’t restart or sign out? The message only appears at sign-in. Lock your PC with Windows + L or restart to test.
  • Using Windows Hello or a PIN? The legal notice still appears before any authentication method. It’s independent of how you sign in.
  • Seeing a full-screen Microsoft upgrade or end-of-support warning? That’s a separate Microsoft-controlled alert, not your custom message. It can’t be dismissed via these settings.

Frequently Asked Questions

Can I show the message only once, or only for specific users?

No, the built-in legal notice is system-wide and appears every time anyone signs in. For a one-time or per-user message, you’d need a logon script or scheduled task that checks a registry flag to track whether the user has already seen it.

Is there a character limit?

There’s no hard limit that you’ll realistically hit, but very long messages may require scrolling on smaller displays. Keep it concise enough to read without scrolling. A few sentences is ideal for most use cases.

Can I add images or formatting?

No. The built-in logon message is plain text only, with no images, colors, bold, or HTML. Line breaks are supported. If you need a branded or formatted message, you’d need a custom application that launches at logon.

Does this actually improve security?

Not technically. Anyone with valid credentials can click OK and sign in regardless. Its real value is satisfying compliance or policy requirements that mandate an acceptable-use notice at logon. It’s not a substitute for MFA, BitLocker, or keeping Windows updated.

Conclusion

The Registry method works on every Windows edition, including Home, and is the one to bookmark if you only need to do this once. The Local Security Policy method is slightly cleaner for Pro users who want a GUI. Either way, remember to set both the title and the message text, or the notice likely won’t show up at all.