I will teach you how to clean up the Registry

Source: Internet
Author: User
Tags time zones

Because users may often add or delete applications when using computersProgramIn addition, some functions provided after the system is initially installed may not be required for us, or friends who frequently surf the Internet may encounter malicious websites and force some items to be added to the Registry, constantly harass innocent users. In this way, the registry contains redundant subkeys or values, which may cause errors caused by confusion, if the sub-key in the registry is not deleted after the original application is uninstalled, if the Sub-Key has a related value at startup, the system may prompt that the file cannot be found when the computer is started, if the replacement of the original program that was installed later has a sub-key with the same location in the Registry and the same name, it may cause confusion. In addition, even if none of these conditions occur, excessive registry subkeys will also result in a waste of registry space and reduce the running speed.

Now let's take a look at the basic steps to clean up the registry:

Delete unnecessary DLL files:

DLL files are dynamic data link libraries. Some DLL junk files are stored in the C: windowssystem32 directory during software installation and uninstallation. These files occupy a lot of disk space, this reduces the system running speed. So how can we determine whether it is a useful DLL file or garbage? To delete a spam DLL file, follow these steps:

Open Registry Editor.

Expand the hkey_local_machinesoftwaremicrosoftwindowscurrentversionshareddlls sub-key ,.

The project under this sub-key is the shared DLL information added to the registry after the application is installed, the key value of each DLL file indicates the number of applications that share the DLL file (that is, the number in the rightmost brackets in the figure ). When you uninstall these applications, a prompt box is displayed, "XX files are shared by other files. Are you sure you want to delete them ". Here, if the value corresponding to a DLL file is 0, it indicates that no program has applied the DLL file. This is the junk DLL file and you can delete it directly.

In addition, you will also find some previously used but deleted file paths here. Their values may not be 0, but they can also be deleted.

Clear the spam information for installing and detaching an application:

Most applications have their own uninstall programs, or they can provide uninstall information for [Add/delete programs] in the [Control Panel. However, sometimes the uninstallation information or file is damaged, and the uninstallation Wizard cannot be called; or some users do not know how to use [Add/delete programs], you only need to select the folder of the program and click [delete. In this way, information about the program still exists in the registry, including the manufacturer, ID number, and user name. These useless information is accumulated over time, resulting in a huge registry size. In fact, you can directly delete them using the Registry Editor.

They are located under the hkey_current_usersoftware and hkey_local_machinesoftware subkeys. If they are Microsoft-produced software, they are included in Microsoft primary keys. If you are sure that the software has been deleted, you can delete all its key values.

Clear useless information generated by system software during installation and running:

Generally, system software is intended for users in all countries around the world. To meet the needs of users in different regions, system software provides multiple time zone selection and multiple languages.Code, A variety of keyboard layout and a variety of drivers. However, as long as you are a user in a region, you only need to retain the part of the information you use. Other information is not needed and it looks very cool to view it every time. Clearing useless information can reduce the Registry volume and speed up system operation.

Delete unnecessary time zones: the hkey_local_machinesoftwaremicrosoftwindowsntcurrentversiontime zones branch stores various time zone settings. Once opened, you only need to retain the Beijing time China Standard Time.

Clear country list: hkey_local_machinesoftwaremicrosoftwindowscurrentversiontelephonycountry list stores the country list of the system. You only need to keep the 86 folder "People's Republic of China.


Clear the redundant language code table: The hkey_local_machinessystemcurrentcontrolsetcontrolnlslocale branch stores various language code settings of the system. Retain "English (USA)" (Code: 0409), "Chinese (China)" (0804), and "Japanese (Japan)" (0411) (If you want to play Japanese games.


Delete unnecessary keyboard layout: The hkey_local_machinesystemcurrentcontrolsetcontrolkeyboard layouts branch stores various keyboard layout settings of the system. Open each key value and retain the required input method.


Clear unnecessary window color schemes: the hkey_current_usercontrol panelappearanceschemes branch stores various window color schemes provided by the system. You can retain the required schemes, such as "Windows Standard" and delete the remaining ones.

Delete the program execution record in the "run": hkey_users.defasoftsoftwaremicrosoftwindowscurrentversionpolicerrunmru branch stores the program execution record in the "run" and deletes the following content.


Delete invalid file associations: the hkey_classes_root primary key can be roughly divided into two parts: the first part is used to define the file type, and the second part is one-to-one correspondence with the first part, used to record the application that opens the file. Generally, if there is no content under the command under the key after the suspicious sub-key in the second part is opened, the key is blank and can be deleted.

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.