Microsoft KB Archive/216444

= Logon Script in a Windows NT Domain Runs Sporadically =

Article ID: 216444

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Server 4.0 Enterprise Edition

-



This article was previously published under Q216444



SYMPTOMS
When a user logs on to a Windows NT domain, the network logon script specified for that user may not run.



RESOLUTION
To resolve this issue, use one or more of the following methods:

 Verify that the script file assigned to the user is properly configured in the User Manager for Domains tool:

 Click Start, point to Programs, point to Administrative Tools, and then click User Manager for Domains. Double-click the appropriate user. Click Profile, and then verify that the correct path and file name exists in the Login Script Name box. If not, type the correct path and file name to the logon script, click OK, and then click OK.  If you have directory replication configured between domain controllers, verify that the contents of the folders are being properly replicated. For information about troubleshooting directory replication, please see the following article in the Microsoft Knowledge Base:

149664 Verifying Domain Netlogon Synchronization

 If you can log on to a domain controller but the logon script does not run automatically, you can map a drive directly to the validating domain controller's Netlogon share and test the script manually:

 

</li> Obtain the name of the validating domain controller for each workstation that does not run the logon script:

<ul> Windows NT: Click Start, point to Programs, point to Administrative Tools, and then click Windows NT Diagnostics. Click the Network tab, and then read the value assigned to Logon Server.</li> Microsoft Windows 95 or Microsoft Windows 98: Follow the instructions in the following article in the Microsoft Knowledge Base:

150898 How to Display Domain Logon Confirmation in Windows

</li></ul> </li> At a command prompt, type net use * \\ \netlogon, where  is the name of the validating domain controller, and then press ENTER.</li> Change to the drive letter assigned to the share.</li> Type the file name of the logon script, and then press ENTER.</li></ol> </li> If you are not using directory replication, verify that the script file has been copied to the correct folder on all domain controllers.</li></ul>

Keywords: kbnetwork kbprb KB216444

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.