关闭与打开硬件加速一般情况下都是在桌面-属性-设置-高级中可以完成的,下面与大家分享下通过注册表修改硬件加速,感兴趣的不妨参考下,希望可以帮助到你
通过注册表修改硬件加速

关闭硬件加速:

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格式,直接运行即可!