Microsoft Windows ADK - OSDeploy/OSD.Workspace GitHub Wiki

Quick Setup

$Url = 'https://go.microsoft.com/fwlink/?linkid=2289980'
Invoke-Expression "& curl.exe --insecure --location --output `"$env:TEMP\adksetup.exe`" --url `"$Url`""
Start-Process -FilePath "$env:TEMP\adksetup.exe" -ArgumentList '/features', 'OptionId.DeploymentTools', 'OptionId.ImagingAndConfigurationDesigner', '/quiet', '/ceip', 'off', '/norestart' -Wait

$Url = 'https://go.microsoft.com/fwlink/?linkid=2289981'
Invoke-Expression "& curl.exe --insecure --location --output `"$env:TEMP\adkwinpesetup.exe`" --url `"$Url`""
Start-Process -FilePath "$env:TEMP\adkwinpesetup.exe" -ArgumentList '/features', 'OptionId.WindowsPreinstallationEnvironment', '/quiet', '/ceip', 'off', '/norestart' -Wait

$path = 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs'
New-Item -Path $path -ItemType Directory -Force | Out-Null

Documentation

https://learn.microsoft.com/en-us/windows-hardware/get-started/adk-install

Download

Windows ADK 10.1.26100.2454 (December 2024)

Windows PE add-on for the Windows ADK 10.1.26100.2454 (December 2024)

PowerShell

To install the Windows ADK and Windows PE add-on, you can use the following PowerShell commands. These commands will download the installers and run them with the specified options.

Windows ADK Setup

$Url = 'https://go.microsoft.com/fwlink/?linkid=2289980'
Invoke-Expression "& curl.exe --insecure --location --output `"$env:TEMP\adksetup.exe`" --url `"$Url`""
Start-Process -FilePath "$env:TEMP\adksetup.exe" -ArgumentList '/features', 'OptionId.DeploymentTools', 'OptionId.ImagingAndConfigurationDesigner', '/quiet', '/ceip', 'off', '/norestart' -Wait

Windows PE add-on for the Windows ADK Setup

$Url = 'https://go.microsoft.com/fwlink/?linkid=2289981'
Invoke-Expression "& curl.exe --insecure --location --output `"$env:TEMP\adkwinpesetup.exe`" --url `"$Url`""
Start-Process -FilePath "$env:TEMP\adkwinpesetup.exe" -ArgumentList '/features', 'OptionId.WindowsPreinstallationEnvironment', '/quiet', '/ceip', 'off', '/norestart' -Wait

Bugfix

MDT Windows PE x86 MMC snap-in error

$path = 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs'
New-Item -Path $path -ItemType Directory -Force | Out-Null

Winget (Not Working)

Winget install doesn't work when I last tested this so you'll have to use the link above to download the ADK installer, but for reference, I'll leave this last command that at one point used to work.

# This does not currently work, but it is left here for reference.
winget install --id Microsoft.WindowsADK -e -v 10.1.26100.2454 --accept-source-agreements --accept-package-agreements --wait --override '/features OptionId.DeploymentTools OptionId.Documentation OptionId.ImagingAndConfigurationDesigner /quiet /ceip off /norestart'