General discussion

Locked

Logon Banner with multiple lines

By rfinley ·
How do you create a logon banner with multiple lines? I need to put a long sentence in the logon banner, but also control what portions of the sentence are on which line within the banner. I know there is a way to force a "line feed" at a specificplace but don't remember how.

Help...

-Thanks, rbtfinley

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Logon Banner with multiple lines

by Bojidar Alexandrov In reply to Logon Banner with multipl ...

Logon dialog?
With what programing enviroment?

Collapse -

Logon Banner with multiple lines

by rfinley In reply to Logon Banner with multipl ...

Poster rated this answer

Collapse -

Logon Banner with multiple lines

by Bojidar Alexandrov In reply to Logon Banner with multipl ...

Try with \n

Collapse -

Logon Banner with multiple lines

by rfinley In reply to Logon Banner with multipl ...

Poster rated this answer

Collapse -

Logon Banner with multiple lines

by Curacao_Dejavu In reply to Logon Banner with multipl ...

MS KB Article I Q238149


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


Locate the following registry key:


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


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


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.


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.


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.


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

regards,

Leopold

Collapse -

Logon Banner with multiple lines

by rfinley In reply to Logon Banner with multipl ...

Poster rated this answer

Collapse -

Logon Banner with multiple lines

by rfinley In reply to Logon Banner with multipl ...

What I'm looking for is a very simple command. It doesn't require "programming". When the banner's text is typed in Poledit you can use <Shift-Enter> or something similar to create a new line. I can't get it to work right.

-Thanks, Robert

Collapse -

Logon Banner with multiple lines

by Shanghai Sam In reply to Logon Banner with multipl ...

I think that you can't do that very simple. It is something like built in. But I found something for you. Not very easy or nice but offers you partial control.
1.Default a line in logon windows has 90 characters. After 90 characters is inserted automatically a new line. You can combine text and spaces to arrange text as you wish.
2.In registry exists two keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SeCEdit\Reg Values\MACHINE/Software/Microsoft/Windows NT/CurrentVersion/Winlogon/LegalNoticeCaption

and

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SeCEdit\Reg Values\MACHINE/Software/Microsoft/Windows NT/CurrentVersion/Winlogon/LegalNoticeText

which both have: <DisplayType> and <ValueType>

I edit and change value data for these and apparently you can control the dimension of the windows and also the numbers of characters per line. I don't find a rule for these value data but I can increase line to 94 characters.
Hope this help you.

Back to Windows Forum
8 total posts (Page 1 of 1)  

Related Discussions

Related Forums