Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to install a hot fix for Visual Studio 2008, but each time the install fails, and the report in the log file is that the installer does not have access to:

\\HKLM\Software\Classes\.map\OpenWithProgids

If I load regedit.exe I can't access that key, I get an "Access denied" error.

  • I am a member of "Administrators"
  • I am the only non-system account on the machine
  • I have rebooted
  • I have "Run as Administrator" on the installer and on regedit.exe
  • I have enabled the Administrator account and logged on as such
  • I have tried to give myself permissions to the key
  • I have tried to give SYSTEM permissions to the key
  • I have tried to take ownership of the key

I don't know what else to try, I am locked out of my own registry!

Help!

Edit:

I'm using Windows 7

share|improve this question
    
Which OS? What permissions exist for this key? –  Tim Pietzcker Nov 21 '09 at 14:46
    
What permissions have you given to the key when adding System and yourself it? –  MDMarra Nov 21 '09 at 14:47
    
@Tim - Windows 7 ---- @MarkM - I try to give "Full Access" but I'm not allowed to grant myself permissions! –  Josh Comley Nov 21 '09 at 14:50

2 Answers 2

Have you tried taking ownership of the key? In WinXP, you need to open the permissions dialog, click on "Advanced..." and then on the Ownership tab. Don't know if that still works in Win7.

share|improve this answer
    
Yes I've tried this, I get "Unable to set new owner.... access is denied" –  Josh Comley Nov 21 '09 at 14:57
up vote 1 down vote accepted

Fixed!!!

For anyone with the same problem in the future:

I went to http://www.heysoft.de/old/RegDACLe.htm and downloaded RegDACL.

I then ran the following command:

regdacl HKLM\SOFTWARE\Classes\.map\OpenWithProgids /gga:F /ggu:R

This gave full permissions to both administrators and users. I needn't have bothered with the users one, but hey ho.

share|improve this answer
    
Download here:heysoft.de/en/software/regtools.php –  Peter Aug 18 '12 at 2:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.