Knowledge Base

Closing LAN Manager Logon Script Dialog Box Automatically

Article ID: 124245

Article Last Modified on 10/14/2003


APPLIES TO


This article was previously published under Q124245
Logon scripts assigned to a user account run when the user logs on, regardless of the user's workstation type. If the workstation is running Windows for Workgroups, the LAN Manager Logon Script dialog box remains on the screen until you choose Cancel. In LAN Manager 2.2, the logon process creates a zero-byte file called LMSCRIPT.$$$. The presence of this file indicates the logon script processing is complete.

To prevent the LAN Manager Logon Script dialog box from remaining on the screen of a Windows for Workgroups computer, add the following commands as the last two lines in the logon script batch file
   cd\<windir>
   echo>\<windir>\lmscript.$$$
		
where <windir> is your Windows for Workgroups directory.

The file is created and then deleted from the hard drive. When the script completes, the dialog box is cleared from the screen; the domain validation message subsequently appears.

Additional query words: wfw wfwg 3.11 prodnt

Keywords: KB124245