通过注册表修改硬件加速(关闭与打开硬件加速)

Xylona ·
更新时间:2024-11-10
· 484 次阅读

通过注册表修改硬件加速

关闭硬件加速:

1

@echo off

2

title 关闭DirectDraw

3

mode con:cols=50 lines=12

4

color ff

5

6

echo 正在关闭DirectDraw加速...

7

reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 1 /f 0>nul 1>nul

8

reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 1 /f 0>nul 1>nul

9

gpupdate /force 0>nul 1>nul

打开硬件加速:

1

@echo off

2

title 开启DirectDraw

3

mode con:cols=50 lines=12

4

color ff

5

6

echo 正在开启DirectDraw加速...

7

reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 0 /f 0>nul 1>nul

8

reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 0 /f 0>nul 1>nul

9

gpupdate /force 0>nul 1>nul

将上述内容复制到记事本中,保存成bat格式,直接运行即可!



关闭 加速 硬件加速 注册表

需要 登录 后方可回复, 如果你还没有账号请 注册新账号