Security tips: Registry Disabled and enabled method _ Registry

Source: Internet
Author: User

The registry is a core database in the Windows operating system that holds a variety of parameters that directly control the startup of Windows, the loading of hardware drivers, and the operation of some Windows applications, which play a central role throughout the system. These effects include soft, configuration and status information about the hardware, such as the initial conditions, preferences, and unload data for the application and Resource Manager shell in the registry, the entire system setup and licensing of the networked computer, the association of file extensions with the application, the description, status, and properties of the hardware part, Performance records and other underlying system state information, as well as other data. It's all important stuff, how to prevent people from modifying your registry?
, we can allow Registry Editor Regedit.exe to run. The method is as follows:

1, open the registry, find HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System, if there is no System under the Policies, Please create a new item (primary key) below it and name it system;

2, and then in the right margin to create a double byte (DWORD) value, named it disableregistrytools;

3. Double-click DisableRegistryTools to modify its numeric data to 1 (disableregistrytools key values are 1 and 0 o'clock respectively, which means locking and unlocking)

After this, quit Registry Editor, open the registry again, prompted "Registry Editor has been disabled by the administrator," then others, even you can no longer use Regedit.exe.

If you want to recover and be able to edit, use the Notepad (or any text editor) you have with Windows to create a *.reg file (* to indicate that the file name can be arbitrarily taken). The contents are as follows:.

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]

"DisableRegistryTools" =dword:00000000

Save the above as a *.reg file, (tips on capitalization and spaces: Windows 9x/me, the first line must be "REGEDIT4" and must be all uppercase.) and Windows 2000/XP, the first line must be "Windows Registry Editor Version 5.00". This information is very important, if not correct, although the registry file will be displayed after you have already imported, but the contents of the registry file have not been successfully modified. second act blank line. Third-Act subkey branch. Behavior of the set data under the subkey branch, where "DWORD" must be all lowercase.

Double-click to open the Reg file, and when you ask, "Are you sure you want to add the information in *.reg to the registry?", select "Yes" to successfully enter the information into the registry.

OK, here's how to disable and re-enable the registry. Here is the manual method of modifying the registry to protect it. Now the Web page contains malicious code can also lock your registry, we should pay attention to prevention.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.