Microsoft KB Archive/329709

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

Article ID: 329709

Article Last Modified on 2/28/2007

-

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:  Click Start, click Run, type cmd in the Open box, and then click OK. At the command prompt, type net share, and then press ENTER. Note the resource path to the NETLOGON share name. The correct path is similar to the following



where  is the drive on which Windows is installed, and where   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:  Log on to the domain controller as Administrator. 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.

</li> Locate the following registry subkey:

 

</li> On the Registry menu, click Export Registry File.</li> 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.</li> 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.</li> Click Yes to confirm the deletion of the Scripts value.</li> Quit Registry Editor.</li> Restart the NetLogon service. To do so:  Click Start, click Run, type cmd in the Open box, and then click OK.</li> Type the following command, and then press ENTER:

net stop netlogon

</li> When the NetLogon service has stopped successfully, type the following command, and then press ENTER:

net start netlogon

</li></ol> </li> At the command prompt, type the following command, and then press ENTER to verify the correct resource path for the NETLOGON share:

net share

</li></ol>

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



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

Keywords: kbprb KB329709

-

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

© Microsoft Corporation. All rights reserved.