What's new

Issue with Dism/Online/Cleanup-Image/RestoreHealth

pbm5362

Member
Member
I am trying to use dism/online/cleanup-image/restorehealth tool in an elevated command prompt to fix corrupt files that sfc/scannow is unable to repair. I keep getting this error message below:


Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>dism/online/cleanup-image/restorehealth
Deployment Image Servicing and Management tool
Version: 6.2.9200.16384

Error: 87
The online/cleanup-image/restorehealth option is unknown.
For more information, refer to the help by running DISM.exe /?.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

C:\WINDOWS\system32
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    PC/Desktop
    System Manufacturer/Model
    HP Pavilion P6-2120
    CPU
    AMD A6-3620 APU
    Memory
    6 GB DDR3 ram
    Graphics Card(s)
    AMD Radeon HD 6530D
    Hard Drives
    ST10000DM 003-9&N162 SATA Disk Device @ 1TB and WD My Book Essential External Hard Drive @ 1TB
    Browser
    Internet Explorer 11
    Antivirus
    Windows Defender, Malwarebytes Pro

Brink

Administrator
Administrator
mvp
Hello pbm, and welcome to Eight Forums.

No worries. You are just entering the command incorrectly. It should be this below with the spaces instead:

Dism /Online /Cleanup-Image /RestoreHealth

http://www.eightforums.com/tutorials/26512-dism-fixing-component-store-corruption-windows-8-a.html


Just to note, that dism doesn't repair corrupt files. Instead it fixes the component store that SFC uses to fix corrupted files instead.
Hope this helps, :)
Shawn
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 970 EVO Plus M.2,
    250GB Samsung 960 EVO M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone

dskiller

Gamer/Power User
Member
"Just to note, that dism doesn't repair corrupt files. Instead it fixes the component store that SFC uses to fix corrupted files instead."


not trying to contradict you.
But I havent been able to understand this because

I ran sfc /scannow and got results saying it found corrupted files but couldnt replace them.

I ran dism and after it finished, ran sfc scannow and got results that there was no corrupted files and everything was fine, which means that the problem was fixed before sfc even ran. even the cbs log said everything checked out fine.
 

My Computer

System One

  • OS
    windows 8.1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    thermaltake
    CPU
    intel 2600 4ghz to 4.20ghz
    Motherboard
    gigabyte p67-d3-b3
    Memory
    16gb 1900mhz
    Graphics Card(s)
    Nvidia 780 gtx + nvidia 580
    Sound Card
    sound ZxR
    Monitor(s) Displays
    asus hdmi 24inch
    Screen Resolution
    1080p
    Hard Drives
    3x 2tb drivers
    PSU
    850 watts
    Case
    Thermtake V9
    Cooling
    very powerful fans
    Keyboard
    sidewinder x4
    Mouse
    logitech G5
    Internet Speed
    100
    Browser
    chrome,firefox,ie
    Antivirus
    Avira

Brink

Administrator
Administrator
mvp

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 970 EVO Plus M.2,
    250GB Samsung 960 EVO M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone
Top