Reply
Old October 3rd, 2003 Top | #1
gerrieb
 
gerrieb's Avatar
Unregistered
Posts: n/a

Question log in script

In Windows 2000 Server, how do I create a Login Message that briefly appears to all users on the network .

Thanks for any help
gb
  Reply With Quote
Old October 3rd, 2003 Top | #2
Quick Reply
 
Quick Reply's Avatar
Unregistered
Posts: n/a

Default

there is something in group edit, if not you can add this to your login script
regedit /s \\Server\netlogon\alert.reg
alert.reg looks like

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"LegalNoticeCaption"="Logon Message"
"LegalNoticeText"="Message goes here"

or if you want a message to display in the actual script, you could add this to your script
echo off
cls
echo Message of the day:
echo --------------------------
echo Your text goes here,
echo It can take up
echo about 20 lines
echo before the dos window
echo starts scrolling the start
echo of this message
pause
just in case you didn't know
"echo off" - dont print the C:\>command.exe bit in on each line
"cls" - command for clearing the screen
"pause" - requires the user to press a key before the script continues
you can also use "pause > nul" if you dont want the "Press any key to continue . . ." to be displayed

if you want more info on logon scripts check out....
http://is-it-true.org/nt/atips/atips315.shtml
http://www.univ-st-etienne.fr/criter...doc/ntbat.html
http://info.unix-fu.org/Windows9x/Win95/Win95-FAQ-7.txt

I hope this helps you
  Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible Script? omg its nlm Web Design & Coding 10 February 9th, 2004 8:26am
Very new to PHP Script Alex_is_Axel Web Design & Coding 17 May 22nd, 2003 10:29pm
tv script slmatix Green Room 13 May 18th, 2003 5:42am
Looking for a cgi/php script help! DAZZ Web Design & Coding 7 December 22nd, 2002 7:00am
XP and script ericha Windows Desktop Systems 6 April 16th, 2002 5:41pm