- #Command prompt windows 10 boot repair how to
- #Command prompt windows 10 boot repair full
Type the following command to start the diskpart tool and press Enter:
Select your account in the Advanced startup options. (After selecting the option, the device will reboot.) Under the "Advanced startup" section, click the Restart now button.Ĭlick on Command Prompt. To repair Windows 10 using SFC with the offline option, use these steps: #Command prompt windows 10 boot repair how to
How to repair Windows 10 with System File Checker offline This option is only available when performing a scan within Windows 10, not when performing an offline scan with Command Prompt.
Under the "Devices and drives" section, open the Local Disk (the "C" drive).ĭouble-click the sfclogs.txt file to open it with the default text editor app.Īfter you complete the steps, the log file will reveal all the scanned system files and information for the unrepairable files. Type the following command and press Enter:įindstr /c:"" %windir%\Logs\CBS\CBS.log > C:\sfclogs.txt" To view the details stored in the CBS.Log file from an SFC scan, use these steps: If you find problems running the tool, use this guide to use the Deployment Image Servicing and Management (DISM) tool to repair the local Windows 10 image files to allow SFC to complete successfully. When the tool detects an issue, it is recommended to run the command around three times to ensure that all the problems have been corrected properly. Once you complete the steps, the SFC command-line tool will scan, detect, and fix Windows 10 system file problems. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log – indicates you may need to repair the corrupted files manually. Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log – indicates that the tool detected problems and was able to fix them. Windows Resource Protection found corrupt files and successfully repaired them. Windows Resource Protection could not perform the requested operation – indicates a problem during the scan, and an offline scan is required. Windows Resource Protection did not find any integrity violations – indicates that the system does not have any corrupted or missing files. Type the following command to repair the Windows 10 system files and press Enter:
Search for Command Prompt, right-click the top result, and select the Run as administrator option. To repair an installation of Windows 10 using the System File Checker tool, use these steps: #Command prompt windows 10 boot repair full
It is recommended to make a temporary full backup of your PC before proceeding. Warning: This is a friendly reminder that editing system files is risky, and it can cause irreversible damage to your installation if you don't do it correctly. How to repair Windows 10 with System File Checker