Access is denied – on a reg key 0
While trying to re-install Office 2007 after a couple failed updates and then corruption (still using Win7 beta – my own fault I guess) I got an error 1402 “Can’t open key [blah blah]“, even after I had completely removed Office (another nightmare). After spending 4 hours searching for how to fix key permissions, running the subinacl script (which resulted in me doing a system restore) – I found the fix!
- Right click on the stubborn key, then click permissions. For me it was:
[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\[your USERSSID]\Components\BE1FB738077DBE490AF18C3B9B1A1EE8\00002109A20000000100000000F01FEC - Now, you might have got an error telling you that it’s view only or something – this might work for you, it might not.
- Click the Advanced button to take you into the special permissions pages.
- UnCheck “Include inheritable permissions….” and click Apply then Ok. (MS says to click Apply first then click OK, Dan)
- Go back into that Advanced special permissions page and this time, CHECK that same box “Include inheritable permissions….” and click Apply then Ok
- As soon as I did this and clicked Ok, in the Group/Username Security permissions box for the stubborn key I saw all the names that should have been there. Voila.