Microsoft KB Archive/936756

= Error message in Windows Vista when you use Registry Editor to load a registry hive file that is on a shared network resource: &quot;Cannot load \\HivePath\filename: Access is denied&quot; =

Article ID: 936756

Article Last Modified on 9/11/2007

-

APPLIES TO


 * Windows Vista Home Premium
 * Windows Vista Ultimate
 * Windows Vista Business
 * Windows Vista Enterprise
 * Windows Vista Home Premium 64-bit Edition
 * Windows Vista Ultimate 64-bit Edition
 * Windows Vista Business 64-bit Edition
 * Windows Vista Enterprise 64-bit Edition

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
On Windows Vista-based computer, you cannot use Registry Editor to load a registry hive file that is on a shared network resource. You receive the following error message:

Cannot load \\ \ : Access is denied.

This problem occurs even if the user account that you use is granted Full Control permission to the registry hive file.

This problem also occurs if you use another utility to load a registry hive file that is on a shared network resource, and the utility uses the RegLoadKey API.



CAUSE
This problem occurs because of a design change in the RegLoadKey API in Windows Vista.



Hotfix information
A supported hotfix is now available from Microsoft. However, it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
No prerequisites are required.

Restart requirement
You have to restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

Registry information
To use this hotfix, you do not have to make any changes to the registry.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Windows Vista, 64-bit versions


WORKAROUND
To work around this problem, copy the registry hive file to the local computer. Then, use Registry Editor to load the registry hive file.



MORE INFORMATION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

How to load a remote registry hive file

 * 1) Click Start, type regedit in the Start Search box, and then click regedit.exe in the Programs list.
 * 2) Locate and then click one of the following keys:
 * 3) * HKEY_LOCAL_MACHINE
 * 4) * HKEY_USERS
 * 5) On the File menu, click Load Hive.
 * 6) Locate and then click the remote registry hive file, and then click Open.
 * 7) In the Load Hive dialog box, type a name in the Key Name box for the registry hive file that you want to load.
 * 8) Exit Registry Editor.

For more information about registry functions, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms724875.aspx

For more information about the RegLoadKey function, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms724889.aspx

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbfix kbqfe kbpubtypekc kbexpertiseadvanced kbhotfixserver KB936756

-

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

© Microsoft Corporation. All rights reserved.