Go Premium for a chance to win a PS4. Enter to Win


Windows 7 - Can't delete registry key

Posted on 2010-11-26
Medium Priority
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

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 (http://windows.microsoft.com/en-US/windows7/Start-your-computer-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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
OfficeMate Freezes on login or does not load after login credentials are input.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Suggested Courses
Course of the Month12 days, 11 hours left to enroll

971 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