SQLite Forum

Serious Sqlite command line Problems after Windows 10 update
Login
sfc does not actually do much of anything.  You need to run DISM.

```
Dism /Online /Cleanup-Image /StartComponentCleanup
Dism /Online /Cleanup-Image /RestoreHealth
sfc /scannow
```

from an Administrative command prompt.

If any errors are reported then once finished the last command, restart at the beginning again.  Repeat until success achieved (if you still get errors after three times around the merry-go-round, your Windows image is either hosed beyond repair *OR* Microsoft is hosed beyond repair (which has happened several times)).  

Note that you need an Internet Connection in order for these to work since they need access to MITC (Microsoft In The Cloud) in order to work (or, alternately, a clean and slip-streamed install media that you make yourself, which is difficult for most mortals since you need to start from a "real CD image" -- which you cannot obtain except from Microsoft itself or by diddling with the Browser User-Agent string so that it can download an ISO rather than the "media creator" garbage (which does not create a proper install image) -- or download on your nearest "media creator" and ActiveX incompatible system such as your nearest IBM Mainframe or OS/2 machine).

Some errors cannot be repaired by DISM, though most can.