1. Trang chủ
  2. » Công Nghệ Thông Tin

Tài liệu Registry Export and Import ppt

3 339 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Registry export and import
Thể loại Trình bày
Định dạng
Số trang 3
Dung lượng 36,13 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Registry Export and Import Registry editor Regedit.exe, which will be discussed in detail in Chapter 3, allows you to export the whole registry or individual keys.. The Export Registry F

Trang 1

Registry Export and Import

Registry editor (Regedit.exe), which will be discussed in detail in Chapter 3, allows you

to export the whole registry or individual keys You may export the registry to any device installed in the local system

Tip Export registry files to a folder specially created for this purpose This folder may be located on the network drive and contain individual subfolders for each user If you add this folder to the list of folders to be included in the regular backup procedure, you and all other users will benefit from the improvement in reliability

To export the registry, proceed as follows:

1 Start Regedit.exe and select My Computer (to export the whole registry) or any

individual key (to export that key only)

2 Select the Export… command from the File menu

3 The Export Registry File dialog will open (Fig 2.15) Select the target folder and specify the file name for the file that will contain exported registry information

Figure 2.15: The Export Registry File dialog The whole process of exporting the

registry file is very similar to the process of saving files

The exported registry file has an ASCII text format You may open this file for editing using any text editor

Exporting the whole registry or individual registry keys is the simplest method of backing

up the registry before proceeding with any operations that modify registry content To discard an incorrect modification introduced in the registry, simply import the previously exported registry file

Trang 2

To restore registry keys using Regedit, select the Import Registry File command from the File menu The Import Registry File dialog will open (Fig 2.16) You need to select the file to be imported

Figure 2.16: Importing the registry file

Note After getting acquainted with the registry, you will be able to experiment with it and even solve problems by editing the exported registry file and importing it back to the system However, before you proceed with editing the exported registry file, make a backup copy of this file to safeguard against possible errors

Some tips concerning working with registry import and export functions are shown

below

ƒ If you use the import/export function for backing up and restoring the registry, don't forget to copy the exported registry files to removable media or to the

network drive

ƒ Before completing the export operation, make sure that the key range you are

going to export is the particular one that you need If the All option is set, the operation will export the whole registry If you set the Selected branch option, the

export operation will export the key specified in the field below

ƒ Be very careful when working with exported registry files Don't attempt to import incompatible registry files (i.e., don't import registry files exported from Windows

NT v 4.0 or v 3.51 to a Windows 2000/XP or Windows Server 2003 registry, and vice versa; never try to import Windows 9x/ME registry files to a registry of a Windows NT-based system) If you import incompatible registry files, the import process will fail but, if it saves incorrect registry data before the error occurs

(which will probably happen), you will have problems that can manifest

themselves immediately or the next time you reboot the system

ƒ Don't double-click on exported registry files of unknown origin By default, all exported registry files bear the REG filename extension, which is associated with

Trang 3

the Regedit.exe program If you double-click on an incompatible registry file exported from a different operating system, the import procedure will begin before you can understand what's happened The result can be devastating

Note Be very careful with REG files! The Distribution disks of some applications

include these files and use them when installing the application to set registry values needed by the application Don't ignore any precautionary measures! If you double-click on a REG file, Regedit.exe will read this file and insert its contents into the registry If the registry already contains the same keys, they will be replaced by new keys retrieved from the REG file Before entering the contents of these files in the registry, always open REG files using a text editor (Notepad, for example) That way you will know what you are going to enter in the registry

 

Ngày đăng: 26/01/2014, 06:20

TỪ KHÓA LIÊN QUAN