Windows 10: Use DISM to Repair Windows 10 Image  

Page 13 of 45 FirstFirst ... 3111213141523 ... LastLast

  1. Posts : 14,533
    Microsoft Windows 10 Pro 64-bit 14393, Windows 10 Insider Fast Ring, Windows 8.1 Update, Ubuntu
       01 Nov 2015 #120

    balubeto said: View Post
    Now, it works.

    This command also works to repair the Windows components of an offline image of Windows 10 or should I change something To do this?

    If I had to change this command what changes should I make?

    Thanks

    Bye
    You might have to wait for @Brink for this question, I'm not sure if you would just have to add "/limitaccess"
    at the end or if there is more to it than that, sorry.
    But here are a couple of sources:
    Add or Remove Packages Offline

    Repair a Windows Image

    Manage the Component Store
      My ComputersSystem Spec

  2.    01 Nov 2015 #121

    Cliff S said: View Post
    You might have to wait for @Brink for this question, I'm not sure if you would just have to add "/limitaccess"
    at the end or if there is more to it than that, sorry.
    But here are a couple of sources:
    Add or Remove Packages Offline

    Repair a Windows Image

    Manage the Component Store
    Ok, I will wait the @Brink response?

    Thanks

    Bye
      My ComputerSystem Spec

  3.    01 Nov 2015 #122

    balubeto said: View Post
    Now, it works.

    This command also works to repair the Windows components of an offline image of Windows 10 or should I change something To do this?

    If I had to change this command what changes should I make?

    Thanks

    Bye
    Hi there, you are asking the same questions in many different places (both here and other forums). Is there something you want to do that is failing or are you just curious?

    It is all explained in the documentation I referred you to in this thread Info on the Windows components store - Windows 10 Forums but basically you can use dism to service any offline image using /image (and yes you can specify which index before you ask ) based on the source specified on /source

    In fact anything you can do to your online image you can do an offline image - but not the other way around - only a subset are available online as described in the documentation:

    If you are servicing a running computer, you can use the /Online option instead of specifying the location of the offline Windows image. The commands and options that are available for servicing an image depend on which Windows operating system you are servicing. They also depend on whether the image is offline or a running operating system. All commands work on an offline Windows image. Subsets of the commands are available for servicing a running operating system.
    DISM Global Options for Command-Line Syntax - Windows 10 hardware dev

    The source (if specified) has to contain the components required so you can't specify a source that has a different version but really you need not specify source unless Windows update doesn't work.

    If you do not specify a /Source for the repair files, the default location for Features on Demand is used. For more information, see Configure a Windows Repair Source. If you specify more than one /Source, the files are copied from the first location where they are found and the rest of the locations are ignored. You can use /LimitAccess to prevent the DISM tool from using Windows Update as a repair source or as a backup repair source for online images.
    Repair a Windows Image - Windows 10 hardware dev

    If something you are trying is not working please post the command you used and the results from %windir%\Logs\DISM\dism.log
      My ComputerSystem Spec


  4. Posts : 1,825
    Windows 3.1 to Windows 10
       01 Nov 2015 #123

    Dism /Image:C:\offline /Cleanup-Image /RestoreHealth /Source:c:\mount\windows
      My ComputerSystem Spec


  5. Posts : 443
    Windows 10.0.14393 (1607) Home 64-bit
       03 Nov 2015 #124

    Hi. I just finished downloading a Windows 10 ISO for the purpose of repairing a corrupted Windows 10 image (reported by DISM), but during the download I realized that there was no information regarding the build number. Can you help me with that or do I need to go to Microsoft, or is it not even an issue. The build number installed on my laptop is 10240, if that helps. (In case you're wondering why I didn't already have an ISO for backup purposes, it's because I used I used Lenovo's OneKey Recovery feature, which doesn't seem to produce any image files.)
      My ComputerSystem Spec

  6.    03 Nov 2015 #125

    gregyurkon said: View Post
    Hi. I just finished downloading a Windows 10 ISO for the purpose of repairing a corrupted Windows 10 image (reported by DISM), but during the download I realized that there was no information regarding the build number..
    You need the correct build but if you downloaded from Microsoft it will be 10240 (unless you are an insider and specifically requested the latest preview build in which case it will be 10565).

    You can check the version as follows:
    • mount the ISO and note and note the letter. In my case it is k
    • From elevated cmd prompt dism /get-wiminfo /wimfile:k:\sources\install.wim
    • If there is more than one index pick the one you want dism /get-wiminfo /wimfile:k:\sources\install.wim /index:1

    Code:
    Microsoft Windows [Version 10.0.10576]
    (c) 2016 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>dism /get-wiminfo /wimfile:k:\sources\install.wim
    
    Deployment Image Servicing and Management tool
    Version: 10.0.10576.0
    
    Details for image : k:\sources\install.wim
    
    Index : 1
    Name : Windows 10 Pro
    Description : Windows 10 Pro
    Size : 13,736,528,128 bytes
    
    Index : 2
    Name : Windows 10 Home
    Description : Windows 10 Home
    Size : 13,635,081,189 bytes
    
    The operation completed successfully.
    
    C:\Windows\system32>dism /get-wiminfo /wimfile:k:\sources\install.wim /index:1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.10576.0
    
    Details for image : k:\sources\install.wim
    
    Index : 1
    Name : Windows 10 Pro
    Description : Windows 10 Pro
    Size : 13,736,528,128 bytes
    WIM Bootable : No
    Architecture : x64
    Hal : acpiapic
    Version : 10.0.10240
    ServicePack Build : 16384
    ServicePack Level : 0
    Edition : Professional
    Installation : Client
    ProductType : WinNT
    ProductSuite : Terminal Server
    System Root : WINDOWS
    Directories : 18986
    Files : 94284
    Created : 10/7/2015 - 14:25:50
    Modified : 10/7/2015 - 14:26:24
    Languages :
            en-US (Default)
    
    The operation completed successfully.
    
    C:\Windows\system32>
      My ComputerSystem Spec


  7. Posts : 443
    Windows 10.0.14393 (1607) Home 64-bit
       03 Nov 2015 #126

    I followed your instructions for checking the ISO's build number, and all of the fields which had any meaning to me match my OS, but I have two further issues regarding the tutorial. The "elevated command prompt" link goes to the wrong article (which at least contains a link to the right article), and the correct instruction for the next step seems to be "Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:<Full Path to install.wim file>:1". My issue is with that "1" at the end. Since the correct index in my case is 2, should I change that "1" to a "2"? (Trial and error sounds rather dangerous in this case, otherwise I'd have already found the answer.)
      My ComputerSystem Spec

  8.    03 Nov 2015 #127

    That's right - change the 1 to a 2. It isn't dangerous - it will just say "source not found" if you use the wrong index (or wrong wim) and it wants to repair something.
      My ComputerSystem Spec


  9. Posts : 1,825
    Windows 3.1 to Windows 10
       03 Nov 2015 #128

    You can also keep it as index 1
    There is No need to change index to 2
      My ComputerSystem Spec


  10. Posts : 443
    Windows 10.0.14393 (1607) Home 64-bit
       03 Nov 2015 #129

    I'm happy to report that running DISM with the correct RestoreHealth and Source options yielded two "...completed successfully" messages and subsequently running it with ScanHealth found no corruption.
      My ComputerSystem Spec


 
Page 13 of 45 FirstFirst ... 3111213141523 ... LastLast

Related Threads
SFC Scannow or DISM/RestoreHealth using Image in Performance & Maintenance
Windows 10 user. Having some trouble with my system after coming back from a weekend. Nothing major...just having trouble playing some games that require plugins etc Regardless if it's related, I just wanted to run an SFC/Scannow or...
Hello, everyone, I've managed to resolve most of my problems with build 10041 by making SFC work. I've opened a thread on Windows Insider's forums explaining how to do it. Check it out:...
I've just upgraded Windows 7 64-bit HP OEM to Windows 10 Technical preview 64-bit. Extracted the install while booted within 7, install went smoothly, opted to keep all my files, and once the install was finished it went to boot Windows 10. It hung...
I installed the 32 bit version of W10 on an old Acer laptop to get back up to speed with developments, and one of the first questions or issues that cropped up is when using W10's disk image utility to make a system image. I deliberately wished to...
Windows 10 TP Repair and Recovery Features in Installation and Upgrade
I'm currently running the 10 TP in a virtual machine. I see that the various boot and repair options can be accessed by <shift> Restart from the desktop, however F8 during boot doesn't appear to work. Can someone who is actually running this on...
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 09:44.
Find Us