Windows 10: Run DISM on External Windows 8 Drive

Page 1 of 2 12 LastLast
  1.    4 Weeks Ago #1

    Run DISM on External Windows 8 Drive


    Hey guys, I'm trying to Run DISM on External Windows 8 Drive from my Windows 10 machine. It seems to have frozen up as I expected. Now that I've read a little more on the subject, is seems that it could take more than the time I expected. I'm used to it only taking 20-30min. I don't really understand how it all works though I've used it many times in what I think you call "Online Image", run directly from the OS in question.

    This is what I used to try to accomplish this"
    Code:
    dism /Image:K:\ /cleanup-image /restorehealth
    K: Being the External Drive that I wanted to try and repair.
    Was this an incorrect assumption on my part that I could do this from within a Windows 10 machine?

    I think I will need some kind of local source to repair the Windows 8.1 Image. I'm looking at the Tutorial here as they are always good. I'm keen to using the instructions below but not sure I can pull it off on my own:
    "You would use /Source with /RestoreHealth to specify the location of an install.wim file as the source of known good versions of files that can be used for the repair. "
    Use DISM to Repair Windows 10 Image Windows 10 Tutorials

    I have a Retail Image of Windows 8.1 that is the same as what is installed on this External Drive, but don't quite understand how to use it. Do I need to Copy that install.wim file to a folder somewhere or something?

    I may even have the Retail ISO Image laying around, though the Install DVD would be easier because the machine I'm on does not have it in storage.

    Hope that is clear, thanks FunkMaster
      My ComputerSystem Spec

  2.    4 Weeks Ago #2

    This is what I've worked up to run DISM to Drive K: in my BlacX Box from Windows 10 to fix a Windows 8.1 Image, with a Windows 8.1-64bit RetaiI Install DVD that is known to be good and have used many times.

    I still don't know if I can just run this from the DVD or not. Do I need to copy it to a Folder somewhere to use it better?

    Don't have the install.wim file so using the install.esd instead.

    I've been looking at the Windows 10 Tutorial and some of the Windows 8 Tutorial.
    DISM - Fixing Component Store Corruption in Windows 8 Tutorial | Windows 8 Help Forums

    I don't quite understand yet how to get the value for "1" in the below command.
    Code:
    :ar: Dism /Image:K:\ /Cleanup-Image /RestoreHealth /Source:wim:I:\sources\install.esd:1 /limitaccess
    I see the "See Full Details about the Windows iso file" here, but don't understand it yet.
    See Full Details about a Windows 10 ISO file Windows 10 Tutorials

    Thanks, FunkMaster
      My ComputerSystem Spec


  3. Posts : 28,550
    64-bit Windows 10 Pro build 17650
       4 Weeks Ago #3

    Hello FunkMaster,

    When you use the tutorial to see full details about a Windows 10 ISO file, you would use the index number as seen in the screenshot under step 4 for the edition of Windows 10 you have installed.

    It may be easier to do a repair install instead though.

    You would need to any of this from within the running Windows 8.1 though.
      My ComputersSystem Spec

  4.    4 Weeks Ago #4

    Windows 8 is not working at all, well, it boots but is all frozen up. Trying to help someone out on the cheap, but it's not looking good. The drive is failing and I ran chkdsk to repair some stuff, but it is still all frozen up. Either way would be good to know how to do this but getting tired.

    I see it now Brink, thanks again for all your good help. I will attempt a repair tomorrow, fingers crossed.
      My ComputerSystem Spec


  5. Posts : 6,434
    10 Home x64 (1709) (10 Pro on 2nd pc)
       4 Weeks Ago #5

    Brink said: View Post
    You would need to any of this from within the running Windows 8.1 though.
    Would you though? The command line specifies doing repair to an offline image of 8.1 and points to an 8.1 install.esd as the source, wouldn't that work? Does it matter that the Dism doing the work is the windows 10 one?

    FunkMaster said: View Post
    ...I don't quite understand yet how to get the value for "1" in the below command.
    Code:
    :ar: Dism /Image:K:\ /Cleanup-Image /RestoreHealth /Source:wim:I:\sources\install.esd:1 /limitaccess
    The command dism /get-wiminfo /wimfile:<Drive Letter>:\sources\install.esd lists all the editions the install.esd contains and their index numbers. As it happens I have a Windows 8.1 iso (as far as I can remember, I used the Windows 8 MCT to make it). Dism reports that it only contains one version: 'Windows 8.1' with an index of 1, unlike the latest W10 install.esd that contains nine. Check yours.

    Oh, and I think that for an install.esd you should be using /Source:esd:I:\sources\install.esd
    Last edited by Bree; 4 Weeks Ago at 23:45.
      My ComputersSystem Spec

  6.    4 Weeks Ago #6

    As it happens I have a Windows 8.1 iso (as far as I can remember, I used the Windows 8 MCT to make it). Dism reports that it only contains one version: 'Windows 8.1' with an index of 1, unlike the latest W10 install.esd that contains nine. Check yours.
    Very interesting and good to know Bree!

    Oh, and I think that for an install.esd you should be using /Source:esd:I:\sources\install.esd
    Good catch Bree, I will try that.

    You were correct Bree, thanks again! I was so tired last night I couldn't think anymore lol.

    Code:
    C:\Windows\system32>dism /get-wiminfo /wimfile:I:\sources\install.esd
    
    Deployment Image Servicing and Management tool
    Version: 10.0.16299.15
    
    
    Details for image : I:\sources\install.esd
    
    
    Index : 1
    Name : Windows 8.1
    Description : Windows 8.1
    Size : 13,116,079,066 bytes
    
    
    The operation completed successfully.
      My ComputerSystem Spec

  7.    4 Weeks Ago #7

    Syntax is the key to successful offline image activity with DISM. @Bree's tips about the ESD option(s) are crucial to that kind of thing. That's one of the many things about @Brink's tutorial Use DISM to Repair Windows 10 that makes it so useful and valuable. Much more approachable, and better examples, than even the MS documentation on DISM.
      My ComputersSystem Spec

  •    4 Weeks Ago #8

    DISM would not run with this Syntax, why? Is there something wrong with the ":ar:" part of it? I don't even remember where I got the ":ar:" part now that I'm looking at my notes?

    Now I'm also wondering if I even got the DVD Drive Syntax correct? I only have it as the "I" Drive, is this correct?

    This is what I ended up with:

    Code:
    :ar: Dism /Image:K:\ /Cleanup-Image /RestoreHealth /Source:esd:I:\sources\install.esd:1 /limitaccess

    NOTE: I'm done with this DISM External Drive Fix and am moving forward with an install on another drive. I will be doing this again though, and may use this drive, then System Prep it to see if it will run well on another computer.

    Thanks again for all the help.
    Last edited by FunkMaster; 4 Weeks Ago at 14:56.
      My ComputerSystem Spec

  •    4 Weeks Ago #9

    Here is my last attempt.

    C:\Windows\system32>Dism /Image:\offline /Cleanup-Image /RestoreHealth /Source:I:\sources\install.esd

    Deployment Image Servicing and Management tool
    Version: 10.0.16299.15


    Error: 2

    Unable to access the image.
    Make sure that the image path and the Windows directory for the image exist and you have Read permissions on the folder.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
      My ComputerSystem Spec


  • Posts : 6,434
    10 Home x64 (1709) (10 Pro on 2nd pc)
       4 Weeks Ago #10

    FunkMaster said: View Post
    NOTE: I'm done with this DISM External Drive Fix and am moving forward with an install on another drive. I will be doing this again though, and may use this drive, then System Prep it to see if it will run well on another computer..

    ...

    Deployment Image Servicing and Management tool
    Version: 10.0.16299.15

    Error: 2

    Unable to access the image.
    Make sure that the image path and the Windows directory for the image exist and you have Read permissions on the folder
    If you do come back to this, I think the key word was 'permissions'. Your Dism command line looks good. If you can't boot into Windows 8 from the drive itself, boot to a Command Prompt from the Win8 install disk and try it there, permissions should not be an issue that way. Obviously the drive letters to use will be different.

    EightForums tutorial | How to Open a Command Prompt at Boot in Windows 8
      My ComputersSystem Spec


  •  
    Page 1 of 2 12 LastLast

    Related Threads
    Windows things that My D drive is an external drive does anyone know how to fix this? any help is much APRICATED Thanks in advanced https://www.tenforums.com/images/smilies/001.png
    Hello, as you already know from the title I have problems with the windows utilities that fix corruptions. After I upgraded to build 1607, those utilities worked, but now after a few weeks I tried to do them again after some driver updates just to...
    Windows 10 from external DVD Drive? in Installation and Upgrade
    Can I install Windows 10 using an external DVD Drive on a new PC build?
    Windows 10 - WD external USB drive in Drivers and Hardware
    Anybody out there having Windows 10 running and also one or more WD drives visible within Windows. None of my WD drives show up. Only after installing Western Digital's SES driver, two (of 4) show up. When installing Samsung Magician software it...
    I have a 4 bay external hd case with 2 HD's in it. The drive worked perfectly fine in windows 7. It shows up in Device Management. But it will not let me assign it a letter. I am quite confused here. The only option that is in bold is delete device....
    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 06:45.
    Find Us