Legal Notice banner is truncated

Tim C (ICS Security) 66 Reputation points
2022-11-08T14:47:45.117+00:00

I have number of Server 2019 and Windows 10 machines that need to have a Legal Notice displayed before logon.

I have configured the relevant GPO's (Interactive logon: Message text for users attempting to log on and Interactive logon: Message title for users attempting to log on) and the text does display. I have a message that's 980-ish characters, and I have used carriage returns in the line-ends which I believe should allow a message of up to 2048 characters. However, it is still truncated, but at more than 512 characters.

Any ideas please?

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,767 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,424 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,574 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,915 questions
{count} votes

Accepted answer
  1. Anonymous
    2022-11-12T15:58:28.633+00:00

    It worked for me here with a local gpo test. In the screenshot you can't make it out but there is a vertical scroll bar to get to the rest of text. The testing was on a windows 10 21H2 build

    259803-image.png

    0 comments No comments

11 additional answers

Sort by: Most helpful
  1. Tim C (ICS Security) 66 Reputation points
    2022-11-13T14:33:27.667+00:00

    I may have found my obvious error...

    In my text file I have semi-colon's withint he text. This seems to cause a break in the parsing of the text at the endpoint. When I removed all punctuation I get this

    259903-screenshot-2022-11-13-142634.jpg

    Actually I see I missed a comma. I found this article:

    https://www.reddit.com/r/sysadmin/comments/1f66pg/interactive_logon_group_policy_carriage_returns/

    and went to look in the GPO ini file and it seems where a carriage return is entered in the text box, in fact it's stored as a single line of text, with comma's to be displayed surrounded by double quotes and commas in line that are not surrounded by double quotes indicating where the line-breaks are. When I deleted all punctuation it gave me the screen snip above, which is the full 946 character message - happy days. I'm out of time now but the next step is to tinker with adding in commas within the ini file to get more attractive paragraphing, and then maybe I'll get fully where I want to be, but for now all the words on screen is the main thing!


  2. Tim C (ICS Security) 66 Reputation points
    2022-11-13T14:53:02.213+00:00

    I have now modified all GPO's for Windows Server 2019 DC's and Servers plus all Win10 Clients, and it's working.

    I am not sure how to mark this resolved TBH?


  3. Tim C (ICS Security) 66 Reputation points
    2022-11-13T14:59:09.01+00:00

    The issue is punctuation in the text structure - I had semi-colons in the line which makes the text misbehave.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.