How To Show Warning Message On Windows Login

This Tutorial shows, how to show a warning message to any user while he try to login to Windows. This becomes more useful when single computer is shared between many people. Some users mess it up. So it is better to show them a Logon Message, “Use this computer in a proper manner” or “Authorized Access Only” etc. You can set the message according to your requirements. This trick is useful for computers used in Cyber Cafes, Banks, etc.

24-Hour Flash Sale! Udemy online courses from just ₹ 455.

Follow these steps to show a warning message on logon screen

Step 1

Open Registry Editor (Press “Windows Button + R” and type “regedit“, then press Enter).

You may see User Account Control prompt, click Yes to continue.


Refresh your skills. Get courses from $10.99

Step 2

Registry editor will open. In The registry editor, scroll down to the following key:

HKEY_LOCAL_MACHINE > Software > Microsoft > Windows NT > CurrentVersion > Winlogon

24-Hour Flash Sale! Udemy online courses from just ₹ 455.

Step 3

Right click on LegalNoticeCaption, click Modify,

Type: “THIS IS WARNING MESSAGE!“, and then click OK. You can also type your desired Caption here.

Refresh your skills. Get courses from $10.99

Step 4

Right click on LegalNoticeText, click Modify,

Type your Warning message in the box and click OK.

24-Hour Flash Sale! Udemy online courses from just ₹ 455.

Step 5

Now, Restart Your Computer.

You will see warning message on logon.
The message will appear every time you start your computer!

Now, everyone who will try to login into your PC will see this message. You can set Warning message according to your requirements. If you want to stop showing warning message, just go to same location in registry editor and reset the values of both LegalNoticeCaption and LegalNoticeText to blank. Warning will not be displayed anymore. If you face problems in following any of the steps shown above, you can comment below.
See Also: How to Make your PC speak Welcome Message on Logon?
Enjoy, Have fun!

Refresh your skills. Get courses from $10.99

Get Latest Updates via Email

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

About Aslam Khan

Hi there, I am a blogger, engineer and a computer geek. I love kittens. I spend some of my time blogging besides full time job as Senior Windows Administrator. I like to learn new things.


  1. This is a very good tip especially to those fresh to the blogsphere. Simple but very accurate info… Thank you for sharing this one.

  2. It was really informative. Your site is very helpful. Thanks for sharing!

Leave a Reply

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