davidhk129
Senior Member
- Joined
- May 19, 2012
- Messages
- 1,315
- Thread Author
-
- #1
I had read a few threads about ........
1. Error 87
2.That it is not applicable to Win 7.
Since I have 3 machines with different versions of OS, I decided to check it out.
On each machine, I ran sfc /scannow, then after that, dism.
I found a thing or 2 perplexing.....
On my Dell laptop running Win8.1.1 Pro, sfc found no intergrety violation, but dism said corruption was repaired successfully. ( see screenshot #1.)
On my Acer Iconia W3-810 tablet running Win 8.1, sfc found no integrity violation, but dism returned with error 87, restore health option is not recognized.( see screenshot #2).
Same result applies to my Acer Aspire Win 7 Home Premium SP1.(see screenshot #3).
Can someone clearify for me ?
I might be able to explain screenshot #1. A few days ago, sfc was unable to repair corrupt files. Dism did the repair job for me.
But, most importantly why the error code 87 ?
Screenshot #1 from Dell laptop, Win 8.1.1Pro
[ATTACH type="full" align="right" alt="An AI-generated image of 'About Dism /online /cleanup-image /restore-health'. First image: Successful system scan and DISM restore operation without errors.
Second image: System scan successful but DISM restore-health option not recognized (Error 87).
Third image: System scan successful but DISM restore-health option not recognized (Error 87) with log file location shown." alt="1: System scan completed with no integrity violations and successful component store repair.
2: System scan OK but 'restore-health' option not recognized, causing error 87.
3: Same error 87 on older Windows version; restore-health option unsupported here." alt="The images show command prompts running sfc /scannow and DISM with varying results on Windows versions."]28081[/ATTACH]
Screenshot#2 from Acer Iconia tablet, Win 8.1
[ATTACH type="full" align="right" alt="An AI-generated image of 'About Dism /online /cleanup-image /restore-health'. First image: Successful system scan and DISM restore operation without errors.
Second image: System scan successful but DISM restore-health option not recognized (Error 87).
Third image: System scan successful but DISM restore-health option not recognized (Error 87) with log file location shown." alt="1: System scan completed with no integrity violations and successful component store repair.
2: System scan OK but 'restore-health' option not recognized, causing error 87.
3: Same error 87 on older Windows version; restore-health option unsupported here." alt="The images show command prompts running sfc /scannow and DISM with varying results on Windows versions."]28082[/ATTACH]
Screenshot#3 from Win 7 Home Premium
[ATTACH type="full" align="right" alt="An AI-generated image of 'About Dism /online /cleanup-image /restore-health'. First image: Successful system scan and DISM restore operation without errors.
Second image: System scan successful but DISM restore-health option not recognized (Error 87).
Third image: System scan successful but DISM restore-health option not recognized (Error 87) with log file location shown." alt="1: System scan completed with no integrity violations and successful component store repair.
2: System scan OK but 'restore-health' option not recognized, causing error 87.
3: Same error 87 on older Windows version; restore-health option unsupported here." alt="The images show command prompts running sfc /scannow and DISM with varying results on Windows versions."]28083[/ATTACH]
1. Error 87
2.That it is not applicable to Win 7.
Since I have 3 machines with different versions of OS, I decided to check it out.
On each machine, I ran sfc /scannow, then after that, dism.
I found a thing or 2 perplexing.....
On my Dell laptop running Win8.1.1 Pro, sfc found no intergrety violation, but dism said corruption was repaired successfully. ( see screenshot #1.)
On my Acer Iconia W3-810 tablet running Win 8.1, sfc found no integrity violation, but dism returned with error 87, restore health option is not recognized.( see screenshot #2).
Same result applies to my Acer Aspire Win 7 Home Premium SP1.(see screenshot #3).
Can someone clearify for me ?
I might be able to explain screenshot #1. A few days ago, sfc was unable to repair corrupt files. Dism did the repair job for me.
But, most importantly why the error code 87 ?
Screenshot #1 from Dell laptop, Win 8.1.1Pro
[ATTACH type="full" align="right" alt="An AI-generated image of 'About Dism /online /cleanup-image /restore-health'. First image: Successful system scan and DISM restore operation without errors.
Second image: System scan successful but DISM restore-health option not recognized (Error 87).
Third image: System scan successful but DISM restore-health option not recognized (Error 87) with log file location shown." alt="1: System scan completed with no integrity violations and successful component store repair.
2: System scan OK but 'restore-health' option not recognized, causing error 87.
3: Same error 87 on older Windows version; restore-health option unsupported here." alt="The images show command prompts running sfc /scannow and DISM with varying results on Windows versions."]28081[/ATTACH]
Screenshot#2 from Acer Iconia tablet, Win 8.1
[ATTACH type="full" align="right" alt="An AI-generated image of 'About Dism /online /cleanup-image /restore-health'. First image: Successful system scan and DISM restore operation without errors.
Second image: System scan successful but DISM restore-health option not recognized (Error 87).
Third image: System scan successful but DISM restore-health option not recognized (Error 87) with log file location shown." alt="1: System scan completed with no integrity violations and successful component store repair.
2: System scan OK but 'restore-health' option not recognized, causing error 87.
3: Same error 87 on older Windows version; restore-health option unsupported here." alt="The images show command prompts running sfc /scannow and DISM with varying results on Windows versions."]28082[/ATTACH]
Screenshot#3 from Win 7 Home Premium
[ATTACH type="full" align="right" alt="An AI-generated image of 'About Dism /online /cleanup-image /restore-health'. First image: Successful system scan and DISM restore operation without errors.
Second image: System scan successful but DISM restore-health option not recognized (Error 87).
Third image: System scan successful but DISM restore-health option not recognized (Error 87) with log file location shown." alt="1: System scan completed with no integrity violations and successful component store repair.
2: System scan OK but 'restore-health' option not recognized, causing error 87.
3: Same error 87 on older Windows version; restore-health option unsupported here." alt="The images show command prompts running sfc /scannow and DISM with varying results on Windows versions."]28083[/ATTACH]
Attachments
Last edited by a moderator:
Solution
You need to specify your sourcePrevious attempts have failed (source not found).
Dism /Online /Cleanup-Image /RestoreHealth /source:wim:X:\sources\install.wim:1 /limitaccess
Where "X" is the location of your installation files (DVD or mounted Windows 10 ISO)
davidhk129
Senior Member
- Joined
- May 19, 2012
- Messages
- 1,315
- Thread Author
-
- #3
Thank you for pointing it out. But, without the hyphen, the result is still error code 87.
This screenshot is from my Win 7 computer.
This screenshot is from my Win 7 computer.
Last edited by a moderator:
davidhk129
Senior Member
- Joined
- May 19, 2012
- Messages
- 1,315
- Thread Author
-
- #5
ScanHealth is running in both my Acer Iconia windows 8.1 tablet and Acer Aspire laptop Win 7 Home Premium.
Will take a while to finish.
I'll assume that CheackHealth will work too.
So, what gives on RestoreHealth ?
Don't tell me it returns error 87 because there is nothing to repair....... ha ha ha.
Will take a while to finish.
I'll assume that CheackHealth will work too.
So, what gives on RestoreHealth ?
Don't tell me it returns error 87 because there is nothing to repair....... ha ha ha.
davidhk129
Senior Member
- Joined
- May 19, 2012
- Messages
- 1,315
- Thread Author
-
- #6
Trouble
Noob Whisperer
- Joined
- Nov 30, 2009
- Messages
- 13,722
Most of the references that I can find regarding that particular error suggest a syntax error with spacing, spelling or missing or incorrect slashes before the various switches..... which doesn't appear to be the case at all.Don't tell me it returns error 87 because there is nothing to repair
So maybe the /ScanHealth or /CheckHealth may provide some insight. If not maybe consider perusing the log file.
Trouble
Noob Whisperer
- Joined
- Nov 30, 2009
- Messages
- 13,722
Well on the Windows 7 machine I believe that some of the DISM command line switches are unavailable.
Have you performed a /? switch after the Dism /Online /Cleanup-Image to see if the /RestoreHealth switch is available for Windows 7?
Have you performed a /? switch after the Dism /Online /Cleanup-Image to see if the /RestoreHealth switch is available for Windows 7?
davidhk129
Senior Member
- Joined
- May 19, 2012
- Messages
- 1,315
- Thread Author
-
- #10
Well on the Windows 7 machine I believe that some of the DISM command line switches are unavailable.
Have you performed a /? switch after the Dism /Online /Cleanup-Image to see if the /RestoreHealth switch is available for Windows 7?
In case you have overlooked......
My Win 8.1 tablet also returns error 87 on RestoreHealth option.
OK result of /? switch......
Apparently my Win 7 is missing RestoreHealth and CheckHealth options.
That explains why both commands failed.
SO...... how do I have the missing switches restored to my Win 7?
Last edited by a moderator:
davidhk129
Senior Member
- Joined
- May 19, 2012
- Messages
- 1,315
- Thread Author
-
- #11
Wait. My Win 7 is a pre-installed OS.
It has never been upgraded.
It has never been upgraded.
Trouble
Noob Whisperer
- Joined
- Nov 30, 2009
- Messages
- 13,722
Haven't forgotten or overlooked.... just thought we would deal with one device at a time.In case you have overlooked......
My Win 8.1 tablet also returns error 87 on RestoreHealth option.
As best I can tell.... It ain't gonna happen. The DISM utility in Windows 7 was still barely emerging from its' infancy. It has become more robust with Windows 8 and going forward but as of this point it doesn't seem to be retro'd back to Win7.SO...... how do I have the missing switches restored to my Win 7?
Now regarding your tablet.....
I was hoping that the two other switches after having completed would provide some insight but..... that doesn't seem to be the case.
So, can I suggest a "Clean Boot"
http://support.microsoft.com/kb/929135
And attempting the /RestoreHealth under those conditions.
davidhk129
Senior Member
- Joined
- May 19, 2012
- Messages
- 1,315
- Thread Author
-
- #13
OK. If I gather up enough courage, I may do a Recover.
The tablet comes with 2 Recovery Disks
Being a tablet which does not have a dvd/dw drive, I bought an ext. dvd/dw drive.
I am still waiting ( from eBay) for my Micro USB Dual OTG Hub Cable in order to connect my ext. drive to my tablet.
I won't dwell into this subject anymore.
Thank you.
The tablet comes with 2 Recovery Disks
Being a tablet which does not have a dvd/dw drive, I bought an ext. dvd/dw drive.
I am still waiting ( from eBay) for my Micro USB Dual OTG Hub Cable in order to connect my ext. drive to my tablet.
I won't dwell into this subject anymore.
Thank you.
Help requested.
I have been trying to repair my laptop filesystem using DISM. Previous attempts have failed (source not found). Today I try with a slightly different command line and get Access Denied.
I reduced the command line to
dism /Online
and still get Access Denied.
This is being run under Win 10 Administrator Command Prompt, as before.
Can anyone advise me what I have done wrong, and how to continue.
- Roger =
I have been trying to repair my laptop filesystem using DISM. Previous attempts have failed (source not found). Today I try with a slightly different command line and get Access Denied.
I reduced the command line to
dism /Online
and still get Access Denied.
This is being run under Win 10 Administrator Command Prompt, as before.
Can anyone advise me what I have done wrong, and how to continue.
- Roger =
Trouble
Noob Whisperer
- Joined
- Nov 30, 2009
- Messages
- 13,722
You need to specify your sourcePrevious attempts have failed (source not found).
Dism /Online /Cleanup-Image /RestoreHealth /source:wim:X:\sources\install.wim:1 /limitaccess
Where "X" is the location of your installation files (DVD or mounted Windows 10 ISO)
Similar threads
- Question
- Replies
- 13
- Views
- 61K