播放高畫質影片時啟用硬體加速可減輕 CPU 負擔,但會加速顯卡老化。提供兩支批次檔,一鍵切換 DirectDraw 硬體加速狀態。
建立 Disable_HWA.bat,內容:
@echo off
title 開啟DirectDraw
mode con:cols=50 lines=12
color ff
echo 正在開啟DirectDraw加速...
reg add "HKLM\SOFTWARE\Microsoft\Direct3D\Drivers" /v SoftwareOnly /t REG_DWORD /d 0 /f >nul 2>&1
reg add "HKLM\SOFTWARE\Microsoft\DirectDraw" /v EmulationOnly /t REG_DWORD /d 0 /f >nul 2>&1
gpupdate /force >nul 2>&1
建立 Enable_HWA.bat,內容:
@echo off
title 關閉DirectDraw
mode con:cols=50 lines=12
color ff
echo 正在關閉DirectDraw加速...
reg add "HKLM\SOFTWARE\Microsoft\Direct3D\Drivers" /v SoftwareOnly /t REG_DWORD /d 1 /f >nul 2>&1
reg add "HKLM\SOFTWARE\Microsoft\DirectDraw" /v EmulationOnly /t REG_DWORD /d 1 /f >nul 2>&1
gpupdate /force >nul 2>&1
使用方式: 以系統管理員身分執行對應 .bat,完成後重新登入或重開機生效。

提醒: 非必要情況(如舊顯卡跑高畫質影片)建議保持關閉,延長硬體壽命。
Windows 7 網路共享完整指南:家庭群組、特定使用者、跨版本 (XP/Vista) 互通
Win7 修改 Hosts 檔案訪問 Google 完整教學:編輯 C:\Windows\System32\drivers\etc\hosts、新增 IP 對應、Ping 測速選最快 IP
Windows 系統受損急救六招:最後正確配置、SFC修復、註銷用戶、重註冊DLL…
Win7 批次修改檔案/資料夾權限,icacls 指令或建立父資料夾繼承權限兩法
Windows 7 開機藍屏 0x00000024 解決方案 (精簡版)
Win7 C盘红了怎么清理?磁盘清理+360深度瘦身十步走教程