What should I do if the Win8 system file is damaged or lost? Solution for Win8 system file corruption or loss

  

Solution: If this problem occurs, you need to find the damaged file and fix it.
Workaround:

First, take a look at the command file checker tool usage

1, use the key combination in win8 "CTRL + F & rdquo; open the search, or at the beginning Find the search on the screen and enter "CMD" and open a command prompt window as an administrator;


2. After opening the command prompt window and typing "ldf;sfc" /scannow & rdquo ;, and then press the Enter key or OK;

3, command sfc /scannow scan performed after all protected system files, and with positioned% WinDir% \\ System32 \\ dllcache compressed file Replace the corrupted file with a cached copy in the folder.

The %WinDir% placeholder represents the Windows operating system folder. For example C:\\Windows.

It takes a certain amount of time during the verification process. Before verifying 100% completion, do not close this “command prompt” window, and the scan results will be displayed after the process ends.

Second, after the scan is completed, the following messages will appear:

1. Windows Resource Protection cannot find any integrity conflicts.

This means that you do not have any missing or corrupted system files.

2. Windows Resource Protection cannot perform the requested operation.

To resolve this issue, execute the System File Checker in Safe Mode and ensure that the PendingDeletes and PendingRenames folders exist under %WinDir%\\WinSxS\\Temp.

3, Windows Resource Protection found corrupted files and successfully fixed them. The details are included in CBS.Log%WinDir%\\Logs\\CBS\\CBS.log.

To view detailed information about system file scans and restores, first review the details of the System File Checker process.

4, Windows Resource Protection found a corrupted file but could not repair some files. The details are included in CBS.Log%WinDir%\\Logs\\CBS\\CBS.log.

Third, if the user can't fix it through the SFC file checking tool, you can also try to use the DISM command, which requires networking.

Run the following command as an administrator:

DISM.exe /Online /Cleanup-image /Scanhealth

Note: This command means scanning all your system files and the official system. File comparison

DISM.exe /Online /Cleanup-image /Restorehealth

Note: This command means to restore those different system files to the official source files of the system, similar to reloading.

The advantage of this method is that after the system files are repaired, they will be restored to the official version of the source files, only the system files, other third-party software and user settings are completely reserved, of course, it takes 15-20 Minutes of time.

The above is a description of the solution to the corruption or loss of Win8 system files. According to the above method settings, the problem can be solved in time.

Copyright © Windows knowledge All Rights Reserved