How To Use ADk

Discussion in 'Windows 8' started by Trenchboygun, Oct 25, 2013.

  1. Trenchboygun

    Trenchboygun MDL Novice

    Apr 8, 2013
    25
    5
    0
    Can Someone Write commands for slipstream windows 8.1 update manualy With ADK???
     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    2,122
    4,810
    90
    #2 MSMG, Oct 25, 2013
    Last edited by a moderator: Apr 20, 2017
    Install WADK

    Create these folders "w81" , "w81mnt" and "w81pkgs" in c: drive

    Copy the contents of windows 8.1 dvd/iso to w81 folder in c: drive

    Open a Administrator Commnad Promt

    Run the following Commands

    The Command to Mount a Install.wim file to c:\w81mnt folder with a Index #1
    Code:
    Dism /Mount-Wim /WimFile:c:\w81\sources\install.wim /Index:1 /MountDir:c:\w81mnt\
    
    The Command to Integrate a Package to a Install.wim image file mounted to c:\w81mnt folder
    Code:
    Dism /Add-Package /Image:c:\w81mnt /PackagePath:c:\w81pkgs
    
    or
    
    Dism /Add-Package /Image:c:\w81mnt /PackagePath:c:\w81pkgs\<package-name.msu>
    
    or
    
    Dism /Add-Package /Image:c:\w81mnt /PackagePath:c:\w81pkgs\<package-name.cab>
    


    The Command to Commit Changes and Dis-Mount a Install.wim image file mounted to c:\w81mnt folder
    Code:
    Dism /Unmount-Wim /MountDir:c:\w81mnt /Commit
    
    The Command to Discard Changes and Dis-Mount a Install.wim image file mounted to c:\w81mnt folder
    Code:
    Dism /Unmount-Wim /MountDir:c:\w81mnt /Discard
    



     
  3. Trenchboygun

    Trenchboygun MDL Novice

    Apr 8, 2013
    25
    5
    0
    lol fast replay :worthy:
     
  4. Trenchboygun

    Trenchboygun MDL Novice

    Apr 8, 2013
    25
    5
    0
    The Command to Commit Changes and Dis-Mount a Install.wim image file mounted to c:\w81mnt folder
    Code:
    Dism /Unmount-Wim /MountDir:c:\w8\mount\install /Commit

    or it is




    Dism /Unmount-Wim /MountDir:c:\w81mnt /Commit
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    2,122
    4,810
    90
    Dism /Unmount-Wim /MountDir:c:\w81mnt /Commit

    sorry forgot to change it, as I was using it for my system.

     
  6. Trenchboygun

    Trenchboygun MDL Novice

    Apr 8, 2013
    25
    5
    0
  7. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,773
    1,080
    60
    I think hard-coding the full path to the ADK copy is required otherwise it might default to the system32 copy and that may be important on older OS.