Saving and Restoring the Registry
Before you make any changes to the registry, you should always create a copy of the registry section
you plan to change. The easiest way to perform this task is to use the GUI to export or import the
entire registry hive or simply a registry branch. Use these steps to export your registry using the
GUI method.
1.
Type RegEdit. You??™ll see the Registry Editor window.
2.
Select the My Computer entry.
3.
Choose File
Export to display the Export Registry File dialog box.
74 CHAPTER 4
ESSENTIAL REGISTRY HACKS
4.
Verify that All is selected in the Export Range area.
5.
Type a name for the export file in the File Name field.
6.
Click Save. The Registry Editor will save a copy of the entire registry in the location you
specified using the filename you provided.
You can accomplish this task at the command line by typing
RegEdit ??“e RegSave.REG
and
pressing Enter. Notice that you don??™t supply the name of a hive or branch when you want to save
the entire registry. When you want to restore the entire registry, simply type the name of the REG
file. For example, if you type
RegSave.REG
and press Enter, then the system will display a dialog
box asking if you want to add the information to the registry.
Pages:
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247