How to make a Win7 SP1 PE disk from WINPE.WIM ?

Discussion in 'Windows 7' started by secretromeo, Mar 7, 2012.

  1. secretromeo

    secretromeo MDL Addicted

    Mar 30, 2011
    501
    232
    30
    I have WINPE.WIM (x86) from the latest WAIK... In addition, I have ImageX.exe... I don't have the WAIK nor I wish to download it...

    Can I create a Win PE CD out of the WINPE.WIM without needing the WAIK?

    Please let me know if I can...
     
  2. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    #2 NICK@NUMBER11, Mar 7, 2012
    Last edited by a moderator: Apr 20, 2017
    I think that you would be much better in downloading the WAIK, as you need a number of files from it, these are the files that it copies ...
    Code:
    ===================================================
    Creating Windows PE customization working directory
    
        C:\PE\winpe_x86
    ===================================================
    
            1 file(s) copied.
            1 file(s) copied.
    C:\Program Files\Windows AIK\Tools\PETools\x86\boot\bcd
    C:\Program Files\Windows AIK\Tools\PETools\x86\boot\boot.sdi
    C:\Program Files\Windows AIK\Tools\PETools\x86\boot\bootfix.bin
    C:\Program Files\Windows AIK\Tools\PETools\x86\boot\etfsboot.com
    C:\Program Files\Windows AIK\Tools\PETools\x86\boot\fonts\chs_boot.ttf
    C:\Program Files\Windows AIK\Tools\PETools\x86\boot\fonts\cht_boot.ttf
    C:\Program Files\Windows AIK\Tools\PETools\x86\boot\fonts\jpn_boot.ttf
    C:\Program Files\Windows AIK\Tools\PETools\x86\boot\fonts\kor_boot.ttf
    C:\Program Files\Windows AIK\Tools\PETools\x86\boot\fonts\wgl4_boot.ttf
    9 File(s) copied
    C:\Program Files\Windows AIK\Tools\PETools\x86\EFI\microsoft\boot\bcd
    C:\Program Files\Windows AIK\Tools\PETools\x86\EFI\microsoft\boot\fonts\chs_boot
    .ttf
    C:\Program Files\Windows AIK\Tools\PETools\x86\EFI\microsoft\boot\fonts\cht_boot
    .ttf
    C:\Program Files\Windows AIK\Tools\PETools\x86\EFI\microsoft\boot\fonts\jpn_boot
    .ttf
    C:\Program Files\Windows AIK\Tools\PETools\x86\EFI\microsoft\boot\fonts\kor_boot
    .ttf
    C:\Program Files\Windows AIK\Tools\PETools\x86\EFI\microsoft\boot\fonts\wgl4_boo
    t.ttf
    6 File(s) copied
            1 file(s) copied.
    
    Success
    
    Updating path to include peimg, cdimage, imagex
    
       C:\Program Files\Windows AIK\Tools\PETools\
       C:\Program Files\Windows AIK\Tools\PETools\..\x86
    
    
    C:\PE\winpe_x86>
    So unless you can obtain all the files it requires than you will have some time consuming fun, go for the download..

    This is my bat file that i use to create my own Windows PE dvd...
    Code:
    echo.
    
    RD /s/q C:\PE\winpe_x86
    cd "C:\Program Files\Windows AIK\Tools\PETools\"
    call copype.cmd x86 C:\PE\winpe_x86
    
    copy c:\PE\winpe_x86\winpe.wim c:\PE\winpe_x86\ISO\Sources\boot.wim
    
    cd "C:\Program Files\Windows AIK\Tools\x86\Servicing"
    Dism /mount-Wim /WimFile:C:\PE\winpe_x86\ISO\Sources\boot.wim /index:1 /MountDir:C:\PE\winpe_x86\mount
    
    Copy D:\MakePE3.1\Windows\System32\*.* C:\PE\Winpe_x86\Mount\Windows\System32\
    Copy D:\MakePE3.1\Icon\*.* C:\PE\Winpe_x86\ISO\
    xcopy /e D:\MakePE3.1\TOOLS\*.* C:\PE\Winpe_x86\Mount\TOOLS\
    xcopy /e D:\MakePE3.1\CUSTOM\*.* C:\PE\Winpe_x86\Mount\CUSTOM\
    xcopy /e D:\MakePE3.1\Windows\Shell\*.* C:\PE\Winpe_x86\Mount\Windows\Shell\
    
    
    cd "C:\Program Files\Windows AIK\Tools\x86\Servicing"
    Dism /Unmount-Wim /MountDir:C:\PE\winpe_x86\mount /Commit 
    
    :: --------------------
    :: Create ISO from WinPE build
    echo.
    echo Creating ISO...
    cd D:\MakePE3.1\
    oscdimg -n -bc:\PE\winpe_x86\etfsboot.com c:\PE\winpe_x86\ISO c:\PE\winpe_x86\Boot_Image.iso
    
    echo.
    echo ==============================================================================
    echo.
    echo WinPE build process has finished.
    echo.
    echo ==============================================================================
    echo.
    pause
     
  3. secretromeo

    secretromeo MDL Addicted

    Mar 30, 2011
    501
    232
    30
    Thanks mate for the help!
     
  4. bachru2

    bachru2 MDL Novice

    Nov 8, 2009
    3
    0
    0
    All the files needed can be copied from win7 sp1 dvd.
    Thanks for sharing your Batch file
     
  5. cgd

    cgd MDL Novice

    Mar 26, 2012
    1
    0
    0
    where to find files in "D:\MakePE3.1"???????
     
  6. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    these are my files that i inject into the image, so you can delete the code reference above for this folder and edit the script fo you rown files if thats what you want