SoFunction
Updated on 2025-04-14

Three ways to edit the registry

After understanding the basic content about the registry, we can officially enter the topic we are going to discuss: edit and modify the registry! Generally speaking, if you want to add, delete and modify the registry, you can have the following three ways:

The first method: direct modification (the most unsafe, but the most direct and effective)

It is to directly modify the key-value data items of the registry through the registry editor. Doing so will avoid leaving garbage in the registry (although they are very small, it will slow down the system speed more and more), but users are required to have a certain degree of registry knowledge, be familiar with the internal structure of the registry, and be careful.

Registry Editor is an advanced tool that allows you to change system registration settings. WIN98 Registry Editor is a high-level tool that allows you to change system registration settings. Experienced Windows users can change system settings by editing the registry.

The method to start the Registry Editor is to execute it under the Windows folder (also in WINNT and Windows 2000).

The following details are introduced in detail in the Win98 registry editor.

(I) Restore the registry

1. Click "Start", and then click "Close System";

2. Click "Restart the computer and switch to MS-DOS mode", and then click "Yes";

3. Enter the Windows directory. For example, if your Windows is installed in the C:\Windows directory, you should type the following content CD C:\WINDOWS and press Enter;

4. Type C:\WINDOWS\COMMAND\SCANREG/RESTORE in MS-DOS mode and press Enter.

Follow the above steps to restore the registry to the state when the computer was last started.

(II) Export all contents in the registry into a text file

1. Click "My Computer" in the registry editor to export all registry information, or click a folder to export only the registration information of the contents under that folder;

2. Click "Export Registration File" on the "Registration" menu;

3. Click "Browse" to find a storage location for the exported file, that is, a folder, and then enter a file for it and save it.

The registry information file exported in this way can be edited in any text editor.

(III), import or partial import registry

1. In the "Registration" menu, click "Import Registration File";

2. Click "Browse" to find the file you want to import, and then click "Open".

(IV) Add primary key

1. Open the registry list and find the folder where you want to add the primary key;

2. Right-click the folder to which the primary key is to be added;

3. Point the mouse to "New" under the "Edit" menu, and then click "Primary Key";

4. The new primary key is displayed with a temporary name. Enter a name for the new primary key and then press Enter; if the computer cannot start correctly after adding a new primary key, the registry information can be restored.

(V) Add key value

1. Open the registry list and select the folder where you want to add a new key value;

2. Right-click the folder where you want to add the new key value;

3. Point the mouse to "New" and click the type of key value that you want to add. These types include "string value", "binary value", and "DWORD" values;

4. The newly added key value is displayed as a temporary key value. Enter a new value for the newly added key value and press Enter.

The second way: software modification (safety). Use various tools and software to complete the editing of the registry

