Help with Logon Banner

B

Buz [MSFT]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top