萬盛學電腦網

 萬盛學電腦網 >> 服務器教程 >> 通過注冊表修改硬件加速

通過注冊表修改硬件加速

   通過注冊表修改硬件加速

  關閉硬件加速:

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

copyright © 萬盛學電腦網 all rights reserved