Use DISM to Repair Windows 10 Image  

Page 78 of 84 FirstFirst ... 28687677787980 ... LastLast

  1. Posts : 68,997
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #770

    Paul Black said:
    Just a quick question please.

    Am I right in saying that you CANNOT use [ for example ] . . .

    Code:
    Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:G:\Sources\install.wim:1 /LimitAccess

    . . . from a customised mounted ISO?

    It's the same ISO that was used to install the customised OS!

    Thanks in advance!
    Hello Paul,

    As long as it's a valid ISO file, you should be able to like in step 6 of option 2.
      My Computers


  2. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #771

    Hello @Brink,

    Yes, I started off with a valid Win 10 ISO, and then customised it [ Win 10 Pro ] a LOT. I created a bootable USB and installed it. Once installed, I customised it even further with registry tweaks etc. Everything works great.

    I do NOT have a problem at present. I just thought I would test out the RestoreHealth from source in case of problems in the future.

    I copied the customised ISO to "R" drive, mounted it, which mounted it to "G" drive, and then ran the following cmd . . .

    Code:
    Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:G:\sources\install.wim:1 /LimitAccess

    It gave me the following . . .

    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1

    Image Version: 10.0.18363.418

    [==========================100.0%==========================]
    Error: 0x800f081f

    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 http://go.microsoft.com/fwlink/?LinkId=243077.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    Thanks in advance.
      My Computer


  3. Posts : 68,997
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #772

    @Paul Black,

    Just to verify, did you already do step 6A or step 7A in option 2 to make sure you have the correct path and index number for the install.wim or install.esd file?
      My Computers


  4. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #773

    Brink said:
    @Paul Black,

    Just to verify, did you already do step 6A or step 7A in option 2 to make sure you have the correct path and index number for the install.wim or install.esd file?

    Yes, I had already performed Step 6A . . .

    Code:
    dism /get-wiminfo /wimfile:G:\sources\install.wim
    
    Index : 1
    Name : Windows 10 Pro
    Description : Windows 10 Pro
    Size : 12,599,070,866 bytes
    
    The operation completed successfully.
      My Computer


  5. Posts : 68,997
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #774

    Paul Black said:
    Yes, I had already performed Step 6A . . .
    Well, it appears something in the customization of the ISO is preventing it from being used as a source for DISM.

    You should still be able to use an official uncustomized ISO for DISM though.
      My Computers


  6. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #775

    Brink said:
    Well, it appears something in the customization of the ISO is preventing it from being used as a source for DISM.

    You should still be able to use an official uncustomized ISO for DISM though.
    Thanks for the reply @Brink, it is appreciated.

    I know that I can do that as I still have the original ISO. If I was to use that though, what impact will it have on the installed OS considering the fact that I have removed almost all of the apps, onedrive, and made over 100 reg tweaks etc etc etc?

    If I was to use the original ISO as the source /RestoreHealth, would it ONLY target the OS system files etc that are installed, or will it try and ADD back those which have been removed either prior to the creation of the customised ISO, or system files that have been removed post installation?

    Thanks in advance,
      My Computer


  7. Posts : 68,997
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #776

    Paul Black said:
    Thanks for the reply @Brink, it is appreciated.

    I know that I can do that as I still have the original ISO. If I was to use that though, what impact will it have on the installed OS considering the fact that I have removed almost all of the apps, onedrive, and made over 100 reg tweaks etc etc etc?

    If I was to use the original ISO as the source /RestoreHealth, would it ONLY target the OS system files etc that are installed, or will it try and ADD back those which have been removed either prior to the creation of the customised ISO, or system files that have been removed post installation?

    Thanks in advance,
    It should only impact system files. Apps and Registry Editor wouldn't be affected.
      My Computers


  8. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #777

    Brink said:
    It should only impact system files. Apps and Registry Editor wouldn't be affected.
    OK thanks.
    I will create a System Image tomorrow and then use my original uncustomised ISO and give it a go!
      My Computer


  9. Posts : 68,997
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #778

    Paul Black said:
    OK thanks.
    I will create a System Image tomorrow and then use my original uncustomised ISO and give it a go!
    Please let us know how it went.
      My Computers


  10. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #779

    Brink said:
    Please let us know how it went.
      My Computer


 

Tutorial Categories

Use DISM to Repair Windows 10 Image Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:06.
Find Us




Windows 10 Forums