Basic questions about DISM


  1. Posts : 720
    Win10 x64 Pro - 2 desktops, 2 laptops
       #1

    Basic questions about DISM


    My wife's laptop has a corruption that sfc /scannow could not fix so I am going to try DISM. But first I have some basic questions. (And please forgive any incorrect terminology in the questions.)

    Last Sept I used the MCT to build a USB flash memory with Win10 AU. I read in some Tenforums tutorial (which I can no longer find) that the ESD file on the device cannot be used with DISM. But DISM has a source:esd option. Doesn't that work? And even if it does, is it preferable to use an ISO with a .wim file as source?

    Whether I do an ISO or USB options, should I download again and let the MCT include the latest fixes?

    Assuming I create a medium with the latest fixes, what effect does the DISM "limitaccess" option have? Would it have any need to download anything? Or am I misunderstanding what "limitaccess" does?

    Same question if I use my USB from last Sept. Would DISM have to get a lot of updated files in order to fix the corruption?

    Update:
    I obviously don't know what I'm talking about. Last evening I downloaded the Win10 1607 ISO and it had an Install.esd rather than an install.wim file.

    I'm going to forge ahead using the install.esd, but just I'm curious now. How so I get the install.wim file?
    Last edited by pokeefe0001; 08 Jan 2017 at 14:27.
      My Computer


  2. Posts : 720
    Win10 x64 Pro - 2 desktops, 2 laptops
    Thread Starter
       #2

    I got an odd error. Or if not odd, one I don't understand. C:\WINDOWS\system32>DISM /Online /Cleanup-Image /RestoreHealth /Source:esd:G:\sources\Install.esd:1 /LimitAccess Deployment Image Servicing and Management tool Version: 10.0.14393.0 Image Version: 10.0.14393.0 [===========================92.7%===================== ] 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 Configure a Windows Repair Source. The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log The log is larger than is reasonable to post here. Other than an echo of the command, I see no reference to the .esd file. Am I doing something obviously wrong?

    Update:
    It worked correctly when I omitted the LimitAccess. I'm not sure what that implies, but I'm relieved.
      My Computer


  3. Posts : 4,224
    Windows 10
       #3

    Help with DISM ... /source


    LimitAccess prevents DISM from accessing the Microsoft web pages (or other Internet resources) during the search for repair/replacement files. If it works when you don't include LimitAccess, that means it was able to find the files it needs online even if it can't find them on your PC. FYI, the proper syntax for ESD is a little different from that for WIM in the /source attribute, namely:

    DISM ... /source:ESD:R:\sources\install.esd:1

    Of course, you'll need to replace the italic text above (R:\sources\install.) with the correct path and filename for the ESD file to which you'd like to point.

    HTH,
    --Ed--

    PS: You may find these two blog posts of mine interesting in this connection
    Simple Trick Fixes DISM /source syntax issues - The Network Hub
    Another Worthwhile DISM Source "Trick" - The Network Hub
    Last edited by EdTittel; 09 Jan 2017 at 11:01. Reason: correct typo/error
      My Computers


  4. Posts : 720
    Win10 x64 Pro - 2 desktops, 2 laptops
    Thread Starter
       #4

    Thanks. I found your "Trick" interesting. I'm a little confused about the WinSXS as source, though. Normally /source points to a file. Are you saying that it can also point to a drive that contains a copy the contents of a good WinSXS directory? If so, is there some other source specification (like /Source:wim: and /Source:esd: but different) to indicate the fact is is WinSXS? Or have I completely misunderstood what you were saying?
      My Computer


  5. Posts : 4,224
    Windows 10
       #5

    If the source is neither WIM nor ESD, as with my second trick, you don't have to include the WIM: or ESD: at the head of the attribute value, nor point to a segment within the file (that's what the :1, :2, and so forth means at the end, and directs the search to the proper segment in a .wim file that includes x86 and x64 segments, as is often the case). Thanks for asking: you didn't misunderstand. I just probably failed to provide all of the information you needed. Keep asking questions: that's how you learn!
    Best wishes,
    --Ed--
      My Computers


  6. Posts : 720
    Win10 x64 Pro - 2 desktops, 2 laptops
    Thread Starter
       #6

    Hah! I wondered what the ":1" stuff was about.

    Thanks for your research into things like DISM. The answers to all my questions are probably available on the web but buried in piles of chaff. (I haven't even been able to find the complete syntax of the command, but I'm sure it's out there somewhere.)
      My Computer


  7. Posts : 4,224
    Windows 10
       #7

    DISM is big and hairy, with many, many command line options. The TechNet DISM Reference is a good all-around overview (but out of date, alas). I just keep using Google and searching my way into what I need to learn to do, and watching here and other Windows sites for usable nuggets of information.
    HTH,
    --Ed--
      My Computers


 

  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 05:32.
Find Us




Windows 10 Forums