Windows 7: How to Show a Custom Text Message Before Logon through Group Policy Preferences

Windows 7: How to Show a Custom Text Message Before Logon through Group Policy Preferences

This function tested with Domain Controller 2008 and Windows 7 Client.

To create do the following:

1- Open Group Policy Management console.



2- Right click on Default Domain Policy and click Edit. (That is just test, if you use practice, please create new GPO)



3- Go to Computer Configuration\Preferences\Windows Settings\Registry.



4- Now create 2 new Registry Item. Right click on Registry, click New and click Registry Item.



5- For message header, use:

Hive: HKEY_LOCAL_MACHINE
Key Path: SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Value name: legalnoticecaption
Value type: REG_SZ
Value data: Your Message Header (For example: Welcome to Contoso Network)

Click OK.



6- For your message Text, use:

Hive: HKEY_LOCAL_MACHINE
Key Path: SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Value name: legalnoticetext
Value type: REG_SZ
Value data: Your Message Text (For example: This is Test Message)

Click OK.




7- Close GPO Edit and GPMC.

8- Open CMD and run GPUPDATE /FORCE command.



9- Restart your Windows 7 Client.

10- Press Ctrl + Alt + Delete to logon.

11- Now, User can see your Message, before logon:




Here is Message on Windows XP client.



Again, that is just a simple test and meant to be fun.
Leave a Comment
  • Please add 2 and 4 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Comments
  • Patris_70 edited Original. Comment: added XP photo

  • Ed Price - MSFT edited Revision 2. Comment: Title casing; font style

Page 1 of 1 (2 items)
Wikis - Comment List
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Thanks for the tip, good work ! Regards.

  • Nice and fun article thanks

  • Patris_70 edited Original. Comment: added XP photo

  • Thanks Type0, M.Abdelhamid

  • Is there a way to do this so that it displays the contents of a text file?

  • Ed Price - MSFT edited Revision 2. Comment: Title casing; font style

  • Nominated this article to be featured!

  • Gracias se ve divertido

  • Thanks , good work!

Page 1 of 1 (9 items)