The registry is a core database in the Windows operating system, which stores various parameters, which directly control the startup of Windows, the loading of hardware drivers, and the operation of some Windows applications, thus playing a core role in the entire system. These functions include the configuration and status information of software and hardware, such as the initial conditions, preferences and uninstall data of the application and resource manager shell stored in the registry, the settings and various permissions of the entire system of the networked computer, the association of file extensions with the application, the description, status and attributes of hardware components, performance records and other underlying system status information, and other data. These are all important things. How to prevent others from modifying your registry?
, we can make the registry editor prohibit running. The method is as follows:
1. Open the registry and find HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System. If there is no System under Policies, please create a new item (primary key) under it and name it System;
2. Then create a new double-byte (DWORD) value in the blank space on the right and name it DisableRegistryTools;
3. Double-click DisableRegistryTools and modify its numerical data to 1 (when the key values of DisableRegistryTools are 1 and 0, it means locking and unlocking respectively)
After passing the above, exit the registry editor and open the registry again, it will prompt that "registry editing has been disabled by the administrator", and no one else or even you will be able to use it again in the future.
If you want to restore and edit it, use the Notepad (or any text editor) that comes with Windows to create a *.reg file (* means that the file name can be taken arbitrarily). The content is as follows:.
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=dword:00000000
Save the above content as a *.reg file (Tips about case and spaces: Windows 9x/Me, the first line must be "REGEDIT4", and must be all uppercase. For Windows 2000/XP, the first line must be "Windows Registry Editor Version 5.00". This information is very important. If it is incorrect, although it will be displayed after double-clicking the registry file, the content of the registry file has not been successfully modified. The second line is blank line. The third line is subkey branch. The fourth line is setting data under the subkey branch, and the "dword" must be all lowercase.
Double-click to open the reg file. When you are asked "Do you really want to add the information in *.reg to the registry?", select "Yes" and you can successfully enter the information into the registry.
OK, the above is about disabling and re-enablement of the registry. Here is a manual method to modify the registry to protect. Now web pages containing malicious code on the Internet can also lock your registry, so everyone should pay attention to prevention.