Check the Health of your Hard Drive and file System

I found this helpful if you are having an intermittent problem with programs and files.

To check to see if you have a problem you can run       sfc /verifyonly      in the command prompt to see if you have a file problem.
Also try this in the command prompt        perfmon /report        

This will give you an idea if you have a file problem.


1. Check your drive for errors.

1. Open up File Explorer
2. Right click on your C drive and select Properties.
3. Click on the Tools tab.
4. On the Error checking section click on Check and let it complete.

2. Run a "DISM /Cleanup-Image" to check if the image has been flagged as corrupted by a failed process.

1. Open up the Command Prompt (admin), to find the program do the following.

1. If you are running Windows 10 Creators Edition just right click on the start menu and select Command Prompt (admin).
2. If you are running Windows 10 Creators Edition Fall update you have to go to settings, personalization, taskbar, and turn off Replace Command Prompt with Windows PowerShell. You then can do step 1 in this section.
3. Paste the following in the Command Prompt window and press enter.
Dism /Online /Cleanup-Image /CheckHealth

3. Also in the Command Prompt paste     sfc /scannow    and press enter. It will check the operating system and repair or replace any corrupt file.

I find it best to reboot after preforming the above tasks.


Type in at the prompt OR Copy and Paste these one at a time : (Hit enter after each)

Dism /Online /Cleanup-Image /CheckHealth

Dism /Online /Cleanup-Image /ScanHealth

Dism /Online /Cleanup-Image /RestoreHealth

Also run the System File Checker utility:
Open Start, type: CMD
Right click CMD
Click Run as administrator

At the Command Prompt, type: sfc/scannow

This will check for any integrity violations

Restart your system


Using System File Checker in Windows 10

Content provided by Microsoft

System File Checker is a utility in Windows 10 ?that checks for system file corruption. It's recommended for advanced users. To run it:

1. In the search box on the taskbar, enter Command Prompt. Press and hold (or right-click) Command Prompt (Desktop app) from the search results and select Run as administrator.
2. Enter       DISM.exe /Online /Cleanup-image /Restorehealth        (note the space before each "/"). (Note: This step may take a few minutes to start and up to 30 minutes to run and complete.)
3. Enter sfc /scannow (note the space between "sfc" and "/").


Repair Windows


1. If you are running Windows 10, Windows 8.1 or Windows 8, first run the inbox Deployment Image Servicing and Management (DISM) tool prior to running the System File Checker. (If you are running Windows 7 or Windows Vista, skip to Step 3.)
Type the following command, and then press Enter. It may take several minutes for the command operation to be completed.

DISM.exe /Online /Cleanup-image /Restorehealth

Important: When you run this command, DISM uses Windows Update to provide the files that are required to fix corruptions. However, if your Windows Update client is already broken, use a running Windows installation as the repair source, or use a Windows side-by-side folder from a network share or from a removable media, such as the Windows DVD, as the source of the files. To do this, run the following command instead:

DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess

Note: Replace the C:\RepairSource\Windows placeholder with the location of your repair source. For more information about using the DISM tool to repair Windows, reference Repair a Windows Image.

3. At the command prompt, type the following command, and then press ENTER:
sfc /scannow

The sfc /scannow command will scan all protected system files, and replace corrupted files with a cached copy that is located in a compressed folder at %WinDir%\System32\dllcache.

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

Note Do not close this Command Prompt window until the verification is 100% complete. The scan results will be shown after this process is finished.

4. After the process is finished, you may receive one of the following messages:

" Windows Resource Protection did not find any integrity violations.

This means that you do not have any missing or corrupted system files.
" Windows Resource Protection could not perform the requested operation.

To resolve this problem, perform the System File Checker scan in safe mode, and make sure that the PendingDeletes and PendingRenames folders exist under %WinDir%\WinSxS\Temp.
" Windows Resource Protection found corrupt files and successfully repaired them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

To view the detail information about the system file scan and restoration, go to How to view details of the System File Checker process.
" 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.

To repair the corrupted files manually, view details of the System File Checker process to find the corrupted file, and then manually replace the corrupted file with a known good copy of the file.