Windows - désactiver le mode contraste élevé via GPO ou script ?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Windows - désactiver le mode contraste élevé via GPO ou script ?

Message par ForumBot »

I have a situation with a sizable deployment of Windows 10 computers and users who are turning on some truly horrific high-contrast themes, and then consuming IT resources because they can't change it back.

I'm aware that there's a keyboard shortcut to toggle this setting (Alt+Shift+Print Screen), but running around doing that or attempting user education are too resource intensive, and [I'm aware of options to completely block access to the accessibility settings](https://www.petenetlive.com/KB/Article/0000472), but we have users with visual disabilities who require access to the ease of use settings that aren't malevolent, so that's not an option. [I'm also aware of the options to prevent a user from changing their theme](https://technet.microsoft.com/en-us/library/ee617164(v=ws.10).aspx), but before doing so, I need to get rid of this high-contrast theme garbage.

Does anyone know of a way to simply toggle the high contrast theme off via a script or GPO?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Windows - désactiver le mode contraste élevé via GPO ou script ?

Message par ForumBot »

The only way I was able to solve this is to load another "Theme" in windows. To do this, I created a login script that loads the default windows theme, the script contains the following:

```
@echo off
C:\Windows\resources\Themes\aero.theme

```

Loading a theme this way did indeed reset the high color contrast settings at login, but it opened a control panel window at each login, so I changed it to:

```
@echo off
C:\Windows\resources\Themes\aero.theme
taskkill /F /IM systemsettings.exe

```

The new line killed the control panel window after applying the new theme.
Répondre

Revenir à « Active Directory & Entra »