1. Start by launching the Windows Registry Editor (regedit.exe). This can be done by typing “regedit” into the Start search box and pressing Enter, or by using the Run command.
2. Once the Registry Editor is open, you will see several folders listed on the left side of the window. Depending on what type of data you want to add to the registry, navigate to the appropriate folder, such as HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE.
3. Right-click the folder where you want to add the new value, hover your mouse over New, and click the type of data you want to add, such as String Value, DWORD (32-bit) Value, or Binary Value.
4. A new item will be added to the folder you selected. Double-click this item to open the Edit String dialog box (for string, DWORD, and binary values).
5. In the Value data text box, type the value you want to add. For String Values, this will usually be a text string, such as “MyValue.” For DWORD and Binary Values, it will usually be a number in either decimal or hexadecimal format, such as 12345 or 0xABCD.
6. Click OK to save your changes. Your new value should now appear in the list of values in the folder you selected.
7. When you are finished adding values, close the Registry Editor. Any changes you made will be automatically saved.