Logon Scripts Do Not Run After You Upgrade a Windows NT Backup Domain Controller to Windows 2000 (329709)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server

This article was previously published under Q329709
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

After you upgrade a Microsoft Windows NT 4.0 backup domain controller (BDC) to a Windows 2000-based domain controller, client logon scripts may not run when clients log on to the domain.

CAUSE

This issue may occur if the Windows NT NETLOGON share and its contents are not moved to the new location (known as SYSVOL) when the BDC is promoted to a Windows 2000 domain controller.

RESOLUTION

To resolve this issue, follow these steps.

Step 1: Verify the Location of the NETLOGON Share

Log on to each domain controller, and then verify the path to the NETLOGON share:
  1. Click Start, click Run, type cmd in the Open box, and then click OK.
  2. At the command prompt, type net share, and then press ENTER.
  3. Note the resource path to the NETLOGON share name. The correct path is similar to the following

    C:\WINNT\SYSVOL\sysvol\example.com\SCRIPTS

    where C is the drive on which Windows is installed, and where example.com is the name of your domain.

Step 2: Delete Incorrect Resource Path Registry Settings

If the resource path to the NETLOGON share is set to the following default Windows NT resource

%SystemRoot%\System32\Repl\Import\Scripts

edit the Windows registry to delete this setting. To do this:
  1. Log on to the domain controller as Administrator.
  2. Click Start, click Run, type regedit in the Open box, and then click OK.

    WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
  3. Locate the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters

  4. On the Registry menu, click Export Registry File.
  5. In the File name box, type Exported-parameters-key, and then click Save.

    NOTE: If you later want to restore this registry subkey, you can do so by double-clicking the Exported-parameters-key.reg file that you saved.
  6. In the right pane of Registry Editor, right-click the Scripts value that has a Data value of %SystemRoot%\system32\repl\import\scripts, and then click Delete.
  7. Click Yes to confirm the deletion of the Scripts value.
  8. Quit Registry Editor.
  9. Restart the NetLogon service. To do so:
    1. Click Start, click Run, type cmd in the Open box, and then click OK.
    2. Type the following command, and then press ENTER:

      net stop netlogon

    3. When the NetLogon service has stopped successfully, type the following command, and then press ENTER:

      net start netlogon

  10. At the command prompt, type the following command, and then press ENTER to verify the correct resource path for the NETLOGON share:

    net share

The resource path that corresponds to the NetLogon share name should be similar to the following:

C:\WINNT\SYSVOL\sysvol\example.com\SCRIPTS

where C is the drive on which Windows is installed, and where example.com is the name of your domain.

Modification Type:MajorLast Reviewed:9/8/2006
Keywords:kbprb KB329709