How to Add, Change, & Delete Registry Keys & Values
The Windows Registry is a hierarchical database that stores configuration settings and options on Microsoft Windows operating systems. It contains information about system hardware, software, and user preferences that allow Windows to operate correctly. The Registry is accessed and edited through the Registry Editor tool.
In this article, we will discuss how to add, change, and delete registry keys and values using the Registry Editor. These tasks require caution because incorrect changes can cause software or operating system failures.
Adding a registry key or value
Before adding a key or value to the registry, it is important to make a backup so that you can revert changes easily if something goes wrong.
Step 1:
Open the Registry Editor by pressing Windows + R keys, then typing “regedit” in the Run dialog box, and then pressing Enter.
Step 2:
Navigate to the registry key where you want to add a new value. For example, if you want to add a new value for an application, then navigate to the corresponding application key.
Step 3:
Right-click in the right pane of the Editor and select New, and then select the desired value type. The value types are strings, DWORD values, QWORD values, binary values, and others.
Step 4:
Enter the name of the value, and then press Enter. Double-click on the value and then enter the value data you want to add.
Step 5:
Click OK to save the changes and then close the Registry Editor window.
Changing a registry key or value
The following steps describe how to change a registry key or value.
Step 1:
Open the Registry Editor by pressing the Windows + R keys, typing “regedit” in the Run dialog, and then pressing Enter.
Step 2:
Navigate to the registry key where the value you want to change is located. For example, if you want to change the default search engine of your browser, you should navigate to the corresponding application key.
Step 3:
Double-click on the value you want to modify.
Step 4:
Enter the new value data in the Value data field.
Step 5:
Click OK to save the changes and then close the Registry Editor window.
Deleting a registry key or value
It is important to be cautious when you delete a registry key or value because incorrect deletion can potentially harm your system or data. The following steps describe how to delete a registry key or value.
Step 1:
Open the Registry Editor by pressing the Windows + R keys, typing “regedit” in the Run dialog, and then pressing Enter.
Step 2:
Navigate to the registry key that you want to delete.
Step 3:
Right-click the registry key and then select Delete.
Step 4:
Confirm the deletion by clicking Yes.
Step 5:
Repeat the above steps for any other registry keys or values you want to delete.
Conclusion
Registry editing can be intimidating, but with the right knowledge and caution, it can improve your system’s performance and functionality. When working with the Windows Registry, always create a backup to protect your system and data. By following the above steps, you can add, change, or delete registry keys and values safely and efficiently.