Use some special modification tools to modify the registry, such as MagicSet, TweakUI, WinHacker, etc. In fact, the control panel is such a tool, but the functions are simpler. The following is a brief introduction to several commonly used registry modification software (all of the software introduced below are available:

1. Super rabbit magic settings Magic Set. It is a system setting software similar to Tweak UI. It has more functions than Tweak UI and domestic similar software, and it is all in Chinese. It is specially designed for Chinese users: adjusting the order of input methods, modifying the current system language, modifying the "programs" and "documents" of the start menu, etc. Magic Set is a truly comprehensive system setting software, and modifying Win98 is easy to do. Starting from Magic Set V2.98, you can use all functions without registration. In line with the settings of new articles of Volkswagen software, your Win98 is truly a big boom!

①Really support OE5;

②Ability to copy or move files to a new directory when modifying the path of the system folder (such as favorites location);

③ Completely cooperate with Volkswagen Software's 2000 No. 2 and 3 articles: "Ultimate Guide to Windows 98", add all new settings: optimize MapCache, optimized hard disk background buffer acceleration Vcache, and restore the "sleep mode" option when shutting down the system;

④ Clear all hard drives such as *.bak, *.tmp and other junk files;

⑤More advanced right-click menu modification;

⑥ Password detector;

⑦ Disclosing only registered users can use: advanced hidden functions, which can hide programs, favorites and other items in the start menu;

⑧Use one-change three input method to turn one input method into three.

⑨The software can already be used under Win2000. Download URL: http:///download1/

2. Regeneration medicine/Relive V1.03 184KB. In the daily operations of Windows 95/98, many software will write relevant information in the registry, such as: window location, registration code, software settings, file associations, date restrictions, etc. Even if these software are uninstalled, some garbage will be left behind, and the registry will become larger and the system will be slower.

When installing most software, COPY some DLL files in the system's SYSTEM directory, and generate INI files in the Windows directory. Even if they are uninstalled, they may not be deleted cleanly. In theory, they will not affect the speed of Windows, but they occupy unnecessary hard disk space, which is unpleasant. As long as we delete the information in the registry and these junk files, Windows can be a brand new look. There are many gadgets that can delete useless keys from the registry, but no program guarantees that the deletion operation is absolutely safe. The real absolute safe way is to restore the registry. This problem is easy to solve, but how to judge whether those files are redundant files and can be deleted? Relive is a small program written for this problem. Relive itself will not delete any files in Windows. It is mainly achieved by backing up and restoring the registry and ,. Download URL: http:///download1/

3. Super Rabbit Registry Optimization RegOpt V3.1 Simplified Version 453KB

It can find garbage in the registry of Windows 98 and clean it up, which surpasses Microsoft's RegClean 4.1a in functionality, and fixes the RegClean bug. The latest version can remove more registry junk and make your system truly clean. Errors and junk that can be scanned include: wrong classes, wrong menu sorting, wrong anti-installer, non-existent files, wrong Dll and Vxd files. Download URL: http:///download1/

4. Super Rabbit Registry Scan V3.3 Simplified Version 456KB

The Super Rabbit registry optimization software can find garbage in the registry of Windows 98 and clean it up. Its functions exceeds Microsoft's RegClean 4.1a, and also corrects the RegClean bug. The latest version can remove more registry junk and make your system truly clean. Errors and junk that can be scanned include: wrong classes, wrong menu sorting, wrong anti-installer, non-existent files, wrong Dll and Vxd files. The new version has added system optimization functions and is equipped with an operating interface in three languages. In addition to being suitable for Win95/97/98, V2.9 can also be used under the latest Win2000, which will definitely make your system truly optimized. Download URL: http:///download1/

5. Register Terminator V2.7 Full Version 953KB

The software belongs to a registry modification software! Use this software to easily modify the Windows 98 system settings, allowing you to further control the operating system, expand the functions of Windows, and facilitate your daily application operations and management. (Make you easily become a master of modifying the registry) Author: It is mainly aimed at the currently popular second edition programming of Windows 98, and it is also applicable to the first edition! Download URL: http:///download2/regend2.

6. Mickey Mouse Registration For Weight Loss V1.6 215KB

Quickly clear registry junk and automatically backup before cleaning. You can delete unused time zones, areas, keyboard layouts, login software, and Windows appearance solutions. Download URL: http:///download2/

7. Magic Registration Form 562KB

This software is a registry modification software! Use this software to easily modify Windows 98 system settings, making you an registry expert immediately! This software is compiled in Microsoft Visual C++. The entire software only needs an executable file to run, a true "green" software. Download URL: http:///download2/

8. Registry Vacuum Cleaner V0.60 136KB

"Registration Vacuum Cleaner" can not help you reduce the registry much, but it can help you solve many practical problems. It can help you "suck" the garbage in the registry to make your software work properly. Some software may need to be reinstalled, but sometimes the garbage in the registry is not removed, and even reinstalling it will not solve the problem. I hope you like this software. It can help you find and clear the wrong file type, the wrong type library (TypeLib), the wrong controls registered, the wrong program identifier (ProgID), etc. You can freely choose whether to delete each error item and see the reason for the error. Download URL: http:///download2/

V2.8 Build 632 114KB

It can report to you in detail about the modifications and changes in the registry and other system-related projects. RegSnap's comparison report on the system is very specific. It can report on the registry which keys have been modified, what are the values ​​before and after the modification; which keys have been added and deleted and the values ​​of these keys. The report results can be displayed in plain text or html web pages, which is very easy to view. In addition to the system registry, RegSnap can also report other situations of the system: changes in the files under the Windows system directory and the system system subdirectory, including deleting, replacing, and adding; changes in the Windows system configuration files and content, including deleting, modifying and adding; whether the automatic batch file has been modified. The software can easily restore the registry when needed, you can directly call the regedit program to view or modify the registry, and you can also view the machine name and user name of the current machine. Download URL:

2000 V5.7 567KB

Customizer 2000 allows you to adjust registry information through a secure graphical interface. This software allows you to browse and change many secret settings in Windows 98, and each setting that can be modified will have some simple instructions. Download URL: http:///download2/

V3.3.3 1442KB

CleanReg3 helps you sweep all useless files in your system. The difference between CleanReg3 and the general system login file modification tool software is that it does not really remove these login settings immediately, but first displays the files currently in your system with errors, and then you can choose to manually choose whether to ignore these useless files or remove them. Download URL: http:///download2/

V4.0.0.5 990KB

It is a tool software that assists users in organizing registry. You must have a certain understanding of the registry before you can judge how to use it to remove the garbage in the registry. It is a tool designed for experts. Download URL: http:///download2/

V2.0 (official version) 94.1KB

Function: It is convenient for you to change the registry, even if you don’t understand the changes to the registry at all! You just need to select the project you need to change and then click Change. Version 2.0 has added many new features and improved other functions. After the author's unremitting efforts, the official version has finally been released! This software is free software! Download URL: http:///download1/

V4.32 Win95/98 66KB Download URL: http:///download2/

Regmon V4.32 Win NT/2000 66KB Download URL: http:///download2/">

Regmon (Registry Monitor) is an excellent registry database monitoring software. It records all operations related to the registry database (such as reading, modification, error information, etc.) for users' reference, and allows users to save, filter, search and other processing of recorded information, which provides users with great convenience for the system maintenance.

Perfect Companion V3.7.04 1677KB

Perfect Companion includes two tools: SnapShot can scan and snapshot system files before you install the software. When the software installation is completed, it will report to you which files have changed, those files have been overwritten by old version files, or which files have been added/deleted to the system. Registry Cleaner can remove useless garbage in the registry. It can scan all Class IDkeys and then scan system files to find useless information. For security reasons, the software also provides Undo functionality. VB5 Runtime is required first. Download URL: http:///download2/

Companion V3.7.04 Win9x/Me 1679KB Download URL: http:///download2/

Perfect Companion V3.7.04 WinNT/2000 1677KB Download URL: http:///download2/

It includes two tools: SnapShot can scan and snapshot system files before you install the software. When the software installation is completed, it will report to you which files have changed, those files have been overwritten by old version files, or which files have been added/deleted to the system. Registry Cleaner can remove useless garbage in the registry. It can scan all Class IDkeys and then scan system files to find out the useless information. For safety reasons, the software also provides Undo functionality.

Cleaner V2.0.1.5 711KB

Tool to clear unnecessary records in the Windows registry. Download URL: http:///download1/

Compare V1.30 664KB

Every time a new set of programs is installed on the computer, do you know what changes it has made to the system registry? Use Registry Compare to take a snapshot of the system registry before installing the program. After installing the program, go back to Registry Compare and take another snapshot. Registry Compare will list the previous and subsequent system registry differences for your reference. Download URL: http:///download2/

Tools V2.01 832KB

Most Windows users should know that the Windows registry is quite important. Usually, the installer or anti-installation software will be changed to the registry. Experienced users will back up the registry in advance and can be used to restore it when they cannot enter Windows. Although there are many ways and tools to back up the Windows registry, RegistryTools still has its unique features. RegistryTools has an easy-to-use graphical operation interface, which includes three main functions: Backup Registry, Restore Registry, MakeFIX-ITDisk! and other functions. Just use a mouse to click on the RegistryTools graphical operation interface to back up, restore the registry or create an emergency repair magnetic film. Download URL: http:///download2/

Optimizer V4.0 52KB

Windows will change the system configuration file (and ) due to installation and removal of software or hardware. Over time, the configuration file will become larger and messy due to installation and removal, which will also affect the normal operation of the system. This is one of the main reasons why Windows will crash after using it for a while. Registry Optimizer can optimize the Windows system configuration file. After a period of optimization, the system configuration file can be reduced (and ) but it does not affect the normal operation of the system. It can make the hard disk more space and make the system run smoother. Download URL: http:///download1/

The third way: programming

Although Microsoft provides a registry editor program to change the settings in the system registry, if you don’t fully understand the registry, it may cause a big disaster - serious may cause system paralysis; although we still have the tools and software mentioned above that can help us handle the registry, it may still not meet some of our special requirements for the registry. For example, when we compile an application, how do we write the application's settings information and related data into the registry when installing the program?

In this case, this requires us to understand how to operate the registry through a program and write or delete related information. Programmers hope to control it in the application, so a third method emerged: write the program yourself.

As long as you read all the above content of this topic carefully, as long as you are interested in writing programs, you should continue reading. It will teach you how to do all the registry-related issues as you like.

Many commercial software or professional software will be installed and run correctly by rewriting the registry for the first time on your machine. If you dream of becoming a programming expert, of course you need to master the technology of reading and writing registry. Making good use of the registry will add a lot to your application.

I believe that you have gained a deeper understanding of the registry through the introduction of the previous topic. The system has six predefined keywords (root keys), which are the entry points for users or systems to access the registry. We only use the first four keywords. When programming, we usually use the two keywords HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE, because the data related to the application exists under these two keywords.

The following will introduce you in detail how to operate the registry through a program. Please see the "Preparation knowledge required for programming" and "Programming Examples for Solving Registry Issues".