101063 How to Enable a Warning Message During Windows Logon Welcome
http://support.microsoft.com/?id=101063
Also here is an example system startup script that uses WMI to populate the
necessary registry keys to display a logon banner.
const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set objRegistry=GetObject("winmgmts:\root\default:StdRegProv")
strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system"
strValueName = "legalnoticetext"
strStringValue = "Legal Notice Text"
objRegistry.SetStringValue HKEY_LOCAL_MACHINE, strKeyPath,strValueName,
strStringValue
strValueName = "legalnoticecaption"
strStringValue = "Legal Notice Caption"
objRegistry.SetStringValue HKEY_LOCAL_MACHINE, strKeyPath,strValueName,
strStringValue
Buz Brodin
MCSE NT4 / Win2K
Microsoft Enterprise Domain Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only.