Microsoft KB Archive/892192

= You receive an error message when you try to access the registry or Event Viewer on a remote computer that runs Windows XP Professional =

Article ID: 892192

Article Last Modified on 8/4/2005

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)

-





SYMPTOMS
When you try to use a Microsoft Windows XP Professional-based computer to view the registry on a remote Windows XP Professional-based computer, you may receive the following error message:

Cannot open HKEY_Local_Machine: error while opening key

When you try to use a Windows XP Professional-based computer to view Event Viewer on a remote Windows XP Professional-based computer, you may receive the following error message:

Access is denied



CAUSE
This behavior may occur if the remote computer was upgraded from Microsoft Windows 2000 to Windows XP Professional. The error messages occur because the Local Service user account does not have permissions to the following registry subkey:



RESOLUTION
To resolve this issue, use Registry Editor to grant Read Only permissions to the Local Service user account. To do this, follow these steps:  Click Start, click Run, type regedit, and then click OK. Expand the following registry subkey:

 Right-click winreg, and then click Permissions. Click Add. In the Enter the object names to select box, type Local Service, and then click OK.

Alternatively, you can type the name of a user or group that you want to grant access permission. In the Permissions for LOCAL SERVICE list, next to Read, click to select the Allow check box.</li> Quit Registry Editor, and then restart your computer.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
By default, Windows 2000 does not have a built-in user account named Local Service. Instead, the Remote Registry Service is logged on as Local System. In Windows XP, the Remote Registry Service is logged on as Local Service.

For additional information about the required permissions for remote access to the registry, click the following article number to view the article in the Microsoft Knowledge Base:

314837 How to Manage Remote Access to the Registry

Keywords: kbtshoot kbprb KB892192

-

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

© Microsoft Corporation. All rights reserved.