Update WinPE 5.0 to WinPE 5.1
Applies To: Windows 8.1, Windows Server 2012 R2
Update Windows PE (WinPE) to version 5.1 to support Windows 8.1 Update and Windows image file boot (WIMBoot) features.
Get the Windows 8.1 Update version of the Windows ADK
- Install the Windows 8.1 Update edition of the Windows ADK.
Download the Windows 8.1 Update packages
Download the Microsoft Update (.MSU) packages for Windows 8.1 Update:
The download package for KB2919355 includes several .MSU packages, including KB2919355, KB2932046, KB2934018, KB2937592, KB2938439, and KB2959977.
Start with your Windows PE 5.0 image
Start with a WinPE 5.0 image. You can get WinPE 5.0 from either the Windows 8.1 RTM or the Windows 8.1 Update versions of the Windows ADK.
Click Start, and type deployment. Right-click Deployment and Imaging Tools Environment and then select Run as administrator.
Create a working copy of the Windows PE files. Specify either x86 or amd64:
copype amd64 C:\WinPE_amd64
Update your Windows PE image
- Add languages, drivers, packages (optional components) and other customizations. For more info, see WinPE: Mount and Customize, WinPE: Add drivers, WinPE: Add packages (Optional Components Reference).
Add the Windows 8.1 updates to the image
Mount the Windows PE image.
Dism /Mount-Image /ImageFile:"C:\WinPE_amd64\media\sources\boot.wim" /index:1 /MountDir:"C:\WinPE_amd64\mount"
Add the Windows 8.1 Update packages into Windows PE. These are the same packages used to update Windows 8.1. Install them in the following order:
Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2919442-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2919355-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2932046-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2934018-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2937592-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2938439-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2959977-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log
Optimize the image:
Dism /image:c:\WinPE_amd64\mount /Cleanup-Image /StartComponentCleanup /ResetBase
Unmount the Windows PE image.
Dism /Unmount-Image /MountDir:"C:\WinPE_amd64\mount" /commit
Recommended: Export the image
Export and convert the Windows PE image to a new Windows image file. To reduce the final image size, we recommend performing this step last, so that DISM can remove several superseded files.
Dism /Export-Image /SourceImageFile:C:\WinPE_amd64\media\sources\boot.wim /SourceIndex:1 /DestinationImageFile:C:\WinPE_amd64\media\sources\boot2.wim
Replace the boot.wim file with the new boot2.wim file.
del C:\WinPE_amd64\media\sources\boot.wim rename C:\WinPE_amd64\media\sources\boot2.wim boot.wim
Create bootable media, such as a USB flash drive.
MakeWinPEMedia /UFD C:\WinPE_amd64 F:
Boot the media. Windows PE starts automatically. After the Windows PE window appears, the wpeinit command runs automatically. This may take a few minutes.
To verify that you're running the new version of WinPE, type regedit and locate this registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinPE
Adding languages after adding Windows 8.1 Update
If you add language packs after installing Windows 8.1 Update, you'll need to add the language resources for Windows 8.1 Update as well. Otherwise, the Windows user experience might not be correctly localized, and users will be prompted to download the language resources for Windows 8.1 Update from Windows Update.
To add the language resources, you can do either of the following:
Add the Windows PE 5.0 RTM language pack and then re-apply the update packages, either offline or online. If your PC has limited hard drive space, you might have to add the packages offline and perform all cleanup steps, as described earlier on this page.
- or -
To save time, OEMs can add the Windows PE 5.0 RTM language pack, and then install the corresponding language pack update for Windows 8.1 Update. The language pack updates include only the language-specific resources for Windows 8.1 Update. These language pack updates are significantly faster to install than the full MSU update package. You can add these language pack updates using either an online or an offline update. For more info, see Add Language Pack Updates for the Windows 8.1 Update.