Microsoft KB Archive/319858

= &quot;Can't Open HKLM\network\logon {LMLogon}&quot; Error Message Occurs If You Run ScanState.exe =

Article ID: 319858

Article Last Modified on 6/11/2002

-

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:  Click Start, and then click Run. Type regedit in the Open box, and then click OK. Locate and click the following registry key:

HKEY_LOCAL_MACHINE\Network\Logon

 Click Export Registry File on the Registry menu. 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. Note the data value of the LMLogon registry value in the right pane.</li> Right-click LMLogon, and then click Delete.</li> Click Yes.</li> Point to New on the Edit menu, and then click Binary Value.</li> Type LMLogon in the New Value #1 box, and then press ENTER.</li> Right-click LMLogon, and then click Modify.</li> 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 &quot;O&quot;.</li> Click OK.</li> Quit Registry Editor, and then restart the computer.</li></ol>

<div class="status_section">

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

Keywords: kbprb KB319858

-

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

© Microsoft Corporation. All rights reserved.