Introduction
High Dynamic Range (HDR) monitors can display a wide range of colors and contrast levels, making them ideal for demanding applications like gaming, video editing, and graphic design. However, enabling and disabling HDR manually in Windows 11 can be a tedious process. In this article, we will explore how to create a script that allows you to toggle Auto-HDR mode on and off on an HDR capable monitor.
What is Auto-HDR?
Auto-HDR is a feature in Windows 11 that automatically converts Standard Dynamic Range (SDR) content to HDR, providing a more vibrant and immersive viewing experience. This feature is particularly useful for older games that do not support HDR natively.
Finding the Windows 11 Settings Script
Although there is no official way to turn on or off Auto-HDR mode on an HDR capable monitor using a script, there is a workaround that involves modifying the Windows Registry. You can use the following PowerShell script to enable or disable Auto-HDR:
# Set the value of the HDRToggle key to 0 to disable Auto-HDR
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\GraphicsDrivers" -Name "HDRToggle" -Value 0
# Set the value of the HDRToggle key to 1 to enable Auto-HDR
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\GraphicsDrivers" -Name "HDRToggle" -Value 1
Using the Script
To use the script, open PowerShell as an administrator and run the appropriate command to enable or disable Auto-HDR. You can also create a shortcut to the script on your desktop for easy access.
Enabling and disabling Auto-HDR on an HDR capable monitor in Windows 11 does not have to be a manual process. With a simple PowerShell script, you can toggle Auto-HDR mode on and off with ease.
References
-
Type: Book
Title: Windows 11 For Dummies
Author: Andy Rathbone -
Type: Article
Title: How to Enable HDR on Your Windows 11 PC
Publication: PCMag -
Type: Online Resource
Title: Windows 11 HDR Settings
URL: https://docs.microsoft.com/en-us/windows/whats-new/windows-11-features#windows-11-hdr-settings