locked
How do I add a carriage return in windows 7 legal notice text? RRS feed

  • Question

  • I need to write a legal notice text during windows logon, it consists of 4 lines. How do I add a carriage return, in other words, how do I add multiple lines in legal notice text in Windows 7? Thanks.

    Thang Mo

    Thursday, February 28, 2013 4:44 AM

Answers

  • http://support.microsoft.com/kb/238149?wa=wsignin1.0

    Used to work for windows 2000, i didn't try it on 2008/2012

    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:
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    3. Locate and double-click the LegalNoticeText value.
    4. Type the text that you want displayed in the Legal Notice message, and then click OK.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    NOTE: The Windows 2000 Registry Editor dialog box that is used for the Windows 2000 Legal Notice text (LegalNoticeText) does not recognize the character 0x0D. Instead, you must insert both the carriage return (0x0D) and line feed (0x0A) characters in that order, for example, 0D000A00.
    • Proposed as answer by Frederik Long Thursday, February 28, 2013 5:34 PM
    • Marked as answer by ThangMo Thursday, February 28, 2013 5:59 PM
    Thursday, February 28, 2013 2:07 PM
  • I finally used GPO and I am able to add multiple lines

    Computer Configuration | Policies | Windows Settings | Local Policies/Security Options/Interactive Logon


    Thang Mo

    • Marked as answer by tracycai Friday, March 1, 2013 7:02 AM
    Thursday, February 28, 2013 5:59 PM

All replies

  • On my machine the text appears to wrap around at the first space after the 90th character (approximately). You need to find out if this value is dependent on the character width and the screen resolution.
    Thursday, February 28, 2013 7:07 AM
  • http://support.microsoft.com/kb/238149?wa=wsignin1.0

    Used to work for windows 2000, i didn't try it on 2008/2012

    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:
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    3. Locate and double-click the LegalNoticeText value.
    4. Type the text that you want displayed in the Legal Notice message, and then click OK.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    NOTE: The Windows 2000 Registry Editor dialog box that is used for the Windows 2000 Legal Notice text (LegalNoticeText) does not recognize the character 0x0D. Instead, you must insert both the carriage return (0x0D) and line feed (0x0A) characters in that order, for example, 0D000A00.
    • Proposed as answer by Frederik Long Thursday, February 28, 2013 5:34 PM
    • Marked as answer by ThangMo Thursday, February 28, 2013 5:59 PM
    Thursday, February 28, 2013 2:07 PM
  • Very nice. Learnt something new today!
    Thursday, February 28, 2013 5:34 PM
  • I finally used GPO and I am able to add multiple lines

    Computer Configuration | Policies | Windows Settings | Local Policies/Security Options/Interactive Logon


    Thang Mo

    • Marked as answer by tracycai Friday, March 1, 2013 7:02 AM
    Thursday, February 28, 2013 5:59 PM