The Registry Editor is used to view and change settings in the system registry, which contains information about how your computer runs. Windows refers to this information and updates it when you make changes to your computer, such as installing a new program, creating a user profile, or adding new hardware. Registry Editor lets you view registry folders, files, and settings for each registry file.
Editing the registry is very similar to working with files in File Explorer. You can browse to a location in the registry and add, rename, and change data, or delete keys and values.
The following steps provide an example of how to add, modify, find, and delete registry items. Use similar steps to edit the registry.
Adding a key
Use the following steps to add a registry key.
-
In Windows, search for and open regedit.
-
If you are prompted for an Administrator password or asked to confirm changes to your computer, type the password or provide confirmation.
The Registry Editor opens.
-
Click the arrow

next to HKEY_CURRENT_USER.
-
Right-click HKEY_CURRENT_USER, select New, and then click Key.
A new key appears that looks like a folder.
-
Type AAAAA as a name for the new key and press Enter.
A new registry key has been created.
Adding a value name to the key
Use the following steps to add a value to the key you created.
-
Right-click the new key named AAAAA, select New, and then click String Value.
-
Type BBBBB as a new value name and press Enter.
You added a new value to a key.
Adding data to a Value name
Use the steps in this section to modify the registry item you created in the previous section.
-
Right-click the value BBBBB, and then select Modify.
-
Type CCCCC for the value data, and then click OK.
You added data to a registry value. This method can also be used to change existing data.
Finding a registry item
Use the steps in this section to find the registry item you modified in the previous section.
-
Click the arrow next to HKEY_CURRENT_USER to close the branch of registry keys.
-
Click Computer in the registry window.
-
Click Edit, and then click Find.
-
Type CCCCC into the Find what box.
-
Make sure Keys, Values, and Data are selected, and click the Find Next button.
Figure : Search the registry
The Registry Editor searches through the registry, stops, and highlights the value BBBBB.
-
Double-click BBBBB to open it and see the value data CCCCC inside.
You have successfully searched the registry and found the value data CCCCC.
Deleting a registry item
Use the steps in this section to delete the registry item you created previously.
-
Right-click the key named AAAAA, then click Delete.
-
Click Yes to verify the deletion of the AAAAA key, the BBBBB value, and the CCCCC value data.
Individual keys, values, and value data can be deleted in this same process.
caution:
When deleting a key, remember that every sub-item that it contains will also be deleted.
A registry key and its values have been successfully deleted from the registry.