Adam Laycock


Featured Posts

Moving to Gatsby

4th December 2018

Ive moved my site over to Gatsby!

Everything an Option in the Theme

18th August 2016

My aproach to WordPress theme development.

RADIUS With Windows Server 2012R2

22nd July 2016

RADIUS authentication for wireless networks using NAP in Windows Server 2012R2.

Disable Windows 10 Colour Filter Shortcut with a GPO

8th February 2018

  • Windows 10

I came across an interesting problem today. A Windows 10 1709 machine was black and white and no one knew how it had happened.

Windows 10 has a colour filter system to help colour blind users that has the rather badly placed shortcut Windows+Ctrl+C. That’s right a shortcut that by default makes the screen black and white is 1 key away from the copy shortcut.

It can be turned off just as easily with Windows+Ctrl+C but that doesn’t help prevent the problem happening in the first place.

Disable the Shortcut

A few google searches showed me that there used to be a tick box for this that had a registry key alongside it. This appears to be gone in 1709.

Setting the registry keys to off would disable it on next sign in but not stop a user toggling it.

The solution I found was to set the FilterType registry key to a number that didn’t match a filter. Now when a user enables colour filters nothing changes, it says you have a filter enabled but no filter is applied. A user going into settings to enable it and change the filter would be able to, but it would un-apply next sign in.

Open up regedit and head to HKEY_CURRENT_USER\Software\Microsoft\ColorFiltering change the FilterType key to any number over 5 (I used 10).

Color Filter Registry Settings

Disable the Shortcut with a GPO

Now that we have a registry key to fix the problem its a simple matter of using GPP registry settings to update the key for each user.

As this is a User registry key the policy needs to be applied to users.

In your, GPO open User Configuration/Preferences/Windows Settings/Registry and add a new item with these settings.

GPP Registry Settings

This has to be a replace action as the key doesn’t exist until the first time it is used.

Hopefully, this helps you fix this problem on your network. Obviously, if you do want colour filters you can use item-level targeting to exclude colour blind users from this registry fix.

Other Posts

Screeps Part 22 – War and Claiming Another Shard

20th December 2017

Pushing out into the map and other shards for profit.

wp_enqueue_less a replacement for WP-Less

6th July 2018

A new LESS compiler for WordPress

Adam Laycock
Recent Articles

All content is my own unless otherwise stated.

My content is licensed under the CC-BY-NC-SA 4.0 license

cc by-nc-sa