How to set "Adjust for best performance" via WMI/API

R

rflazaro

Hi All,

We are trying to build an automation utility to configure OS. I found a way
to automate the process below via registry:

Control Panel -> System Properties -> Advanced tab -> Performance Settings
--> Check "Adjust for best performance"

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects
DWORD Value name Value Data
VisualFXSetting 2

But may I ask for anyone who could help me find a way to automate in C# the
process above via WMI/API?

Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top