What does Dism /Online /Cleanup-Image and sfc/ Scannow actually do?

Aktiffiso

Level 8
Thread author
Verified
Aug 24, 2013
395
Hi i see in some forums a users who use that comands i want to know what exactly does and what exactly repairs. Some people says it only repairs windows update . I read and think they repair whole system. What they do

. Dism /Online /Cleanup-Image /RestoreHealth

sfc/ Scannow
 
  • Like
Reactions: Marko :)

harlan4096

Moderator
Verified
Staff Member
Malware Hunter
Well-known
Apr 28, 2015
8,635
Sorry, as my main language is Spanish, Microsoft websites show me them in Spanish by default and automatically...

In the 1st link just changed es-es by en-en, and in the second, at the left bottom You have a setting to change the language :)
 

Marko :)

Level 20
Verified
Top Poster
Well-known
Aug 12, 2015
954
As far as I know, sfc /scannow attempts to fix corrupted system files from Windows Component Store and it doesn't require internet connection. Dism /Online /Cleanup-Image /RestoreHealth attempts to fix corrupted system files from Windows Update therefore internet access is required.

If you ever encounter problems, you should run sfc /scannow first and if it doesn't succeed, then run Dism /Online /Cleanup-Image /RestoreHealth. When Dism command is done, just run sfc /scannow again and restart PC. That's it! :)
 

Aktiffiso

Level 8
Thread author
Verified
Aug 24, 2013
395
It meqan for example if i delete system files or damange the config i can use sfc to repair offline and dism to repair online?
 

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top