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:
- 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
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:
- 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.
- Locate the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters - On the Registry menu, click Export
Registry File.
- 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. - 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.
- Click Yes to confirm the deletion of the Scripts value.
- Quit Registry Editor.
- Restart the NetLogon service. To do so:
- Click Start, click
Run, type cmd in the
Open box, and then click OK.
- Type the following command, and then press ENTER:
- When the NetLogon service has stopped successfully,
type the following command, and then press ENTER:
- At the command prompt, type the following command, and then
press ENTER to verify the correct resource path for the NETLOGON 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: | Major | Last Reviewed: | 9/8/2006 |
---|
Keywords: | kbprb KB329709 |
---|
|