If you’re a Windows 7 user, you may be familiar with the registry key named “Registry”. This key is used to store important information about your computer, such as your user name and password. You can use this key to take ownership of certain registry keys, so that you can manage them yourself. To take ownership of a registry key in Windows 7, follow these steps:
- Open the Registry Editor. This tool is available from the Start menu or from the All Programs menu on the desktop.
- In the Registry Editor, click on the “Registry” tab.
- In the left pane, click on the “Key” button. This will open a list of all of your registry keys.
- In the right pane, click on the “New” button. This will create a new registry key called “MyKey”. The name of this key must be unique among all of your keys!
- Click on the “OK” button to close the Registry Editor and return to Windows 7’s main screen.
We have previously written about how to take ownership of files and folders in Windows 7, but there may be times when you need to take ownership of or assign full permission for certain registry keys. This article shows you how to do this.
NOTE: Before making changes to the registry, be sure you back up the registry. We also recommend creating a restore point you can use to restore your system if something goes wrong.
To take ownership of a registry key, open the registry editor, if it is not already open. Type “regedit” in the Search box on the Start menu and pressing enter when regedit.exe is highlighted in the search results. You can also click on the regedit.exe link to open the registry editor.
If the User Account Control dialog box displays, click Yes to continue.
NOTE: You may not see this dialog box, depending on your User Account Control settings.
Navigate to the key you want to take ownership of. For this example, we chose the following key:
Right-click on the desired key and select Permissions from the popup menu.
On the Permissions dialog box, click Advanced.
Click the Owner tab on the Advanced Security settings dialog box. Select the owner name in the Change owner to list box. If you want to take ownership of all the subcontainers and objects, select the Replace owner on subcontainers and objects check box.
If you want each child object (subkeys) of the selected parent object to have permissions inherited from its parent object, select the Include inheritable permissions from this object’s parent check box. If you want the permissions on the selected parent object to replace those on its descendant objects, select the Replace all child object permissions with inheritable permissions from this object check box. Click Apply to apply your changes.
A dialog box displays warning you that all subkeys of the object, in this case the Display key, will inherit permissions from the object. Click Yes if you want to accept this and continue.
Click OK to close the Advanced Security Settings dialog box.
You are returned to the Permissions dialog box. Select the desired user name from the Group or user names list and select the check box under the Allow column for the Full Control row. Click OK.
To close the Registry Editor, select Exit from the File menu.
NOTE: Be careful when taking ownership of registry keys and changing them. If you are not sure what you are doing in the registry, it is best not to experiment with changing registry keys.