1, first we confirm that the Windows XP system installation files on that disk, we assume that the installation file in C, and then use the key combination (Win key +r) Open the Run window, and enter "regedit" and then click the "OK" button to open the Registry Editor, as shown in the following figure:
2, in the Registry Editor window expand Hkey_local_machinesoftwaremicrosoftwindowscurrentversionsetup Primary Key, find Cdinstall on the right and double-click to open its Modified key value window, Change its key value to "0" and then click the "OK" button, as shown in the following figure:
3, and then double-click ServicePack SourcePath and SourcePath to open the edit string, set the numeric data to "C:XP" in the pop-up Edit String window, and then click OK, as shown in the following figure:
Complete the above modification settings, then open the Run window and enter Sfc/scannow press ENTER to perform the XP system automatically repair files, this time will not be required to put the disc. Here's a detailed operation to automatically repair the damaged file without the CD-ROM Windows XP system.