LAB6I: USER LOGON SCRIPTS
In this exercise, you will create a simple logon script and
assign it to a group of users, so that it executes when they log
on to the domain.
@echo off
echo Operating System is %OS%
echo Username is %USERNAME%
pause
YES NO
Operating System is ............................................ Username is ....................................................
YES NO
Summary
Logon scripts allow additional commands to be executed when a
user logs onto a domain. It is possible to run programs and
manage network and printer mappings using logon scripts. The
logon script must be on the same server as that which is
validating the logon request. For this reason, logon scripts are
normally replicated to all BDC's in the domain.
Environment variables are not accessed correctly under Windows95.
Look at the supplemental information on the Windows95 CD-ROM,
found under \admin\apptools\envvars\winset.exe for more
information, or KikStart, found at http://www.xs4all.nl/~akhw/winnt.html.