| Version 3 - Logon
Scripting Version 3.00 adds a simple NT logon script
to the servers netlogon folder so that Windows 9x clients can connect the
Home Drive selected during installation "Directly" to the users
home folder.
The script detects Windows 9x clients and only
executes a mapping command then. Windows NT4, 2000 and XP
Professional Workstation connect to the users home folder directly without
executing the below net use command.
Network administrators may also add their own
scripting to this file or add this scripting to their own batch files.
Contents of mysanity.bat
if %os%==Windows_NT goto NT
\\SERVERNAME\netlogon\putinenv L
\\SERVERNAME\netlogon\winset USERNAME=%USERNAME%
net use H: \\2003SERVER\%username%$
:nt
Note: The installation also copies putinenv.exe
and winset.exe to the netlogon folder..which are needed for Windows 9x
clients to set the variable username to the actual users user name during
logon. |