How can I repair a damaged system without a system disk

  
        

Unexpected restart, installation of incompatible software, malicious program intrusion, accidental deletion of files... There are too many possibilities to damage our system files, and the most direct performance of system files is that the system does not Stable, often errors, etc. In the Windows 98 era, it is relatively simple to deal with this situation, put the installation CD and then run SFC (System File Check, system file check program), restore the damaged system files on the line, but in the Windows 2000/XP era, this The repair method becomes complicated, because the system is often upgraded online, and the system files in the original installation CD have become the old version. Without a CD, how should I repair a damaged system?


Click "Start → Run", enter "sfc /scannow" and press Enter to start checking the system file. When SFC detects that a system file has been replaced or lost, it will prompt to insert Windows. XP installation CD to repair (see Figure 1), then you may need to rummaging through the Windows XP installation CD, which is the first big problem with SFC. Many friends directly copy the installation files on the Windows XP CD to the hard disk. Is it possible to use SFC to directly use the Windows XP installation files on the hard disk when repairing system files?

For example, if you have backed up the Windows XP installation files to the E:\\winxp directory, run regedit to open the "Registry Editor" and navigate to the [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup] primary key. On the right side, change the "CDInstall" key value data to "0", and then change the values ​​of the two key values ​​"ServicePackSourcePath" and "SourcePath" to "E:\\winxp".

When you run the "sfc /scannow" command later, you will find that it can completely repair the system files automatically, and no longer insert the CD prompt.

Tip: Run CMD to open the "Command Prompt" and enter the "sfc /?" command to view the detailed parameters of the "System File Checker". In addition, many command-line programs under the "command prompt" can use this parameter to view detailed parameters, such as "-?" and "/help".

Copyright © Windows knowledge All Rights Reserved