Event ID 3051 and 5706 on domain controllers (258805)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server

This article was previously published under Q258805
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

The following events may be logged in the System log:
Warning: Netlogon Event 3051:

The registry or the information you just typed includes an illegal value for "DBFlag".

Event 3051:

The registry or the information you just typed includes an illegal value for "SysVol".

Error: Netlogon Event 5706:

Netlogon could not create share c:\winnt\system32\repl\import\scripts. The following error occurred: The System could not find the path specified.

Error Netlogon Event 5706:

The Netlogon service could not create server share. The following error occurred:

The filename, directory name, or volume label syntax is incorrect.

CAUSE

These error messages can occur if entries under the following registry key on the domain controller are missing or incorrect:

KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters

RESOLUTION

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.
To restore the Netlogon service to working order and prevent additional error messages:
  1. Stop the Netlogon service by typing net stop netlogon at a command prompt.
  2. Start Registry Editor (Regedt32.exe).
  3. Locate the following key in the registry:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters

  4. Adding registry values.

    NOTE: If you get the error message:
    Registry Editor could not create the value entry; the value entry already exists. Please enter a new name.
    This indicates that the entries may already exist but not be visible. Open regedit.exe and view

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters

    If you see all of the entries, delete the SysVol entry and continue with step 4 and re-create only the SysVol entry in regedt32.exe.

    On the Edit menu, click Add Value, and then add the following registry values:

    Value Name: DBFlag
    Data Type: REG_SZ
    Value: 0

    Value Name: SysVol
    Data Type: REG_SZ
    Value: Path_to_sysvol (By default, this value is set to C:\WINNT\SYSVOL\sysvol)

  5. Quit Registry Editor.
  6. Restart the Netlogon service by typing net start netlogon.
NOTE: If there is another domain controller in the domain, you can save the Parameters key from that domain controller and restore it to the problem domain controller, making corrections if necessary.

MORE INFORMATION

For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

245086 Netlogon Event 3051, with invalid registry entry in Event Viewer

247811 How domain controllers are located in Windows 2000


Modification Type:MajorLast Reviewed:9/20/2004
Keywords:kbDCPromo kberrmsg kbprb KB258805