Run DISM on External Windows 8 Drive

Page 1 of 2 12 LastLast

  1. Posts : 236
    Windows 10 Home
       #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 Computer


  2. Posts : 236
    Windows 10 Home
    Thread Starter
       #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 Computer


  3. Posts : 68,952
    64-bit Windows 11 Pro for Workstations
       #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 Computers


  4. Posts : 236
    Windows 10 Home
    Thread Starter
       #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 Computer


  5. Posts : 31,657
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #5

    Brink said:
    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:
    ...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; 22 Mar 2018 at 23:45.
      My Computers


  6. Posts : 236
    Windows 10 Home
    Thread Starter
       #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 Computer


  7. Posts : 4,224
    Windows 10
       #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 Computers


  8. Posts : 236
    Windows 10 Home
    Thread Starter
       #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; 23 Mar 2018 at 14:56.
      My Computer


  9. Posts : 236
    Windows 10 Home
    Thread Starter
       #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 Computer


  10. Posts : 31,657
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #10

    FunkMaster said:
    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 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 14:16.
Find Us




Windows 10 Forums