Solved

How to add a disclaimer to login on server 2008

Posted on 2010-09-20
12
881 Views
Last Modified: 2012-05-10
Is there a way in the GP on server 2008 to have a company disclaimer show up when the user logs in, if so, how do I set this up?
Thanks
0
Comment
Question by:vmich
  • 4
  • 4
  • 3
  • +1
12 Comments
 
LVL 8

Expert Comment

by:thetmanvn
ID: 33716676
http://blogs.technet.com/b/askds/archive/2008/02/08/deploying-legal-notices-to-domain-computers-using-group-policy.aspx

Try this sir, it worked on 2k8 also. Here it have both way, simple way with no formating and the other one with nicer display.
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 33716682
To display a Login message on every machine Go to the following registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon   and in the following keys paste in this text...

LegalNoticeCaption  LegalNoticeText


Pete
www.petenetlive.com
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 33716716
oops different key for 2008

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system

Pete
www.petenetlive.com
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 1

Author Comment

by:vmich
ID: 33716766
tjhetmanvn,
What you suggested is what I did before I posted this question, but it is not showing up for the uers for some reason.
0
 
LVL 8

Expert Comment

by:thetmanvn
ID: 33716811
Did you try the way do by script, not the pre-defined that Windows Server provided?
0
 
LVL 1

Author Comment

by:vmich
ID: 33716907
no what do you mean by that
0
 
LVL 8

Expert Comment

by:thetmanvn
ID: 33716979
Read through the article you will see they do in another way, not by pre-defined in Windows template.

And that mean you should try create a vbscript like that artiles show and "disable your existing Group Policy object that contains your legal text  notice security policy settings. Now, create a new Group Policy object  and assign this at the level appropriate for your environment. Configure  this GPO with a computer startup script and include your script.  Refresh Group Policy and then logoff your workstation".
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 33717004
- you did apply the GPO to an OU with users in it?

http://www.petenetlive.com/KB/Article/0000328.htm

0
 
LVL 57

Expert Comment

by:Pete Long
ID: 33717014
damn I mean with computers in it -  I need coffee?
0
 
LVL 1

Accepted Solution

by:
vmich earned 0 total points
ID: 33717416
I figured out what my issue was. Somehow some of the computers were not showing up in AD under the correct OU. Once I put them where the GP was being applied, the discalimer was showing on all...
0
 
LVL 8

Expert Comment

by:thetmanvn
ID: 33717429
Cheers
0
 

Expert Comment

by:kvbinet
ID: 37747457
I added the following script to the GP for when users log on and it works but I don't know how to change the font on this? Can anyone help. Below is the Script:

'==========================================================================
'
' VBScript Source File --
'
' NAME: legal.vbs
'
' AUTHOR:
'
' DATE: 3/12/2012
'
' COMMENT: computer startup script to deploy legalcaption and legaltext
'
' ==========================================================================

set wShell = CreateObject("Wscript.Shell")
strLegalCaption = "Legal Notice"

Const POLICY_KEY = "HKLM\Software\Microsoft\Windows\CurrentVersion\policies\system\"

Const LEGAL_CAPTION_VALUENAME = "legalnoticecaption"

Const LEGAL_TEXT_VALUENAME = "legalnoticetext"

strLegalText = ""

strLegalText = strLegalText & " testing." & vbcrlf & vbcrlf


strLegalText = strLegalText & " This computer system is the property ." & vbcrlf & vbcrlf



strLegalText = strLegalText & "By accessing and using this computer, you are consenting to such monitoring and information retrieval for law enforcement and other purposes." & vbcrlf &vbcrlf



wShell.RegWrite POLICY_KEY & LEGAL_CAPTION_VALUENAME, strLegalCaption, "REG_SZ"

WShell.RegWrite POLICY_KEY & LEGAL_TEXT_VALUENAME, strLegalText, "REG_SZ"
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been working as System Administrators since 2003. I recently started working as a FreeLancer and was amazed to find out that very few people are taking full advantage of their Windows Server Machines. Microsoft Windows Server comes with so…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question