Windows 7 Registry Changes

Many registry settings are protected from changes, making registry changes in Windows 7 impossible. If you ever encounter the error message: “Cannot edit,create, delete, modify registry key” or , then you will have to grant your user account permission to modify the registry.

Cannot edit: Error writing the values new contents

There are also other error messages that are related to the same problem:

Cannot create, edit delete registry key

  • Cannot create key: You do not have the requisite permissions to create a new key under Registry Key
  • Cannot create value: Error writing to the registry
  • Cannot edit Registry Value. Error writing the value’s new contents
  • Cannot delete Registry Key: Error while deleting key

Error creating, renaming, editing, creating, deleting registry key

  • Error Creating Value
  • Error Renaming Key or Value
  • Error Editing Value
  • Error Creating Key
  • Error Deleting Values
  • Error Deleting Key

Other registry errors

  • Registry Access Error
  • The Registry Editor cannot rename Registry Key or Value. Error while renaming key or value
  • Unable to delete all specified values

How to edit protected registry files properly?

To solve the problem, you will have to give yourself permissions to modify the registry entry.

1. Step Right-click on the registry entry that you want to modify and click on permissions:

Registry Entry Change Permissions

2. Step Select your username and give yourself “Full Control”:

Registry Permissions: Full Control

Now, you should already be able to modify the registry and apply your registry changes.

(Optional) Replace owner of registry entry

If you still can’t apply any registry changes in Windows 7, you can replace the owner of the registry entry with your own user account. Then you will be the owner of the file and can do whatever you want with it.

1. Step To do that repeat step 1 above and open the permissions window of the registry key, then click on “Advanced”:
Advanced Registry Permissions

2. Step Go to the tab “Owner” and assign ownership of the registry entry to yourself. Make sure to check the option “Replace owner on subcontainers and objects” (this will apply the registry permissions recursively and assign ownership of subitems to your account as well).

Assign registry ownership

3.3 of 5 0 (67%) 3 votes
- Cheers!

Tags: ,

Written by:
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common errors and help others to fix them. Aside from that, he loves to fully customize systems with Rainmeter and Dreamscene, find out more about ancient civilizations like the Chachapoya, sharpen his digital photography skills and create software with a small group of selected developers. If you would like to connect with him to discuss anything, send him a mail!

Learn More About.Me

Follow me on Twitter for daily updates:

Contact The Author:

Get Free Help

Connect With Our Site:



Need help? Ask a question at our QA site, click the red button to get started:
Want to support us? Great, simply buy your favorite games from G2A via our referral link ( and save money at the same time:

5 Responses to Windows 7 Registry Changes

  1. Orange Community Approved Comment:
    David Tadlock said:

    This does not seem to work in Windows 7 or at least for the key and subkeys I am trying to change. If anyone else has a better answer feel free to e-mail me. Thanks.

  2. Orange Community Approved Comment:
    sOliver said:

    David, could you please post the error message that you receive when you try to edit the registry key. What I would try is to start the registry editor with administrator permissions.

    Enter regedit.exe into search, right-click on it and click on Run ad administrator. Might help.

  3. Orange Community Approved Comment:
    Viktor said:

    This doesn’t work in Windows 7 for these kind of reg keys:
    (Trying to modify Capabilities to mark a specific device as not ejectable).
    Any ideas?

  4. Orange Community Approved Comment:
    johnylog said:

    Hello guys,

    Do you encounter errors while deleting files in Windows? I’m here to provide a solution. I’ve been reading several threads on this topic on different forums where computer users were asking about this popular error “The filename you specified is not valid or too long”.

    My research helped me to find a tool for you guys.

    Its LONG PATH TOOL, a very easy to run but highly powerful software.

    Follow the link to read more about this error.

  5. Orange Community Approved Comment:
    Tibidibidi said:

    Hello Everyone,

    Do you have any ideas about Viktor’s post? I have the same problem on all Windows 7 systems, what i ever use…

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current day month ye@r *