Link to home
Start Free TrialLog in
Avatar of j4piper
j4piper

asked on

Login Message needed

I have 50 people logging into my terminal server.

I would like to display a message right after they login.

How do I do that?
Avatar of Shift-3
Shift-3
Flag of United States of America image

Create a GPO which applies to the server.  Enable User Group Policy loopback processing mode under the node Computer Configuration\Administrative Templates\System\Group Policy.  Then go to the node User Configuration\Windows Settings\Scripts\Logon, create a .vbs file, edit it in Notepad, and enter MsgBox "Your message here"
Avatar of j4piper
j4piper

ASKER

Can you provide me with a quick vbs script where I can use it as a template in writing my message?
Avatar of j4piper

ASKER

Can you please provide me with a vbs example script that would reference a notepad.txt file?

This way I will only have to change the txt file.

Thank you.
If all you want to do is display a pop-up message then all you need is a single MsgBox line.

Use vbCrLf for line breaks.


MsgBox "This is the first line of my message." & vbCrLf & vbCrLf & "This is the second line of my message."

Open in new window

Avatar of j4piper

ASKER

How about referencing a text file?
ASKER CERTIFIED SOLUTION
Avatar of Shift-3
Shift-3
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of j4piper

ASKER

Wonderful!
Avatar of j4piper

ASKER

Is there a way that I can make this the only screen come up, making the end-user ACCEPT this message before the login finishes?