Go Back   Cyber Tech Help Support Forums > Operating Systems > Windows 10

Notices

Reply
 
Topic Tools
  #1  
Old May 16th, 2019, 06:39 PM
leachim leachim is offline
Senior Member
 
Join Date: Apr 2006
O/S: Windows 10 Home
Location: UK
Posts: 870
DISM Command

Booted from a USB drive with WIn 10 on it

As laptop would not boot and went through various repairs with no success

Came across the DISM to repair the image without having to reset or reinstall

SFC apparently found no Integrity Violations

What I can't do is get cleanup-image or restorehealth to work

Tried it with Online switch etc

What is the correct syntax to use this from a bootable USB on the D drive

Windows is on C

On the USB there is Install.esd in the sources folder

Thanks

Last edited by leachim; May 16th, 2019 at 06:40 PM. Reason: spell
Reply With Quote


  #2  
Old May 17th, 2019, 10:53 PM
Murf's Avatar
Murf Murf is offline
Moderator
 
Join Date: Oct 2001
O/S: Windows 10 Home
Location: Newport News VA
Age: 74
Posts: 17,092
DISM /Online /Cleanup-Image /RestoreHealth /Source:\Sources\Install.esd


This is from the command prompt

in the command, make sure to change "D:\Sources" for the path that corresponds to the location of the install.esd file
Reply With Quote
  #3  
Old May 17th, 2019, 10:56 PM
leachim leachim is offline
Senior Member
 
Join Date: Apr 2006
O/S: Windows 10 Home
Location: UK
Posts: 870
Thanks
I will try it in the morning
Last time I tried the online switch it didn't like it...
Reply With Quote
  #4  
Old May 18th, 2019, 09:11 AM
leachim leachim is offline
Senior Member
 
Join Date: Apr 2006
O/S: Windows 10 Home
Location: UK
Posts: 870
Quote:
Originally Posted by Murf View Post
DISM /Online /Cleanup-Image /RestoreHealth /Source:\Sources\Install.esd


This is from the command prompt

in the command, make sure to change "D:\Sources" for the path that corresponds to the location of the install.esd file
Yep

Error = DISM does not support servicing Windows PE with the /Online option

I booted from a Wins 10 DVD
Reply With Quote
  #5  
Old May 20th, 2019, 02:28 AM
Murf's Avatar
Murf Murf is offline
Moderator
 
Join Date: Oct 2001
O/S: Windows 10 Home
Location: Newport News VA
Age: 74
Posts: 17,092
Freaking smiley, I typed the wrong code and maybe you corrected it: Should be

DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\$Windows.~BT\Sources\Install.esd

This is if you have the install.esd on a differrent drive.

If you booted from a Win 10 DVD then the command would be:

Here is a complete page on it:

https://www.windowscentral.com/how-u...ndows-10-image
Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump




All times are GMT +1. The time now is 02:10 AM.