通过注册表修改硬件加速(关闭与打开硬件加速)
程序员文章站
2022-03-05 17:45:12
关闭与打开硬件加速一般情况下都是在桌面-属性-设置-高级中可以完成的,下面与大家分享下通过注册表修改硬件加速,感兴趣的不妨参考下,希望可以帮助到你... 13-05-26...
通过注册表修改硬件加速
关闭硬件加速:
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格式,直接运行即可!
关闭硬件加速:
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格式,直接运行即可!