"Can't Open HKLM\network\logon {LMLogon}" Error Message Occurs If You Run ScanState.exe (319858)



The information in this article applies to:

  • Microsoft Windows XP Professional

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

If you run the ScanState.exe command from the User State Migration Tool, you may receive the following error message:
Can't open HKLM\network\logon {LMLogon}

CAUSE

This behavior may occur if both of the following conditions are true:
  • You run the ScanState.exe command on a computer that is running either Microsoft Windows Millennium Edition (Me) or Microsoft Windows 98.

    -and-
  • The LMLogon registry value on that computer is configured as a DWORD value instead of a binary value.

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 resolve this problem, edit the Windows registry to change the LMLogon value to a binary value:
  1. Click Start, and then click Run.
  2. Type regedit in the Open box, and then click OK.
  3. Locate and click the following registry key:

    HKEY_LOCAL_MACHINE\Network\Logon

  4. Click Export Registry File on the Registry menu.
  5. Type logonkey in the File name box, and then click Save.

    NOTE: If you want to restore this registry key, double-click the Logonkey.reg file that you saved.
  6. Note the data value of the LMLogon registry value in the right pane.
  7. Right-click LMLogon, and then click Delete.
  8. Click Yes.
  9. Point to New on the Edit menu, and then click Binary Value.
  10. Type LMLogon in the New Value #1 box, and then press ENTER.
  11. Right-click LMLogon, and then click Modify.
  12. Type the value that you noted in step 5 in the Value data box, for example, type 01000000.

    NOTE: In the preceding example, type zeros and not the letter "O".
  13. Click OK.
  14. Quit Registry Editor, and then restart the computer.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MajorLast Reviewed:6/11/2002
Keywords:kbprb KB319858