To be able to deploy Windows 10 you need to do it with the a Windows 10 WinPE boot image (Version 10.0.10240.16384).
If you want to have a clean/new one or if you need to import them or you did the 2012 SP2 / R2 SP1 upgrade without installing ADK 10.0 beforehand you can do this by following the next steps.
- Uninstall ADK 8.1 -> reboot
- Install ADK 10.0
- Run the PowerShell script
- import the new boot images into your SCCM environment
- use them to deploy
PowerShell Script
Copy the content of the script and save it to a .PS1 file to run it on your server. You may need to change the variables according to your setup. A list of all cab files, you can add out of the box , can be found below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
$ADK10SourcePath = "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment" $x86Path = "E:\WinPEx86" $x64Path = "E:\WinPEx64" $WinPEPackage = @("winpe-wmi.cab","winpe-scripting.cab","winpe-wds-tools.cab") New-Item -ItemType Directory -Path "$x86Path\Mount" New-Item -ItemType Directory -Path "$x64Path\Mount" Copy-Item "$ADK10SourcePath\x86\en-us\winpe.wim" "$x86Path\boot.wim" -Verbose Copy-Item "$ADK10SourcePath\amd64\en-us\winpe.wim" "$x64Path\boot.wim" -Verbose #Create x86 Image Write-Host "Mounting x86 Image" -ForegroundColor Green Mount-WindowsImage -ImagePath "$x86Path\boot.wim" -Path "$x86Path\mount" -Index 1 -Optimize Write-Host "Adding WinPE Packages" -ForegroundColor Green Foreach ($PEPackage in $WinPEPackage){ Write-Host "Importing $PEPackage" -ForegroundColor Green Start-Process -FilePath Dism.exe -ArgumentList "/image:$x86Path\mount /add-package /packagepath:'$ADK10SourcePath\x86\WinPE_OCs\$PEPackage'" -Wait } Write-Host "Committing changes to Image" -ForegroundColor Green Dismount-WindowsImage -Path "$x86Path\mount" -save #Create x64 Image Write-Host "Mounting x64 Image" -ForegroundColor Green Mount-WindowsImage -ImagePath "$x64Path\boot.wim" -Path "$x64Path\mount" -Index 1 -Optimize Write-Host "Adding WinPE Packages" -ForegroundColor Green Foreach ($PEPackage in $WinPEPackage){ Write-Host "Importing $PEPackage" -ForegroundColor Green Start-Process -FilePath Dism.exe -ArgumentList "/image:$x64Path\mount /add-package /packagepath:'$ADK10SourcePath\amd64\WinPE_OCs\$PEPackage'" -Wait } Write-Host "Committing changes to Image" -ForegroundColor Green Dismount-WindowsImage -Path "$x64Path\mount" -Save |
Cab Files
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
WinPE-Dot3Svc.cab WinPE-EnhancedStorage.cab WinPE-FMAPI.cab WinPE-Fonts-Legacy.cab WinPE-FontSupport-JA-JP.cab WinPE-FontSupport-KO-KR.cab WinPE-FontSupport-WinRE.cab WinPE-FontSupport-ZH-CN.cab WinPE-FontSupport-ZH-HK.cab WinPE-FontSupport-ZH-TW.cab WinPE-HTA.cab WinPE-LegacySetup.cab WinPE-MDAC.cab WinPE-NetFx.cab WinPE-PowerShell.cab WinPE-PPPoE.cab WinPE-RNDIS.cab WinPE-Scripting.cab WinPE-SecureBootCmdlets.cab WinPE-SecureStartup.cab WinPE-Setup-Client.cab WinPE-Setup-Server.cab WinPE-Setup.cab WinPE-StorageWMI.cab WinPE-WDS-Tools.cab WinPE-WinReCfg.cab WinPE-WMI.cab |
After you ran the script you can import both .wim files as new boot images in SCCM
Happy deploying
Cheers Philipp
Looks like you need to change the mount path variable in the Mount-WindowsImage command for x64?
sorry, the ImagePath variable.
You are correct, thank you. I corrected it.
Great job, easy that using http://www.scconfigmgr.com/2014/02/28/default-boot-images-was-not-updated-after-a-configmgr-2012-r2-upgrade/ aproach