To add a new registry key using Registry Editor, take the following steps:
- Click the search box in the taskbar and enter regedit and then press Enter.
- On the left-hand side of Registry Editor, right-click the registry key or its sub-key(s).
- In the context menu, select New | Key as shown in Figure 4.24:

Figure 4.24: Adding a registry entry
To add a new registry value, right-click the empty space on the right-hand side of Registry Editor once you have located the registry key or its sub-key(s). In the context menu, select New, and then enter the value that you want to add.
Now let's learn how to add a service account. ...