sfc /scannow
Run the DISM Command to Fix SFC Problems
On Windows 10, 8.1, and 8, the Deployment Image & Servicing Management tool can fix component store corruption that prevents the SFC command from working properly.
To run this command, open a Command Prompt as administrator. Type the following command and press Enter. DISM will check your Windows component store for corruption and automatically fix any problems it finds.
DISM /Online /Cleanup-Image /RestoreHealth
v případě, že to končí chybou
DISM Error: 0x800f081f
použít tento postup:
->Download a copy of the
windows 10 iso at Windows 10 choose 32/64 bit depending on your system - POZOR toto ISO ale neobsahuje Install.wim, ale Install.esd!
Případné vytvoření Install.wim z Install.esd, který je v ISO souboru zde \sources\install.esd je příkazem:
Dism /Export-Image /SourceImageFile:c:\temp\install.esd /SourceIndex:1 /DestinationImageFile:c:\temp\install.wim /Compress:recovery /CheckIntegrity
S tím ale i tak následná oprava nefunguje!
Proto je ISO je vhodnější stáhnout odsud
https://www.microsoft.com/en-us/software-download/techbench - obsahuje už Install.wim a je připraveno i pro přidání k MDT
-> I then mounted this using windows 10 double clicking the iso puts it on a new drive letter
->In the mounted iso file find sources\install.wim this is in a strange esd format
->install NT lite add your install.wim(esd) file and convert it into a wim file place it somewhere on your harddrive I found making a easy to type path useful for later
->Start run cmd as admin
Dism.exe /online /Cleanup-Image /StartComponentCleanup
-> Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:Path:1 /limitaccess
Path being the complete path to the wim file like mine was e:\sources\install.wim
Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:J:\sources\install.wim:1 /limitaccess
pak znovu
DISM /Online /Cleanup-Image /RestoreHealth
a následně
sfc /scannow
a výsledek je

C:\WINDOWS\system32>sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection did not find any integrity violations.