XP system automatically repairs damaged files

  

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

In fact, you can completely modify the registry and let the system automatically repair 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