Powershell script to activate HDR in Windows 10

5.1k Views Asked by At

I've scoured the net for resources on this, to no avail. I cannot find the syntax to toggle HDR in Windows 10.

As it currently stands, the GUI function for this is buried in a menu, and is a huge pain in the ass to turn on and off per application as needed.

Ideally I'd like to see if there's an ability to specify per monitor, but given how wonky this implementation seems to be on Microsoft's part, just being able to activate it on my primary display would be enough.

Thank in advance for your help.

1

There are 1 best solutions below

1
BiNZGi On

You can do this by editing the registry.

Turn on:

New-ItemProperty -Path 'HKLM:\SYSTEM\ControlSet001\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0001' -Name 'FeatureTestControl' -PropertyType DWORD -Value '9240' -Force

Turn off:

New-ItemProperty -Path 'HKLM:\SYSTEM\ControlSet001\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0001' -Name 'FeatureTestControl' -PropertyType DWORD -Value '9250' -Force

After the change you have to restart the system to apply.

Registry entry and values from here: windowscentral: How to disable adaptive contrast on the Surface Pro and Surface Book

Please also note:

Some users have noted that any time there is a significant Windows update this setting is reset to default (9240), so you may need to redo this edit once or twice a year.