Windows 7 - Can't delete registry key

Posted on 2010-11-26
Last Modified: 2012-05-10
When trying to delete a key in the registry, 64-bit Windows 7 says "Cannot delete <key>. Error while deleting key." I've removed inherited permissions, I'm the owner, and I have full control. The key is in HKEY_CLASSES_ROOT\VirtualStore. (The key refers to a program that I uninstalled, but it left keys defined in the registry.)
Question by:alconlabs
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 34220859
LVL 32

Expert Comment

ID: 34221449
Firstly - if you have UAC turned on, make sure that you run regedit from an elevated command prompt. (create a shortcut to cmd on your desktop, right-click, run as Administrator)

If you still have no luck - try deleting the key in Safe Mode (

LVL 12

Expert Comment

by:John Griffith
ID: 34221882
Activate Hidden Admin user account - it has full Admin permissions -

Accepted Solution

alconlabs earned 0 total points
ID: 34222326
Turns out this registry key (in VirtualStore) was a mirror of a key elsewhere in the registry. Removing that key resulted in this one being deleted automatically. Thanks for the suggestions.

Author Closing Comment

ID: 34255650
Answered my own question.

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
OfficeMate Freezes on login or does not load after login credentials are input.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question