Dism /Append-Image problem

Discussion in 'Windows 8' started by balubeto, Oct 17, 2014.

  1. balubeto

    balubeto MDL Addicted

    Dec 22, 2009
    580
    10
    30
    #1 balubeto, Oct 17, 2014
    Last edited by a moderator: Apr 20, 2017
    Hi

    I am using Windows 8.1 Update and Windows ADK.

    I mounted a volume image to a directory with this command:

    Code:
    Dism /Mount-Image /ImageFile:"<WIM_File_Path>\<WIM_Name>.wim" /Index:<Image_Index> /MountDir:"<Mount_Directory_Path>"
    
    and I have changed it.

    Now, since I wanted to add this image changed at the same wim file, I used this command:

    Code:
    Dism /Append-Image /ImageFile:"<WIM_File_Path>\<WIM_Name>.wim" /CaptureDir:"<Mount_Directory_Path>" /Name:"<Image_Name>" /Description:"<Image_Description>" /CheckIntegrity /Verify
    
    but I get this error:

    Unable to access the file. The file is in use by another process.

    How come?

    Thanks

    Bye
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,394
    11,615
    240
    append-image is to capture an image, but append it to an existing wim file.
    There's no command to save the mounted image as a different index.

    You could in theory capture your mounted index to a different wim file and append-image again when you modify it, but it's easier (and faster) to export your saved image, remount and modify, save again, and re-export.
     
  3. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,198
    974
    90
    check with gimagex if there any mounted image from this file aka
    "<WIM_File_Path>\<WIM_Name>.wim"