Logon Scripts for Multiple ClientsLast reviewed: January 6, 1998Article ID: Q136073 |
The information in this article applies to:
SUMMARYTo have a logon script batch file call another batch file, you have to write it specifically for the type of client logging on to the network. This article gives an example of how to write such a batch file.
MORE INFORMATIONWindows NT is currently the only client that uses a Universal Naming Convention (UNC) connection for the logon script. If your Windows NT logon script contains the commands NET USE and PAUSE, you see a connection to:
\\LogonServer\NETLOGONin the Windows NT logon command prompt window. Windows for Workgroups and LAN Manager connect to the NETLOGON share using the Z: drive. If your Windows for Workgroups logon script contains the commands NET USE and PAUSE, you see a connection to drive Z: for LogonServer\NETLOGON in the Windows for Workgroups logon command prompt window. To create logon script batch file that will call another batch file, and will be used at Windows NT workstations as well as Windows for Workgroup workstations, write the batch file so it can handle the difference between Windows NT and other clients. The following example batch file could be used as a logon script that calls a batch file from the NETLOGON share.
if "%OS%" == "Windows_NT" goto NT_OS CALL z:\other.bat EXIT :NT_OS CALL other.bat EXIT |
Additional query words: 2.2c 3.11 3.51 prodnt operating system login
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |