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 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:


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!



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
Try this answer It works perfectly. – GLORY Aug 14 '14 at 20:08

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


For anyone with the same problem in the future:

I went to 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 – Peter Aug 18 '12 at 2:09

You must log in to answer this question.

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