Classic skills: all problems can be solved without reinstalling XP system (1)

  

Windows XP is an operating system that is commonly used at present, and its stability and ease of use are unquestionable. But it also has a headache like a person, and there is a "cold" symptom. It is not uncommon to have a bad cold when it is serious. At this time, many people will think of reinstalling the system, but the reinstallation system has One of the biggest troubles is that you need to back up before, otherwise it is very difficult to restore to the previous usage habits. Once you encounter a system that can't start up, you don't have a chance to back up. What should you do? I am here to give you a better answer.

I. Windows environment

If your computer can also enter the Windows environment, then congratulations, in this case, even if there is a problem in the system, it will not be a big problem. In this case, the following methods usually appear:

1. Unzip some important files from the installation CD

If Windows XP has already entered, but found some files missing, The most common is the loss of Rundll32.exe. Here is an example of restoring this file: Click "Start" /"Run", enter expand x:\\i386\\Rundll32..ex_ c:\\windows\\system32\\Rundll32.exe in this window (x stands for CD-ROM drive) The drive letter, rundll.ex_ represents the file that needs to be decompressed, c:\\windows\\system32 refers to the target folder, which should be determined according to the specific situation), and the lost file can be restored to the system. Of course, you can also copy the file directly from the other normal running machine to the corresponding directory of the machine.

In addition, for the lost dll link file, you can also use Regsvr32 this program file to restore, you need to enter Regsvr32 a.dll (a.dll represents the missing link file) in the recovery window, back The file will be registered in the registry after the car, and then click "OK" in the pop-up dialog box.

2. DLL file recovery

The name of the DLL file is a dynamic link library file, generally exists in the Windows\\system32 folder, the file is lost or replaced, generally can also enter Windows However, when the application is executed, the system often reports an error. This type of error can usually be passed through Sfc (System File Checker). Sfc is a command line program that must be run under the Windows XP "Command Prompt" window. In order to implement multiple functions, sfc provides multiple parameters, using the format: sfc/parameter 1 /parameter 2..., each parameter Use a space to separate them. Here are a few of the main parameters for you to use:

/scannow: used to scan all protected system files, is also a widely used parameter, it is mainly through the correct system files Replace the wrong system file. This parameter can also put the latest version of the protected system file into the DLLCache folder, and may require the Windows XP installation CD and its patch file during the operation. If you do not have the CD, you will back up the installation file on the hard disk. You can do this by modifying the registry. In the Run window, type Regedit to enter the Registry Editor window, find the HKey_Local_Machine\\software\\Microsoft\\Windows\\CurrentVersion\\setup item, and modify the Installation Sources, ServicePacksourcePath, and SoutcePath keys in the right window to install the system on the hard disk. The program path, so you don't have to insert the Windows XP installation CD when you fix it.

/scanonce: Scan the protected system files on the next boot, and also read the installation CD and patch files. This command is often used when an error occurs in the /scannow command.

/scanboot: Scan the protected system files every time you start the system, which may greatly reduce the startup speed, generally not used, the same as the /scanonce parameter.

/purgecache: used to clear the file cache (this file is under %systemroot%\\system32\\dllcache by default) and immediately scan all protected system files, often followed by " /cachesize=x" parameter, this parameter is used to set the file cache size, in MB, this parameter can save hard disk space if set small, if the settings are larger to protect the system files, it may be restored as much as possible More system files.

Under normal circumstances, you can restore the system files by executing sfc/scannow. The time is usually about 10 minutes.


Copyright © Windows knowledge All Rights Reserved