Tuesday, October 19, 2010

win2000 registry


Windows Registry Overview
Registry is the Windows system configuration information stored on computer databases, including run-time system need to call the operation mode settings. Windows registry in the project included: per-user configuration files installed on the computer program and each program can create the document type, file folders and program icons in the property settings, system Ying Jian, is using the port Deng .
Organized by hierarchical structure of the registry by a key, subkey, configure the unit and the value of entry form. Registry, including the following:
鈼?HKEY_CURRENT_USER: contains configuration information for the current logged in user's root directory. User folders, screen colors, and "Control Panel" settings are stored in here. This information is called the user profile.
鈼?HKEY_USERS: contains all the users on the computer's configuration files in the root directory. HKEY_CURRENT_USER is a subkey of HKEY_USERS.
鈼?HKEY_LOCAL_MACHINE: contains the address of the computer (for any user) configuration information.
鈼?HKEY_CLASSES_ROOT: is HKEY_LOCAL_MACHINESoftware of children. Information stored here ensures that device when using Windows Explorer to open the file, it will use the correct application program to open the corresponding file 绫诲瀷.
鈼?HKEY_CURRENT_CONFIG: contains the local computer at system startup files used by the hardware configuration information.
The registry changes, you need a special editor to complete, in Windows, provided us with this tool. Microsoft's New in Win2000 in providing a multi-user system for the Registry Editor, This is what we will focus on the contents of this issue.
Here to emphasize one point: In general user does not have to modify the registry, it includes Windows up and running all the necessary configuration, incorrect settings will cause the application can not run, system error, until the system crashes or not start. If you need to edit the registry, be sure to back up the registry entries in advance!
Win2000 in the Registry Editor
In Win2000, the system provides two registry editing tools, one inherited from Win9x, and a new version of the operating system is provided. Here we would like to introduce the latter.
1. Proceedings
Click the Start button system in the context menu, select "Run" command to activate the relevant interface. Enter the text in which "regedt32", and hit the Enter key OK to start the program, its interface form shown in Figure 1.
2. To add a new registry key or subkey
If you need to run some system settings added to the system registry, which is a *. reg format information not available at this time can only be completed using the Registry Editor, concrete steps are as follows:
Start the program, the program list on the left of the tree in its window, select Add a new item under the key or subkey. Click the program interface menu bar on the "Edit Rui 顑?鈷?Yong Qi 顎?wake 鈮?South Luzon 顒?said 銉?scar calendar unitary Sui Chi Core 顑?towering pumps 顝?be upheld squid rank Bean? Shown in the interface.
Figure 2 shows the window in the "item name" text box to add the new entry name, for the specified categories, can be set according to their needs, of course, if you can not add. Finally click the OK button, you can return to program interface.
If the primary key in the HKEY_USERS or HKEY_LOCAL_MACHINE add new content, are different, then "Edit" menu in the "Add Item" command is not allowed to use. Add the correct way is: Click the program interface menu bar "File" drop-down menu item "Load Hive" command, the program will give a list box, choose which objects to load, then click " open "button, the program will give" Load Hive "dialog box, enter the new project in which the name, then click the OK button. This must be explained that, load the configuration unit is mainly used for passing in a different machine registry configuration, the configuration the same machine, it saves the system configuration time.
3. To the registry key value assignment
The so-called value of these is the data string containing the registry subkey, set to the string form of this embodiment, common values and setting values including binary string codes and DWORD (double-byte) value method. Assigned to value items of specific steps are: First, the interface on the left in the Registry Editor window, select an item or sub item assignment, from the program interface menu bar "Edit" key drop-down menu, select "Add Value" command, then interface appears as shown in Figure 3. In which the "Value Name" text box, enter the value you need to create items (items) were, in the "Data Type" drop-down text box select the assignment type, in which the meaning of the list items are:
鈼?REG_BINARY: Binary value;
鈼?REG_DWORD: DWORD value;
鈼?REG_EXPAND_SZ: Extensible string;
鈼?REG_MULTI_SZ: multi-string;
鈼?REG_SZ: Data string.
According to their needs choices, click the OK button. Note that the choice of the assignment of different types, the program will give the settings associated with interface, in which the set of specific values, after determining on it.
If you need to modify or edit the value of key assignment, use the mouse to the right window, double-click the program interface assignment list item, the program will give the appropriate assignment editor, in which you can edit or modify, is very simple.
4. To find the keyword method
Since the items included in the registry is very large, when it need to locate the items they need or sub-item, use the Find function is essential. The specific use of the function as follows: First, the program interface, select the items or sub-item scanning where the window, click the interface menu bar "View" drop-down menu item "Search key" command, will appear in Figure 4 shows the interface. "Find what" text box, enter the contents need to find keywords and select the appropriate scan-quality goods twist the sword 顑?顔?intestinal worm 顑?銈?ao safety Akita ant disorder Huan Gong Fan 顭?pure base magnetic Suites umbrella? Br> 5. Delete useless registry subkey or value items
Although the applications are designed with automatic uninstall feature, but most programs can not fully be themselves in the registry to add the item to delete, which will result in increasing the registry, a long time will cause the system to run slower so bad phenomenon. If you roughly know the composition of the registry, you can set up these useless deleted from the registry, of course, this operation has some risk, should back up the registry before using the data file. To delete the registry items, very simple: First, find the program interface will need to remove the host of the main entry window, and then locate the value of items need to remove the general registration key for software are included under the HKEY_CURRENT_USER subkey in the Software . Click the program interface menu bar "Edit" drop-down menu item "Delete" command or directly press the "Delete" button, the program will give delete confirmation dialog box, click "Yes" button to confirm.
In addition, hive entry is not directly deleted, need to operate in accordance with the following methods: Select the hive you want to delete the list of items, and then from the program interface "File" drop-down menu, select "Unload Hive" command.
6. Save the registry project
Save the registry for the project, according to the following steps: first in the program interface, select the registry items need to preserve objects from the interface after the "File" drop-down menu, select "Save Item" command, the program will give the appropriate dialogue box, save the file in which to set the file name, save the path for the file type, should be set to "All Files", click the interface in the "Save" button. As the Win2000 registry editor for different items are given a separate window, so the preservation of the integrity of the registry, have in turn saved the corresponding item.
7. Restore the registry project
To restore the registry project, we can understand the project to restore a backup of the registry settings, or restore the registry entries. Use of the function on the premise that we used to back up the registry project. The function is very simple to use: First select the project to restore the items where the display window, click the program interface "File" drop-down menu item "Restore" command, the program will give a dialog box, in which file list window, select the file name to restore, then click "Open" button can be determined.
Would like to remind that, for the project to restore operations, will use the backup of the registry entries completely replace the current registry of all the original location of configuration, but will need to restore the current location in the registry to delete all the configuration.
8. Open and close the registry
When the Registry Editor starts, the program will automatically open the machine's registry for editing. However, the tools provided as Win2000, the program provides information on the remote computer registry editing functions, but we can open the project is limited to HKEY_USERS and HKEY_LOCAL_MACHINE. Close the window for the local registry is available from the "File" drop-down menu, select item "Close" command can.
Open the remote computer's registry for, from the "File" item drop-down menu, select "Select Computer" command, in which computers need to access the list box, select the machine name, then click the Open button OK you can.
9. Set registry key permissions
Setting permissions is effective to protect an important means of registry items, to use this feature you can specify to open the the users and groups. The following steps are given specific settings: first in the program interface window, select the items need to specify the permissions, click interface "security" item drop-down menu, choose "permissions" command in the "Name" list box, select the need to set permissions user or group, if for the time being not to add, click the "Add" button in the associated "Select Users, Computers or Groups" setting interface options need to add the object. In the interface of "permission" item in the list box set to allow the currently selected object permissions, including read-only and full control (read and write). If you assign permissions to give children and wish to assign to the parent's inheritable permissions can be applied to sub-items, select the "Allow inheritable permissions from parent to propagate to this object" check box. In addition, if you click interface, the "Advanced" button, the program will give authorization for the current set registry key access control, including the authority to set more stringent, such as whether to allow the query value, set value, create subkey, gold give children, to inform, create link, delete, write to DAC, write owner, read control, you can choose according to their needs.





相关链接:



Lists People - Screen Savers



John XINHUA introduction of Guangxi sugar set EAM2008



Windows Vista Lxbkjswr.dll Error Fix Now



Shanghai real estate control policies Introduced Countdown



Jackie Chan And Jet Li's Ad War



Easy Calculators And Converters



Stealing "technology" take "clever" with CorelDraw



3G2 To WMV



There must be higher under the high commission income



Who Will replace the Yang?



3G2 to AVI



RMVB to MPEG



Joan Chen: "Nuclear high-based" SPECIAL to be drying faster



With a good wind POWER, send me Albatron



No comments:

Post a Comment