Dear phampton,

Here is a sample for setting the logon notice for Windows NT.
Note that Windows 9x does not support logon warning, so we created an executable that says the same
thing and set it to run every time the system runs.

code:
IF @INWIN = 1
$NOTICE1 = ReadValue ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "LegalNoticeText")
$NOTICE2 = ReadValue ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "LegalNoticeCaption")
IF $NOTICE1 = "My Company message"
ELSE WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "LegalNoticeText", "My Company message","REG_SZ")
ENDIF
IF $NOTICE2 = "Notice: CompanyŠ"
ELSE WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "LegalNoticeCaption", "Notice: CompanyŠ","REG_SZ")
ENDIF
ELSE
IF EXIST("%windir%\warn.exe")
ELSE COPY "V:\warn.exe" %WINDIR%
ENDIF
$RUNWARN = ReadValue ("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run", "WARN")
IF $RUNWARN = "%WINDIR%\WARN.EXE"
ELSE WriteValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run", "WARN", "%WINDIR%\WARN.EXE","REG_SZ")
ENDIF
ENDIF

Just locate your HKCU key and follow similar example above. Actually some of this could be put in to a variable and probably be more portable.

Good Luck...

------------------
NTDOC...
The dark side is quicker, easier, more seductive.
If you choose the quick and easy path, you will become an agent of evil.

[This message has been edited by NTDOC (edited 24 May 2001).]