Regedit – Cannot create value: Error writing to the registry.

I was trying to add a key in the Registry (regedit.exe). I have Windows 7 Ultimate 64 bit, I got an error message saying 'Cannot create value: Error writing to the registry.'

Solution:


Step by Step Procedure:

1.Right click on the key

2.Click on Permissions

SYSTEM =>Full Control
Administrators => Full Control
Users > Read

3.Click Advanced => Owner tab.

4.Click on Administrators, select next to Replace owner on subcontainers and objects.

5.Click OK.

6.Done.