Previous | Table of Contents | Next |
The Registry Editor is a useful tool for administrators to use to tune the performance of the server, configure the installation, and solve client-related problems. As mentioned earlier, the registry is composed of keys, subkeys, values, and data. Each data element can be one of the following types:
The first time you use the Registry Editor, it will display five cascading windows. Each window is a shortcut to a specific registry key. For convenience, I have tiled my view, as shown earlier in this chapter in Figure 13.2. Notice that this view appears quite similar to the view in Windows NT Explorer. You have expandable folders in the left window pane (like directories), a split bar in the middle, and a right window pane that displays the subkeys (like subdirectories) and values with their associated data (like files). If you want to expand or compress a folder, or edit a values data (in the right window pane only), you can double-click on it.
There are a number of tasks you can perform using the Registry Editor. These tasks include adding a registry key or value, deleting registry keys or values, and searching for specific entries in the registry. You can also use the Registry Editor to restrict access to specific registry keys to prevent unauthorized access. And just like the Windows NT Explorer can be used to enable auditing information for directories and files, you can use the Registry Editor to enable auditing of registry keys. Auditing is particularly useful for pointing out those nosy users you have who may try and circumvent your servers security. Once you know who they are, you can take action (a reprimand at least and firing them at most) to make sure they dont do it again. The following sections discuss each of these tasks, followed by a short section introducing you to a few miscellaneous registry editor commands that you may find useful. Lets start our exploration of the Registry Editors capabilities by adding a registry key.
TIP: For your first time, you should set the Registry Editor to read-only mode via the Options|Read Only Mode menu option. This will prevent you from accidentally making errors while you browse through the registry.
The primary purpose of the Registry Editor is to manipulate registry keys and values. If you want to add a new a key to the registry follow the steps presented here:
Figure 13.3 Adding a new key to the registry.
Adding a registry value is quite similar to adding a registry key. To add a new value to a key, follow the steps presented here:
Figure 13.4 Adding a new value to the registry.
The new value and data will then be displayed in the right window pane.
To delete a key or value, select the item, and then press the Delete key or use the menu option Edit|Delete. To delete just a values data item, double-click on the value (in the right window pane), and press the Backspace key for the highlighted entry in the Edit dialog. Then, click OK.
Before you go overboard deleting registry keys or values, you should save them. You can do so by selecting the key in the left window pane and then using the menu option Registry|Save Key. If you make a mistake while editing the key or value, you can use the Registry|Restore menu option to restore the key you just saved. You can use the Registry|Load Hive menu option to load a complete registry hive file under a new key that you will specify in the Key Name field of the Load Hive dialog.
Previous | Table of Contents | Next |