• dism.exe /online /cleanup-image /restorehealth Failing

    Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » dism.exe /online /cleanup-image /restorehealth Failing

    Author
    Topic
    #508251

    Hi,

    I am trying to update my Win 10 but it failing with error – 0xC1900101 – 0x30018. The installation failed in the FIRST_BOOT phase with an error during SYSPREP operation
    I read that it can be fixed by running dism.exe /online /cleanup-image /restorehealth, but it also failing with error:

    [INDENT]Error: 0x800f081f
    [/INDENT]
    [INDENT]The source files could not be found.
    Use the “Source” option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see
    Microsoft ? Official Home Page DISM log file can be found at C:WINDOWSLogsDISMdism.log


    [/INDENT]
    I know that need to mount win10 iso and run dism with :
    DISM /Online /Cleanup-Image /RestoreHealth /source:ESD:X:SourcesInstall.esd:1 /LimitAccess
    or
    DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:SourcesInstall.wim:1 /LimitAccess

    but got same error, please help.
    Thanks

    Viewing 16 reply threads
    Author
    Replies
    • #1591788

      You need to change the :X for the drive letter where you have it mounted.

      http://windowssecrets.com/forums/showthread//173121-W10-Can-t-get-DISM-exe-to-work-on-online-image

      • #1591805

        I did it, no luck

        DISM /Online /Cleanup-Image /RestoreHealth /source:ESD:G:SourcesInstall.esd:1 /LimitAccess
        DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:G:SourcesInstall.wim:1 /LimitAccess

        i tried many options, always same resu

    • #1591806

      If you don’t already have the machine to check the DVD or USB drives first before the SSD/HDD on boot, press F2 and hold throughout a Restart.

      This will get you into the BIOS – I only have experience of the older MBR and not UEFI so yours may differ if yours is an UEFI boot.

      User the cursor keys to move to the Boot tab then use those keys again to select the Win 10 bootable media that you have created the use F5 or F6 to move that to the top of the list.

      Insert the USB or DVD then press F10 to Save and Exit then press enter.

      You will be momentarily prompted to press any key to boot from the media you are using.

      Use the dropdown to change the Time and currency format if needed > Next > click on Repair your computer.

      Click on Troubleshoot then on Command Prompt and enter these cmds.

      bcdedit |find “osdevice”

      Then enter this cmd where X is your partition letter –

      sfc /scannow /offbootdir=X: /offwindir=X:Windows

      and this will check and repair your volume as necessary.

      For clarity, that is a Pipe symbol before find in the bcdedit cmd and is the uppercase of and there’s a space before each /

    • #1591807

      Thanks, i will try

    • #1591809

      bad result, see attached screenshot

      46782-IMG_20170225_124848

    • #1591810

      It seems to me that your image is corrupt and you need to supply a copy of the Windows installation files for SFC / DISM to work.
      Can you boot from a Windows installation DVD / USB and run DISM from there?
      You need to work out what drive your hard disk is, probably with this command: wmic logicaldisk get deviceid, volumename, description
      Then you can run DISM offline with this command? DISM /Image:X:Windows /cleanup-image /restorehealth
      (I think that is the correct command, anyone?)

      cheers, Paul

    • #1591811

      Thanks, will try

    • #1591813

      Open a Command Prompt (Admin) and enter chkdsk /r

      You will be prompted to enter y for it to execute on the next reboot, then enter shutdown /r /t 00 to effect an immediate reboot and wait for it to do its thing.

      When it reboots on completion, open Event Viewer and ensure Event Viewer (Local) is highlighted in the left pane – if it isn’t, then just click on it.

      When it has read the data, expand Windows Logs > click on Applications/Action/Find and type chkdsk or wininit into the Find box and press enter.

      Cancel the Find box and use the scrollable window to read the chkdsk log.

      Other than whatever else it may report, check to see if it reports any KBs in bad sectors.

      You can copy & paste its report into your reply box if it reports anything substantial regarding the volume, by clicking on Copy/Copy details as text in the lower right pane > right click in the reply box and select Paste.

      I’d also like you to open a Command Prompt (Admin) and enter dism /online /cleanup-image /checkhealth

      This cmd will tell you if the volume is repairable.

      If it says it is then enter sfc /scannow

      If/when that reports it is unable to repair some files, copy & paste this cmd to the cmd prompt –

      findstr /c:”[SR]” %windir%LogsCBSCBS.log > %userprofile%Desktopsfcdetails.txt

      This will put an icon onto the desktop which when double clicked will show the CBS in Notepad which you can then copy & paste into the reply box.

    • #1591831

      chkdsk in event view shows – Windows has scanned the file system and found no problems., no bad sectors

      —————————————————————
      C:Windowssystem32>dism /online /cleanup-image /checkhealth

      Deployment Image Servicing and Management tool
      Version: 10.0.10586.0

      Image Version: 10.0.10586.0

      The component store is repairable.
      The operation completed successfully.
      ——————————————

      attached CBS.log after running – DISM /Online /Cleanup-Image /RestoreHealth /source:ESD:G:SourcesInstall.esd:1 /LimitAccess

      46783-CBS

    • #1591834

      I had an experience with Windows 8 where the DISM tool itself was corrupt.

      Always create a fresh drive image before making system changes/Windows updates; you may need to start over!
      We all have our own reasons for doing the things that we do with our systems; we don't need anyone's approval, and we don't all have to do the same things.
      We were all once "Average Users".

      • This reply was modified 5 years, 7 months ago by bbearren.
    • #1591835

      Run these cmds –

      dism /online /cleanup-image /startcomponentcleanup

      dism /online /cleanup-image /restorehealth

      sfc /scannow

      and let us know what each reports – the first one can take a while to run.

    • #1592766

      Hi,

      Somehow i managed that dism and “sfc /scannow” are running without issues , but i still have the original problem that i cannot update my Win10 to latest big update and getting error:

      0xC1900101 – 0x30018. The installation failed in the FIRST_BOOT phase with an error during SYSPREP operation

      • #1592770

        Which antivirus program are you using as that could be causing the block and disabling or uninstalling using its Uninstaller before the upgrade may help.

        I’d also open Task Manager and disable all under the Start-up tab and then try the upgrade.

        See if it will do it direct from https://www.microsoft.com/en-gb/software-download/windows10

      • #1592776

        …i still have the original problem that i cannot update my Win10 to latest big update and getting error:

        0xC1900101 – 0x30018. The installation failed in the FIRST_BOOT phase…

        Last week I upgraded a customer’s HP dv6 laptop from Win7 SP1 to Win10, but only on the third attempt – the first two attempts failed with “0xC1900101-0x40017 The installation failed in the SECOND_BOOT phase with an error during BOOT operation”.

        Before the first attempt I created backup images of the four partitions on the laptop’s HDD as the laptop is a few years old (but it is a good model and runs quite well). I also ran several anti-malware scans which removed quite a lot of junk, and checked the HP Support website for device drivers but there were none listed for this model laptop.

        After the first attempt failed I ran “Disk Cleanup” with the “Clean up system files” option which deleted 14GB, then ran Windows Update several times until all available “Important” and all but two (“Security Essentials” and “Remote Desktop”) “Optional” were installed – about 25 updates all told. The second attempt again failed with the same error as above.

        By the second failure I had become fairly sure the errors were driver-related, most likely the VGA (“display”) drivers, so I downloaded/installed the latest drivers for the laptop’s “Radeon HD5000 Series” VGA from the AMD-ATI Support website. I also downloaded/installed the latest “chipset” drivers from the Intel website (“infinst_autol.exe”).

        The third attempt succeeded, and Win10 Home has since updated to Build 14393.693. Clearly the VGA & chipset drivers did the trick.

    • #1592774

      For some users external devices have caused issues. If you have any USB drives, printers, etc. attached try disconnecting them too.

      --Joe

      • #1593300

        nothings helps, any other ideas?

        0xC1900101 – 0x30018. The installation failed in the FIRST_BOOT phase with an error during SYSPREP operation

    • #1593301

      What graphics does the machine use ?

      If the problem isn’t an AV program then it’s nearly always driver related.

    • #1593307

      GeForce GTX 750
      i will try, to remove the card and update win without it

    • #1593324

      Nvidia graphics has caused problems for some in Win 10.

      If you are successful with it removed then you will need to update its drivers.

      I think these will do – http://www.techspot.com/downloads/drivers/essentials/nvidia-windows-10/

    • #1593340

      Thanks a lot to all, i finally managed to update the windows
      After trying many things i came to one suggestion and it helped – https://www.techpowerup.com/forums/threads/properly-uninstall-reinstall-intel-chipset-drivers.131393/
      I installed all intel chipset drivers from device manager, rebooted and then did the update

    • #1593343

      It was the Intel Management Engine Interface that I had to update on one machine and disable Norton Security on an AMD machine, but mine was failing on the second reboot when trying to update to 1607.

      Anyway, glad to see that you have gotten there.

      You can mark the thread as solved by using the Thread Tools dropdown and select Mark thread as Solved.

    Viewing 16 reply threads
    Reply To: dism.exe /online /cleanup-image /restorehealth Failing

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: