When the process completes, type sfc /scannow and press Enter.ĬHKDSK is another Windows system tool that checks your file structure. The process seems stuck at certain times, but wait for it to complete. The process can take up to 20 minutes, depending on your system's health. Type the following command and press Enter: DISM /online /cleanup-image /restorehealth Type Command Prompt (Admin) in the Start menu search bar, then right-click and select Run as administrator to open an elevated Command Prompt.