Befehle, um DirectX End-User Runtime Installer ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id Microsoft.DirectX -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DirectX -e --silentwinget uninstall --id Microsoft.DirectX -e --silentNach Installer
64-Bit · EXE
Stille Installation
dxwebsetup.exe /Q64-Bit · MSIX
Stille Installation
Add-AppxPackage -Path UAPSignedBinary_Microsoft.DirectX.x64.appxDeinstallation
Get-AppxPackage -Name Microsoft.DirectXRuntime | Remove-AppxPackage32-Bit · MSIX
Stille Installation
Add-AppxPackage -Path UAPSignedBinary_Microsoft.DirectX.x86.appxDeinstallation
Get-AppxPackage -Name Microsoft.DirectXRuntime | Remove-AppxPackage32-Bit · EXE
Stille Installation
dxwebsetup.exe /QAlle Prozessoren · EXE
Stille Installation
dxwebsetup.exe /QPowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-directx-end-user-runtime-installer.ps1
$url = 'https://download.microsoft.com/download/1/7/1/1718ccc4-6315-4d8e-9543-8e28a4e18c4c/dxwebsetup.exe'
$sha256 = '2CF71D098C608C56E07F4655855A886C3102553F648DF88458DF616B26FD612F'
$file = Join-Path $env:TEMP 'dxwebsetup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/Q' -Wait install-directx-end-user-runtime-installer.ps1
$url = 'https://download.microsoft.com/download/c/c/2/cc291a37-2ebd-4ac2-ba5f-4c9124733bf1/UAPSignedBinary_Microsoft.DirectX.x64.appx'
$sha256 = 'A042086B3EB11F354B28D7047CE6B249BC828C0F299A7B5E54A7E0ADB112332B'
$file = Join-Path $env:TEMP 'UAPSignedBinary_Microsoft.DirectX.x64.appx'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-directx-end-user-runtime-installer.ps1
$url = 'https://download.microsoft.com/download/c/c/2/cc291a37-2ebd-4ac2-ba5f-4c9124733bf1/UAPSignedBinary_Microsoft.DirectX.x86.appx'
$sha256 = 'B4DB87C59A79E9109C2C8EC5C05855582671DC17D717C897619F786959ECDB5A'
$file = Join-Path $env:TEMP 'UAPSignedBinary_Microsoft.DirectX.x86.appx'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-directx-end-user-runtime-installer.ps1
$url = 'https://download.microsoft.com/download/1/7/1/1718ccc4-6315-4d8e-9543-8e28a4e18c4c/dxwebsetup.exe'
$sha256 = '2CF71D098C608C56E07F4655855A886C3102553F648DF88458DF616B26FD612F'
$file = Join-Path $env:TEMP 'dxwebsetup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/Q' -Wait install-directx-end-user-runtime-installer.ps1
$url = 'https://download.microsoft.com/download/1/7/1/1718ccc4-6315-4d8e-9543-8e28a4e18c4c/dxwebsetup.exe'
$sha256 = '2CF71D098C608C56E07F4655855A886C3102553F648DF88458DF616B26FD612F'
$file = Join-Path $env:TEMP 'dxwebsetup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/Q' -Wait