首页 > 课堂 > 注册表 > 正文

通过注册表修改硬件加速

2020-05-27 13:39:40
字体:
来源:转载
供稿:网友

   通过注册表修改硬件加速

  关闭硬件加速:

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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表