Netlogon Event 3051, with Invalid Registry Entry in Event Viewer (245086)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 4.0

This article was previously published under Q245086

SYMPTOMS

When you log on to a computer that is running Microsoft Windows NT Server 4.0 or Microsoft Windows NT Workstation 4.0, Event Viewer may record the following event:
Netlogon Event 3051, with an invalid registry entry.

CAUSE

This behavior can occur if the Scripts value in the registry is damaged.

RESOLUTION

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



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 resolve this issue, delete and then re-create the Scripts registry value:

  1. Start Registry Editor (Regedt32.exe), and then locate the following registry key:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters
    					
  2. Locate and delete the Scripts value.
  3. Quit Registry Editor, and then restart the computer.
  4. Start Registry Editor, and then re-create the Scripts value:
    1. Locate the following registry key:
      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters
      						
    2. On the Edit menu, click Add Value.
    3. In the Value Name box, type Scripts.
    4. In the Data Type box, click REG_EXPAND_SZ, and then click OK.
    5. In the String box, type the following path, and then click OK:

      %SystemRoot%\System32\Repl\Import\Scripts

      NOTE: Make sure you type this path correctly. If the path is incorrect, Event Viewer may report the following event after you restart the computer:
      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.
  5. Quit Registry Editor, and then restart the computer.

Modification Type:MajorLast Reviewed:8/27/2002
Keywords:kbprb KB245086