[研究]如何測試 Windows 是否有安裝 DirectX ? 或內建 DirectX ? 哪一版 ?
2026-02-17
PowerShell,Windows Server 2019 Standard 繁體中文標準版畫面
PS C:\Users\Administrator> Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\DirectX" | Select-Object -Property Version Version ------- 4.09.00.0904 PS C:\Users\Administrator> |
1️⃣ 登錄版號 vs 系統 DirectX 版本
- Windows 的登錄鍵 HKLM:\SOFTWARE\Microsoft\DirectX\Version 顯示的是 DirectX 9 的版本號,格式是「4.xx.xx.xxxx」。
- 例如你看到的 4.09.00.0904:
- 4.09 → DirectX 9.0c
- 0904 → 修補程式 / build
- 這不代表 Windows Server 2019 只能用 DirectX 9,只是登錄檔保留了歷史版號。
**********
2️⃣ Windows Server 2019 內建 DirectX
Windows Server 2019 實際上包含 DirectX 12 Runtime,與 Windows 10 相同。
執行 dxdiag 程式
下圖,Windows Server 2019 Standard 繁體中文標準版畫面
*****
不論Windows Server 2019 安裝過程中安裝「桌面體驗(Desktop Experience)」, 或安裝後 媒體基礎, DirectX End-User Runtime, Windows SDK 安裝後,Windows Server 2019 都沒 dxcore.dll,但 Windows Server 2022 或 2025 安裝 媒體基礎後,有 dxcore.dll。
Windows Server 2019 不支援 GPU加速。
(完)
沒有留言:
張貼留言