Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wondered why some file associations were broken and stumbled upon a nasty problem: I cannot access the key HKEY_CURRENT_USER\Software\Classes.

screenshot

As you can see above, I cannot view its current permissions, nor its owner (which should by SYSTEM). And no matter what I tried I'm unable to fix it. Trying to change the owner gives me a permission denied (also when trying from the Administrator account). RegDacl, which seemed to help another user, also aborts with a permission denied error.

Any suggestions how to repair this? If I cannot repair this I guess I have to dump that user account and create a new one. Are there any "diff-like" tools out there to help copy over registry keys?

share|improve this question
    
Did you open regedit as "run as administrator"? – Moab Dec 10 '10 at 22:26

You need to access the registry as SYSTEM. From an administrator command prompt, run:

psexec -s -i regedit

This gives you system level access to the registry keys and you can do ANYTHING. Be careful.

share|improve this answer
    
You can get PSEXEC here. – Paul Whitehurst Feb 13 '11 at 2:47

You can edit registry with Emergency Boot CD ( http://www.prime-expert.com/ebcd/ ) which ignores key security descriptors and allows access to everything. By copying key security descriptor from root key to HKEY_CURRENT_USER\Software\Classes you can reset its ACL to default.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .