用于在 Windows 10 中激活 HDR 的 Powershell 脚本 [英] Powershell script to activate HDR in Windows 10

查看:69
本文介绍了用于在 Windows 10 中激活 HDR 的 Powershell 脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在网上搜索有关此的资源,但无济于事.我找不到在 Windows 10 中切换 HDR 的语法.

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

就目前而言,GUI 功能隐藏在菜单中,根据需要打开和关闭每个应用程序非常麻烦.

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.

理想情况下,我想看看是否有能力为每台显示器指定,但考虑到这种实现在 Microsoft 方面似乎很不稳定,只需能够在我的主显示器上激活它就足够了.

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.

预先感谢您的帮助.

推荐答案

您可以通过编辑注册表来做到这一点.

You can do this by editing the registry.

开启:

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

关闭:

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.

此处的注册表项和值:windowscentral:如何禁用自适应对比度Surface Pro 和 Surface Book

另请注意:

一些用户已经注意到,任何时候都有一个重要的 Windows更新此设置重置为默认值 (9240),因此您可能需要每年重新编辑一次或两次.

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.

这篇关于用于在 Windows 10 中激活 HDR 的 Powershell 脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