24 Mart 2016 Perşembe

Restoring System Health in Windows Environment

A short note about corrupted dll's in windows environment... Two life saver TOOLS to be run consecutively within an elevated command prompt:

DLL: Dynamic Link Library
SFC: System File Check
DISM: Deployment Image Servicing and Management

sfc /scannow
Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:[Full Path to install.wim file]:1

OR

(To prevent DISM from using Windows Update for online images)

Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:[Full Path to install.wim file]:1 /limitaccess

For example:

Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:X:\sources\install.wim:1

Where "X" is the drive letter of the Windows 10 installation media OR mounted ISO image of that media. You may find a complete tutorial here(1) and here(2) (read this one for a complete list of potential issues).

IMPORTANT: PLEASE DOWNLOAD A WINDOWS 10 ISO IMAGE FROM THIS LINK OR USE ORIGINAL WINDOWS INSTALLATION MEDIA AS THE SOURCE. ISO IMAGES CREATED WITH THE "MEDIA CREATION TOOL" OFTEN FAIL TO RESTORE HEALTH. DETAILED INFORMATION CAN BE FOUND IN LINK (2) ABOVE.

After the DISM command is completed successfully type;

sfc /scannow

again and restart.


SFC & DISM will save your day almost in any occasion unless your computer is infected with malware. Do not waste time searching for the origin (real cause) of the problem.

Good luck!