Repair MSFT Windows Operating System

Note: 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 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.

Backup all data before attempting any of the following:

Open an elevated Command-line shell:

  1. Press and release the windows logo key on the keyboard
  2. Type cmd
  3. Click Run as administrator
  4. Click Yes on the User Account Control dialogue box
  5. Type the following:
  6. DISM.exe /Online /Cleanup-image /Restorehealth
  7. May take several minutes to complete, depending upon system setup.

Related articles:

https://www.youtube.com/watch?v=xtWCBiTIjyI

https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/use-dism-in-windows-powershell-s14

https://learn.microsoft.com/en-us/troubleshoot/windows-server/deployment/fix-windows-update-errors

https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-reference--deployment-image-servicing-and-management

System File Checker:

Note: It is not recommended to run this on a daily bases, as read and write will wear down the storage device.

Note: 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

Open an elevated command-line shell:

  1. Press the Windows logo key on the keyboard,
  2. Type cmd
  3. Click Run as administrator
  4. Click Yes on the User Account Control dialogue box
  5. Type either step 6 or step 7, depending upon your scenario/situation:
  6. sfc /scannow.
  7. sfc /verifyonly

Note: This will replace or repair corrupted or missing system files and dynamic link library files. Backup all data before attempting.  Depending upon system setup, it may take several hours to complete.

Related articles

https://www.lifewire.com/scan-and-fix-your-hard-drive-3506877

https://learn.microsoft.com/en-us/windows/win32/wfp/system-file-checker

https://learn.microsoft.com/en-us/troubleshoot/windows-server/deployment/system-file-checker


Comments

Popular posts from this blog

Critical Race Theory & Legal Doctrine

How to remove/uninstall Microsoft Windows Store applications