Tuesday, December 30, 2014

Cannot Create Key: Error Writing to the Windows 7 Registry



I have Windows 7 Ultimate 64 bit. Things were going well until I had to install Outlook 2007 and Visio 2007 on my machine for some client work. After that Microsoft Office 2007 started trying to reconfigure itself every time i was launched. After some uninstalls, registry cleaning, re-installs, and various other experimental changes I was able to correct the "Configure" issue [for all programs except Visio and I'm willing to accept that].



However, during the process I lost the ability to do "File-->New-->Word Document" and "File--> New-->Excel Document", etc..




I tried repairing Office, but that did not add the menu items back in.



After some searching it appears this issue can be fixed by adding registry keys, as described here. Unfortunately I am unable to add those registry keys. The reg files from the link give an error: "Error Accessing Registry".



I opened up RegEdit and try to add the keys manually, I get get the error "Cannot Create Key: Error Writing to the Registry."



I have also tried some programs such as Creative Elements Power Tools and FileTypesMan to address this issue, but neither one was able to solve it. I didn't get any errors from those tools, but it did not add items back into the "new" menu.



For the most part my experiments have been with trying to get excel in the file new menu, but long term I want to get them all back there.




I am running regedit as an administrator. I have re-assigned ownership of the key in question to the administrator group. I have also given the Administrator group. my login account, the system account, and the everyone account full access to "HKEY_CLASSES_ROOT.xlsx" key [and the "HKEY_CLASSES_ROOT" key). That had no affect.



I also tried to use subinacl.exe to give access to those registry keys, but that did not address the issue.



I'm assuming I did something during my initial attempt to solve the problem that somehow blocked off access to that set of keys. I just have no idea what that would be.



I'm at a loss. While googling has provided plenty of possible solutions to my various problems, none of them have worked.



Any ideas?


Answer




While trying to fix this I eventually hosed the registry completely; and the computer wouldn't load. In the end I re-installed the OS from scratch and reinstalled all programs. Things have been working better than ever since doing so.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...