How to Add Warning or Welcome Message on Logon Screen in Windows XP, 7 & 8

If you are managing the public computers or there are multiple users of a computer then probably you want to give them a welcome message or any kind of Warning message before they log into the System, or you want to show a message or last login details like last login and login time, this all can be done by editing few registry values, which will customize windows logon screen in any version of windows like Windows XP, 7 or 8. Before editing any value in the registry it is advised to Backup your System or Create a Restore point and take a full backup of the registry, this will help you in any case when the system fails by any chance.

 Adding Message to Windows Login Screen.

Follow these simple steps below to add welcome or warning message at windows logon.

Step 1.  You must be Login to your computer as Administrator to make any changes in Registry.

Step 2. Go to Start Menu and type regedit and click on it,  and Registry Editor will be open.

Step 3. Navigate to –

HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft\Windows\Current Version\Policies\System    by expanding folder tree in Registry Editor. Here on right pane, you will get different registry key, look for the key “legalnoticecaption” and “legalnoticetext”.

Customize login screen

legalnoticecaption – Double-click to open legalnoticecaption and write the Header of your message in the Value data field. You may write anything here whatever you want like Welcome, Warning etc, and hit OK to it. You can use up to 80 characters, including spaces, for the title.

windows logon message

 legalnoticetext – Now double click on legalnoticetext and enter the body of your message in Value data field, which you want to show during login and Click on OK. You can use up to 16,383 characters, including spaces, for the message text.

windows logon message

After Restarting your computer you will get Message Header and the Message body.

How to Track last Logon.

The above registry edit will show you  Welcome/Warning message with message header and body, but you can also track last login details like login time, date, and  successful/unsuccessful logins.  Configure registry to display login statistics as-

1. Click on Edit on the Menu in the registry editor.

2. Now click on New it will give you different options and click on  DWORD (32-bit) Value.

Windows logon

3. Now you will get a new registry key with the name  New Value #1 change it to DisplayLastLogonInfo and press enter it will change to DisplayLastLoginInfo.

4. Now Double click on it, and type “1” in Value Data field, and Click on OK.

change windows logon

 That’s All, you are done.

New Logon screen with your message and logon info

Now restart your computer and you will see the logon message as shown in below picture, Click on OK and you will get your user icon and continue to logon.

logon screen

Once you will hit OK here, then you will get Last Logon Information as shown in below picture. Now click on OK and it will take you to your desktop.

track Logon

You can change the logon screen for any purpose, write any message here, You can also Prank someone by writing any legal message or hack, or you can use as your work. If you have any trouble please leave a comment below, and share this useful information.

Recommended Registry Fix

Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

1 Comment
Oldest Most Voted
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x
Scroll to Top