People who have used Windows 9x have seen the following prompts:
Please wait while Setup updates your configuration files.
This may take a few minutes ......
This is a normal phenomenon after a software or hardware driver is installed and Windows is restarted as required by the installation program. It will never be associated with viruses. This article will tell you the truth, if the above information appears for no reason when your machine is started, hurry to find the latest anti-virus software!
What is Windows doing now? In fact, it is executing wininit. the Command provided by INI, wininit. INI is a little-known file. It is mainly used to delete, rename, and update files that cannot be subjected to these operations during windows running. It has a very short time, so it seems a bit mysterious.
Wininit file worker
As we all know, in windows, if an executable file is running or a library file (*. DLL ,*. vxD ,*. sys, etc. For example, you cannot delete/Windows/assumer.exein the resource manager. In Windows, some files are directly under this state, except for assumer.exe, and display driver library files, file subsystem library files, etc. If you want to upgrade or modify these files, it must be performed before the Windows protection mode core is started. Therefore, Windows provides. an INI file mechanism to complete this task. This mechanism is to delete or rewrite the applications of such files and write the commands into wininit in a certain format. ini. When Windows restarts, it searches for wininit in the Windows directory. if the INI file is found, follow the command to delete, rename, and update the file. After the task is completed, wininit will be deleted. the INI file itself continues the startup process. Therefore, commands in the wininit. ini file are executed only once, and there is usually no trace of the commands in the column directory.
The format of the wininit. ini file is described as follows:
Windows 95 Resource Kit mentioned wininit. the INI file has three possible segments, but only describes the usage of the "RENAME" segment. Although it is named "RENAME", it can delete, rename, and update files. The format is:
[Rename]
......
Filename1 = filename2
......
The Line "filename1 = filename2" is equivalent to executing the "Copy filename2 filename1" and "del filename2" doscommands in sequence.
At startup, Windows will overwrite filename1 with filename2, and then delete filename2. This achieves the goal of using filename2 and updating filename1. If filename1 does not exist, the actual result is to change filename2 to filename1; to delete a file, set filename1 to NUL. For example:
[Rename]
......
Nul = filename2
......
Filename2 will be deleted.
The above file names must contain the complete path. Note: Since wininit. ini files are processed before being transferred to the Windows File System, long file names are not supported.
Wininit. there are a lot of INI applications, in addition to often used in software and hardware installation programs, as well as software and hardware uninstallation programs, such as: Suppose you want to write an uninstallation program for your own software, the uninstallation program itself cannot be deleted by itself, because it is running while trying to delete itself. To clear the uninstall program itself, you must use the wininit. ini file. By the way, in the final stage of Windows installation, the wininit. ini file is used to clear and rename the files used by setup.
Use wininit. ini to completely remove viruses
Virus removal on Windows may cause similar problems. How do I clear viruses in a running or open infected file? Learn about wininit. the working mechanism of INI files. We can design anti-virus software in this way: when detecting that a infected file cannot clear the virus because it is being opened or executed, copy it, and the copy is de-infected. Then create a wininit in the Windows directory. INI file (check wininiti. whether the INI file exists), create a [rename] segment, and add a row: infected file name = replica file name; continue cleaning the virus. If a similar file is found, add another row under [rename, after scanning is complete, we strongly recommend that you restart or simply force restart to execute wininiti. INI completes the entire detoxification process.