Use the Windows XP installation disk to repair system files

Source: Internet
Author: User
If your Windows XP operating system file is damaged by viruses or other causes, I will tell you how to fix the system file, that is, the Windows XP installation disk is used to repair damaged files.

The recovery process is as follows:

Search for damaged files on the Windows XP installation disk. Note that the last character of the file name should be replaced by the bottom line "_". For example, if you want to search for movie notepad.exe, you must use "notepad. ex _ "to search.

After searching, open the command line mode (enter "cmd" in "Run") and enter "Expand full path of the source file to the target file ". For example, expand D: \ Setup \ notepad. ex _ c: \ windows \ notepad. EXE. Note that if there are spaces in the path, you need to include the path in double quotation marks (quotation marks.

The search is of course the best, but sometimes we cannot find the files we need in the Windows XP drive. One reason for this is that the file to be searched is in the "cab" file. Because Windows XP regards "cab" as a folder, for Windows XP, you only need to drag the "cab" file right and copy it to the corresponding directory.

If you are using another Windows platform, search for the "cab" file containing the target file name. In command line mode, enter "full path of the cab file in the target location of extract/L", for example, extract/l c: \ windows d: \ i386 \ driver. Cab notepad.exe. As before, if there is space in the path, you need to use double quotation marks to include the path.

Use the built-in functions of Windows XP to repair the system

The following describes how to fix Windows XP Professional.

A. When you use the Windows XP system repair function, restart the computer and put the Windows XP system installation CD into the optical drive, when the screen displays the message "press any key to boot from cd" (press any key to start booting from the disc), press any key, for example, "enter.

B. When the screen displays "Windows XP Professional InstallationProgramWhen you use the installer information, press Enter. Note that you cannot press the "r" key here. If you press the "r" key, the Windows XP system fault console repair program will be started.

C. In the displayed "Windows XP installation protocol, Windows XP Professional end user installation protocol" interface, press the "F8" key to agree to accept the license agreement.

The "Windows XP Professional installer" prompt appears on the screen. If any of the following Windows XP installations is damaged, the installer can try to fix it. The Windows XP installer is displayed in the list box below the window. If there are more than one, use the up and down arrows to highlight the system to be repaired, and then press the "r" key.

D. When the screen displays the "Windows XP Professional installer, which has tried to update the following Windows installations", press the "enter" key.

In this way, the Windows XP system will be automatically installed, and the installation time will be basically the same as the reinstallation system. The original system settings, installed software, and personal information will not change when you use the installed Windows XP operating system. In addition, you must use the Windows XP installation CD to fix and install Windows XP. Otherwise, you cannot log on to Windows XP even if the system is repaired successfully.

Repair damaged system files

If Windows XP system files are damaged by viruses or other causes, we can recover the damaged files from the Windows XP installation disk.

The specific method is as follows:

Search for damaged files on the Windows XP installation disk. Note that the last character of the file name should be replaced by the bottom line "_". For example, if you want to search for movie notepad.exe, you must use "notepad. ex _ "to search.

After searching, open the command line mode (enter "cmd" in "Run") and enter "Expand full path of the source file to the target file ". For example, expandd: \ Setup \ notepad. ex_c: \ windows \ notepad. EXE. Note that if there are spaces in the path, you need to include the path in double quotation marks (quotation marks.

The search is of course the best, but sometimes we cannot find the files we need in the Windows XP drive. One reason for this is that the file to be searched is in the "cab" file. Because Windows XP regards "cab" as a folder, for Windows XP, you only need to drag the "cab" file right and copy it to the corresponding directory.

If you are using another Windows platform, search for the "cab" file containing the target file name. In command line mode, enter "full path of the cab file in the target location of extract/L", for example, extract/LC: \ windowsd: \ i386 \ driver.cabnotepad.exe. As before, if there is space in the path, you need to use double quotation marks to include the path.

Fix the missing rundll32.exe File

 

The rundll32.exe program, as its name implies, is a 32-bit DLL file, which is an essential system file and cannot be executed without some of its projects and programs. However, due to its special nature, it is easy to be damaged. If you open some projects in the control panel, the following error occurs: "Windows cannot find the file 'C: \ windows \ system32 \ rundll32.exe '"error message (3), you can solve the problem through the following operations.

Step 1: insert the Windows XP installation disc into your optical drive, and then click "Start> Run ".

Step 2: Enter "expand X: \ i386 \ rundll32.ex _ C in the" run "window: run the \ windows \ system32 \ rundll32.exe command and press enter ("X" indicates the drive letter of the optical drive ).

Step 3: restart the system after the repair is completed.

, Alternative file loss repair methods

When such a fault occurs, a set of CLSID registration code is generally provided, instead of telling the user the name of the damaged or lost file, which often makes some cainiao feel overwhelmed. For example, the author runs "gpedit. when you run the MSC command to open the Group Policy, the "Management Unit initialization failed" Prompt window appears (4). clicking "OK" cannot open the corresponding group policy normally, after checking, it is found that gpedit is lost. DLL file, although the window does not prompt the file to be lost, but it is not difficult to solve such a fault.

In fact, the CLSID (class idoridentifier) Class Identifier prompt in the window is a clue to solve the problem, because each object will be assigned a unique identifier in the registry, in this way, we can find relevant clues in the registry. The specific method is as follows.

In the "run" window, run the "Regedit" command, and then click "Edit> Search" in the opened registry window ", enter the clsid id in the input box (in this example, the clsid id is "{8fc0b734-a0e1-11d1-a7d3-109f87571e3}"), and then select "inprocserver32" in the Search Class ID, next, double-click the "default" item in the window on the right. "% SystemRoot % \ system32 \ gpedit" will be displayed in "value data. DLL ", where gpedit. DLL is the file lost or damaged in this case. In this case, you only need to decompress the related files on the installation disc or copy them directly to the corresponding directory to completely fix the problem.

Solve ntldr file loss

When an operating system of a lower version is installed on a later version, ntldr files may be lost due to sudden power outages, when you log on to the system, an error message "ntldr is missing press any key to restart" appears, which can be resolved in the "fault recovery console.

Go to the fault recovery console, insert the Windows XP installation CD, and enter "Copy X: \ i386 \ ntldr C: \ "command and press enter (" X "is the drive letter of the optical drive), and then run the" copy X: \ i386 \ ntdetect.com c: \ "command. If you are prompted to overwrite the file, enter "Y" to confirm and press the Enter key.

, Repair the damaged boot. ini file

When ntldr files are lost, most boot. ini files may also be lost or damaged. In this way, after the above ntldr repair operation is performed, you also need to execute the "bootcfg/redirect" command in the fault recovery console to recreate the boot. ini file. Finally, run the "fixboot C:" command, enter "Y" when prompted, and press Enter. In this way, Windows XP system partitions can be written to the boot sector. After executing the complete command, type the "exit" command to exit the fault recovery console. After the restart, the system can be restored.

Related Article

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.