Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » Display logon banners for Windows PCs via Windows Registry
  • screenshot 2020 03 13 at 20.24.17
    How to view installed packages in Cygwin on Windows Windows
  • unnamed
    Upgrade ManageEngine Password Manager Pro Password Manager
  • Remove Frequently Used Folders from Quick Access in Windows 11
    How to Remove Frequently Used Folders from Quick Access in Windows 11 Windows
  • Windows Server 2019
    The virtual machine has terminated unexpectedly during startup with exit code 1 (1×0): Failed to open a session for the virtual machine Windows Server 2019 Virtualization
  • keyvault
    How To Use Azure Key Vault Secrets in Azure Pipelines AWS/Azure/OpenShift
  • Capture
    5 ways to take screenshots on Windows 11 JIRA|Confluence|Apps
  • image 54
    How to enable Amazon S3 default bucket encryption using S3 Console AWS/Azure/OpenShift
  • screenshot 2020 04 06 at 04.12.00
    How to install and Configure Pleasant Reset Password Virtualization

Display logon banners for Windows PCs via Windows Registry

Posted on 05/08/202305/08/2023 Christian By Christian No Comments on Display logon banners for Windows PCs via Windows Registry
Interactive-logon-Message-for-Users via Windows Registry

In this article, I will show you how to display logon banners for Windows PCs via Windows Registry. Oftentimes, users undermine the importance of security practices. However, the display of a warning message before signing in helps prevent an attack or warn malicious or uninformed users about the consequences of their actions before it happens. Please here are some related articles: New Windows 11 encryption features and security, Learn about “The different Windows Logon Types“, and how to fix “The logon attempt failed for the remote desktop connection“.

Why Display Logon Banners for Windows PCs

See this guide if you wish to learn more about the reasons and how to display interactive logon messages for Windows PCs via GPO. It helps reinforce corporate policies by notifying employees of appropriate policies during the sign-in process.

It’s advisable to set Interactive logon: Message text and Texts for users attempting to log on to communicate the legal requirement etc as the case may be.

Windows Registry Editor

The Windows Registry is a system-defined database in which applications and system components store and retrieve configuration data. The data stored in the registry varies according to the version of Microsoft Windows PC you are uisng. Applications use the registry API to retrieve, modify, or delete registry data.

Please see how to fix “Error 1385: The user has not been granted the requested logon type at this time“, and “How to fix Computer Policy could not be updated successfully“

You should not edit registry data that does not belong to your application unless it is absolutely necessary. If there is an error in the registry, your system may not function properly. If this happens, you can restore the registry to the state it was in when you last started the computer successfully. But before this can be achieved, you must backup your Registry, else, you risk re-installing your Windows PC.

Configure Interactive Logon Messages for Windows PCs

The Interactive logon: Message text for users attempting to log on and Interactive logon: Message title for users attempting to log on policy settings and are closely related.” To display a custom banner message on the Windows login screen, you can either use the Windows Registry or the Local Security Policy.

In this article, our focus is using the Windows Registry. Therefore, to display a logon banner for Computers via Windows. You will have to launch the Registry Editor by hitting the “Win + R,” type in regedit and hit the OK and Enter button.

Alternatively, you can type regedit from the search button
launch-Windows-Registry

Now, the Registry Editor is open. navigate to the following key.

HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Current Version/Policies/System/

The Legalnoticetext policy setting specifies a text message that displays to users when they sign in. The second policy which is Legalnoticecaption specifies a title for the title bar of the text message window.

Windows Banner Registry Keys
Windows Banner Registry Keys

On the right pane as shown above. locate the value “legalnoticecaption”. Right-click on it and then select “Modify. Or double-click on it.

Legal notice caption
Legal notice caption

The above action will open the Edit String window. Under the “Value Data” field, enter the message title and click on the “Ok” button to save the changes.

Remember to do the same for the Legalnoticetext.

legal-notice-texts

Once you are done with the changes, this is how it will look in your Windows Registry.

legal-notice-set-via-regedit

From this point onward. You will see a message when you try to log in to your Windows machine. Here is a related post for my beloved Veeam Community “Preventive Control: Implement Logon banners for your VBR Server“.

Usually, a reboot is not necessary. But if you wish to view the configured message immediately, simply restart your PC. You will find the configured message before the Login Screen.

logon banners for Windows PCs via Registry

Enter your login information now

img 2655
img 2655

Remove interactive logon messages for Windows PCs

These steps are very simple. navigate to the following key and remove both messages.

HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Current Version/Policies/System/
remove banner notice

You could also save the below as a registry file with the .reg extension and run the script

[HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Current Version/Policies/System]
"LegalNoticeText"="Warning this is my message"
"LegalNoticeCaption"="My caption"
A requirement for successfully prosecuting unauthorised (disgruntled users) who maliciously access your server(s) is by having a warning banner displayed.

I hope you found this blog post helpful on how to display logon banners for Windows PCs via Windows Registry. Please let me know in the comment section if you have any questions.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows, Windows Server Tags:Microsoft Windows, RegEdit, Registry, Registry Editor, Registry Keys, RegistryEditor, Windows 10, Windows 11, Windows Server 2016

Post navigation

Previous Post: Display interactive logon messages for Windows PCs via GPO
Next Post: Video Conversion Desktop Software for Windows

Related Posts

  • image 63
    Protect Remote Desktop credentials with Windows Defender Remote Credential Guard or Restricted Admin Mode Windows
  • Screenshot 2022 04 27 at 17.51.48
    Remote Desktop Services Setup on Windows Server Windows Server
  • FileZilla
    Access FTP Server from your browser: How to create a shortcut and access Filezilla from Windows Explorer Windows Server
  • newsroom hero image password security
    Unable to update the password value provided for the new password and Password Policy Windows Server
  • Uninstall MicrosoftDefenderUpdate
    Remove Microsoft Defender Update on Windows 10 & Server Windows
  • image 23
    Copy Deployment Share between Servers without using linked Deployment Shares Windows

More Related Articles

image 63 Protect Remote Desktop credentials with Windows Defender Remote Credential Guard or Restricted Admin Mode Windows
Screenshot 2022 04 27 at 17.51.48 Remote Desktop Services Setup on Windows Server Windows Server
FileZilla Access FTP Server from your browser: How to create a shortcut and access Filezilla from Windows Explorer Windows Server
newsroom hero image password security Unable to update the password value provided for the new password and Password Policy Windows Server
Uninstall MicrosoftDefenderUpdate Remove Microsoft Defender Update on Windows 10 & Server Windows
image 23 Copy Deployment Share between Servers without using linked Deployment Shares Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a
 
  • screenshot 2020 03 13 at 20.24.17
    How to view installed packages in Cygwin on Windows Windows
  • unnamed
    Upgrade ManageEngine Password Manager Pro Password Manager
  • Remove Frequently Used Folders from Quick Access in Windows 11
    How to Remove Frequently Used Folders from Quick Access in Windows 11 Windows
  • Windows Server 2019
    The virtual machine has terminated unexpectedly during startup with exit code 1 (1×0): Failed to open a session for the virtual machine Windows Server 2019 Virtualization
  • keyvault
    How To Use Azure Key Vault Secrets in Azure Pipelines AWS/Azure/OpenShift
  • Capture
    5 ways to take screenshots on Windows 11 JIRA|Confluence|Apps
  • image 54
    How to enable Amazon S3 default bucket encryption using S3 Console AWS/Azure/OpenShift
  • screenshot 2020 04 06 at 04.12.00
    How to install and Configure Pleasant Reset Password Virtualization

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.