Let Win XP system automatically repair damaged files

  

When the Windows XP system file is damaged, the system will always prompt us to put the CD into the system file for repair. I also often encounter this kind of problem, how to solve this problem?

In fact, you can completely modify the registry, so that the system automatically repairs through the Windows XP installation files on the hard disk. This will avoid placing the disc.

Here's how: Assume that the Windows XP installation files are under D:\\XP. Modify the registry [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup] primary key.

First change the CDInstall key-value data to 0 on the right. Then change the service key SourcePath and SourcePath to D:\\XP.

Then run sfc /scannow again. The system will automatically repair the system files. It does not require a disc to be placed.


Copyright © Windows knowledge All Rights Reserved