Windows can also repair damaged files without relying on CD-ROM

  
This course will share with you the CD-ROM automatically repair damaged files. After learning, everyone can find the answer to the question smoothly.
Problem Description:
The system unexpectedly restarts or shuts down illegally, and the system file is damaged. The system will always prompt us to put in the Windows XP CD for system file repair. I also often encounter this kind of problem. How to solve this problem?
Cause analysis:
In fact, you can use the following content to reply to see the modification of the registry, so that the system automatically repairs through the Windows XP installation files on the hard disk. This way you can avoid putting the disc.
Workaround:
Assuming the xp installation file is 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