Modifying hardware acceleration through the registry

Source: Internet
Author: User

Modifying hardware acceleration through the registry

Turn off hardware acceleration:

1

@echo off

2

Title Close DirectDraw

3

Mode con:cols=50 lines=12

4

Color FF

5

6

Echo is shutting down DirectDraw acceleration ...

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

To turn on hardware acceleration:

1

@echo off

2

Title Open DirectDraw

3

Mode con:cols=50 lines=12

4

Color FF

5

6

Echo is opening DirectDraw acceleration ...

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

Copy the above content to Notepad, save in bat format, run directly!

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.