PowerShell GUI for Downloading Windows ADK, WinPE, LP & FOD ISO's - W10_11ADK_WinPE_LP_FOD.ps1

garlin

Moderator
Staff member
Messages
7,083
Reaction score
3,511
There's a sticky post on one of the Language Pack threads, with download URL's to W10 & 11 Language Pack (LP) and Feature on Demand (FOD) ISO's.

Most users don't need access to the full ISO's, since they only want to add one or two languages. For those who require the full set of LP's or FOD's, it's better to download the complete collections.

I've created a new script to help download them, and full ISO versions of the Windows ADK and ADK WinPE Add-on's. This may be useful since the default ADK & WinPE setup installers are very slow in downloading the source MSI files. WinPE Add-on's are primarily used to add PE language packs along with PowerShell, .NET 4.5, WMI and other scripting support.

The script can accept multiple click selections, and the Clear button will reset the selection list. When ready, click on Download.

1727909546136.png

What versions of Windows are supported?
  • Win 7 & 8.1 with WMF 5.1
  • Win 10 & 11
Why do I get a PowerShell execution policy error?
Your default execution policy prevents unsigned scripts from running. Run the W10_11ADK_WinPE_LP_FOD.bat script.

What Windows releases are available?
W10 1809, 1903, 1909, 2004, 20H2, 21H1, Server 2019, and Server 2022
W11 21H2, 22H2, 23H2, 24H2, and Server 2025

Why does it need to run aria2?
aria2 is an open source tool which runs parallel network connections to dramatically speed up downloads. I'm using the same settings as UUP dump's download script for optimal performance.

How do I use the ISO?
Mount the ISO. For the LP & FOD ISO's, copy whatever LP or FOD packages you need and import them into NTLite as Updates.

For the ADK & WinPE Add-ons, you will need to run the offline installers.
Code:
cd F:\path\ISO_folder
adksetup.exe /features OptionId.DeploymentTools OptionId.WindowsPreinstallationEnvironment /norestart /quiet /ceip off
adkwinpesetup.exe /features OptionId.WindowsPreinstallationEnvironment /norestart /quiet /ceip off

Why don't I see Build nnnnn.nnnn listed?
MS doesn't refresh the ADK versions after they're first released.
 

Attachments

Last edited:
little help please,
its not working for, only litle window with lot of red signs and yes i ran the batch script to bypass.

thanks from jo
 
Did you remove any PowerShell or .NET libraries from your system? It's based on a DataGridView for drawing the UI.
Try running it on another PC, there are no special requirements for a normal Windows system.
 
i dont now, but i install powershel 7.
your script to download LPs, work like a sharm.
weird
 
My bad, I forgot to add a single declaration line. Script works from PowerShell ISE, but not PS. Uploaded a fixed version.
Thanks for the heads up.
 
Ok, the GUI shows up, but no download possible. The window closed with an error, i cant see why, its to fast.
 
Is there an aria2c.exe file in the folder? The script should be downloading that first. Also try powershell.exe instead of pwsh.exe.
 
yes there is aria2c.exe and in the batch is powershell.exe is the given program to execute...
 
Insert this debug line at the top of the PS script, right below #Requires:
Code:
#Requires -Version 5.1

Start-Transcript

This should create a log file in your Documents folder, "PowerShell_transcript.[timestamp]".
 
**********************
nStart der Windows PowerShell-Aufzeichnung
Startzeit: 20240821085204
Benutzername:
RunAs-Benutzer:
Konfigurationsname:
Computer: (Microsoft Windows NT 10.0.19045.0)
Hostanwendung: powershell -nop -ep bypass -f D:\Programme\Scripts\W10_11ADK_WinPE_LP_FOD\\W10_11ADK_WinPE_LP_FOD.ps1
Prozess-ID: 12708
PSVersion: 5.1.19041.4780
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.19041.4780
BuildVersion: 10.0.19041.4780
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
Die Aufzeichnung wurde gestartet. Die Ausgabedatei ist "D:\Sicherung\Eigene Dateien JO\Meine Dokumente\PowerShell_transcript.JO.5P3wz9v9.20240821085204.txt".
PS>$global:?
True
**********************
Ende der Windows PowerShell-Aufzeichnung
Endzeit: 20240821085208
**********************
 
I realized that's the wrong debug line. Try this:
Code:
#Requires -Version 5.1

Set-PSDebug -Trace 1
 
That looks normal, script is launching aria2c in another CMD window to do the actual downloads. Is your security software blocking aria2c?
 
Delete the copy of aria2c.exe, and run the script. It should download a new copy.
 
I found a solution for me, i expand the commands of your aria2c.exe commands.
your commands: Start-Process "$PSScriptRoot\aria2c.exe" -Argument "-x16 -s16 -c -R $URL" -Wait

my commands: Start-Process "$PSScriptRoot\aria2c.exe" -Argument "--async-dns=false --enable-http-keep-alive=false --conditional-get=true --file-allocation=none -x16 -s16 -c -R --max-overall-download-limit=0 $URL" -Wait

now the download works

PS
the commands are from abbodis uupdump download script from his windows mui script
thanks goes to abbodi

happy weekend
 
Back
Top