How to Add a Carriage Return to the Legal Notice Text in Windows NT

ID: Q238149


The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Server, Enterprise Edition version 4.0

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SUMMARY

This article describes how to add a carriage return to the Legal Notice text in Windows NT.


MORE INFORMATION

You can configure Windows NT to display a Legal Notice message to users before they can log on to the system. At the end of the message, users must click OK before the logon dialog box is displayed.

If the message contains more than one paragraph, you can add a carriage return so that the message is displayed as intended (even if the display resolution on the computer changes). For additional information about the Legal Notice banner in Windows NT, please click the article number below to view the article in the Microsoft Knowledge Base:

Q101063 Windows Logon Welcome, Displaying Warning Message
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

To add a carriage return to the Legal Notice text of a logon dialog box, follow these steps:
  1. Start Registry Editor (Regedt32.exe).


  2. Locate the following registry key:


  3. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  4. Locate and double-click the LegalNoticeText value.


  5. Type the text that you want displayed in the Legal Notice message, and then click OK.


  6. On the Edit menu, click Binary. This opens the text of the message in the binary editor. Each letter of the message (including spaces) is represented in hexadecimal, with four characters in the binary editor representing one letter of text in the message.


  7. To insert a carriage return after a line of text, click the space just after the last character in the message where you want to put the first carriage return, type 0D00, and then click OK.


  8. Remember that one letter of normal text is equal to four characters in the binary editor. Count the number of characters before the next location where you want to put a carriage return, and multiply this by four. Move over this number of spaces in binary mode, and then type 0D00 again.


  9. Repeat this process for each carriage return that is needed. You can put two carriage returns next to each other to simulate a new paragraph.


Additional query words: banner security

Keywords : kbenv
Version : winnt:4.0
Platform : winnt
Issue type : kbinfo


Last Reviewed: September 14, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.