Microsoft KB Archive/216444

From BetaArchive Wiki
Knowledge Base


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:

    1. Click Start, point to Programs, point to Administrative Tools, and then click User Manager for Domains.
    2. Double-click the appropriate user.
    3. 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:


    1. Obtain the name of the validating domain controller for each workstation that does not run the logon script:

      • 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.
      • 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

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


Keywords: kbnetwork kbprb KB216444