DirectX End-User Runtime Installer을(를) 확인 창 없이 설치하고 제거하며, 배포 도구에서 감지하기 위한 명령어입니다. 매니페스트에 기재되어 있거나 설치 기술의 문서화된 기본값처럼 확실한 명령어만 표시합니다.
관련 가이드: 무인 설치(자동 설치) 옵션 총정리 · 레지스트리·PowerShell로 프로그램 제거
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 --silent설치 파일별
64비트 · EXE
무인 설치
dxwebsetup.exe /Q64비트 · MSIX
무인 설치
Add-AppxPackage -Path UAPSignedBinary_Microsoft.DirectX.x64.appx제거
Get-AppxPackage -Name Microsoft.DirectXRuntime | Remove-AppxPackage32비트 · MSIX
무인 설치
Add-AppxPackage -Path UAPSignedBinary_Microsoft.DirectX.x86.appx제거
Get-AppxPackage -Name Microsoft.DirectXRuntime | Remove-AppxPackage32비트 · EXE
무인 설치
dxwebsetup.exe /Q모든 CPU · EXE
무인 설치
dxwebsetup.exe /QPowerShell: 다운로드, 검증, 설치
공식 파일을 다운로드하고 SHA256을 확인한 뒤 무인 설치합니다.
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