Lost owner of registry keys

Posted on 2008-11-18
Last Modified: 2013-12-04

I encounter the next problem: when I repair or uninstall almost every program (with Administrator account), it fails with an error like this:

Error 1402.Could not open key:
Verify that you have sufficient access to that key, or contact your support personnel.

If I check the key in the registry with RegEdit, it says that I do not have enough privileges. The owner of a key seems to be lost, and to gain access to the key, I need to set the owner to Administrators group, then assign Read permission to this group.
If I do that and redo the repair or uninstall procedure, it shows the same error with an other GUID.

Because there are dozens of thousands of keys in the CLSID, I can't spend a month to set an owner and to assign appropriate permissions to all the keys one by one. So, the question is: how can I set both an owner and the permissions with some sort of a tool which will loop through all the keys?
Question by:MainMa
    LVL 52

    Accepted Solution


    Author Comment

    Thanks. It helped.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
    I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
    Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
    This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now