Skip to Content

Solved: How do I fix Registry Editor Error Opening Key: An error is preventing this key from being opened?

Problem: Error message “An error is preventing this key from being opened” prompt when opening specific registry key in Registry Editor on Windows.

The detail of the error message may different depend on the registry key that you are trying to open, the following are full error message:

Error Opening Key
Key cannot be opened.
An error is preventing this key from being opened.
Details: The system cannot find the file specified.
Details: Access is denied.

Error Opening Key. An error is preventing this key from being opened. Details: The system cannot find the file specified.

Error Opening Key. An error is preventing this key from being opened. Details: The system cannot find the file specified.

Error Opening Key. An error is preventing this key from being opened. Details: The system cannot find the file specified.

Error Opening Key. An error is preventing this key from being opened. Details: The system cannot find the file specified.

Error Opening Key. An error is preventing this key from being opened. Details: Access is denied.

Error Opening Key. An error is preventing this key from being opened. Details: Access is denied.

Error Opening Key. An error is preventing this key from being opened. Details: The system cannot find the file specified.

Error Opening Key. An error is preventing this key from being opened. Details: The system cannot find the file specified.

Error Opening Key. An error is preventing this key from being opened. Details: Access is denied.

Error Opening Key. An error is preventing this key from being opened. Details: Access is denied.

Error Opening Key. An error is preventing this key from being opened. Details: Access is denied.

Error Opening Key. An error is preventing this key from being opened. Details: Access is denied.

Follow below solution steps to resolve Error Opening Key issue.

Content Summary

Potential Causes
Solution 1: Access Manually
Solution 2: Execute Registry Editor with SYSTEM Account
Solution 3: Remove Reparse Points using Regln

Potential Causes

  • Registry Editor unable to handle the search query due to the registry key, location or data’s name is too long
  • Your Windows login account does not have the required permissions to open, modify or delete this specific registry key.
  • Reparse point or registry link with missing target key path.

Solution 1: Access Manually

You can try to split the search query or access the registry key location manually.

Solution 2: Execute Registry Editor with SYSTEM Account

Step 1: Download PsExec from Microsoft Sysinternals. The current version is v2.2.

Step 2: Unzip the downloaded compressed zipped file and you will get a folder called PSTools.

Step 3: Copy and paste all the content inside PSTools folder to your executable path, normally is >C:\Windows\System32

Step 4: Press Windows key once.

Step 5: Type cmd in the search box.

Step 6: Choose Run as administrator option to open an elevated command prompt.

Step 7: Enter the following command to launch Registry Editor with the SYSTEM account: psexec -i -d -s c:\windows\regedit.exe

Launch Registry Editor with the SYSTEM account PsExec

Launch Registry Editor with the SYSTEM account PsExec

Step 8: Search the query again.

Solution 3: Remove Reparse Points using Regln

Step 1: Download Regln from GitHub.

Step 2: Copy and paste regln.c to your executable path, normally is C:\Windows\System32

Step 3: Press Windows key once.

Step 4: Type cmd in the search box.

Step 5: Choose Run as administrator option to open an elevated command prompt.

Step 6: Enter the following command to delete the registry link: regln -d <link_key>
* Replace the link key with the registry key which caused the error.

Alex Lim is a certified IT Technical Support Architect with over 15 years of experience in designing, implementing, and troubleshooting complex IT systems and networks. He has worked for leading IT companies, such as Microsoft, IBM, and Cisco, providing technical support and solutions to clients across various industries and sectors. Alex has a bachelor’s degree in computer science from the National University of Singapore and a master’s degree in information security from the Massachusetts Institute of Technology. He is also the author of several best-selling books on IT technical support, such as The IT Technical Support Handbook and Troubleshooting IT Systems and Networks. Alex lives in Bandar, Johore, Malaysia with his wife and two chilrdren. You can reach him at [email protected] or follow him on Website | Twitter | Facebook

    Ads Blocker Image Powered by Code Help Pro

    Your Support Matters...

    We run an independent site that is committed to delivering valuable content, but it comes with its challenges. Many of our readers use ad blockers, causing our advertising revenue to decline. Unlike some websites, we have not implemented paywalls to restrict access. Your support can make a significant difference. If you find this website useful and choose to support us, it would greatly secure our future. We appreciate your help. If you are currently using an ad blocker, please consider disabling it for our site. Thank you for your understanding and support.