I have been able to control 'Invert Colours' settings in the Accessibility using a configuration profile and applying it to the computer object. However, Command+Option+F5 and Control+Option+Command+8 both remain operational at the login screen.
Any ideas about how to lock this down?
Hey @HelpDeskWarrior Check out this post https://jamfnation.jamfsoftware.com/discussion.html?id=9981 It talks about disabling Spaces, which uses a keyboard shortcut like invert colors does. Might be a matter of figuring out what key is for invert colors. Also, if users are inverting colors at the login window then you'd have to apply those settings to root. Hope this gets you going in the right direction.
I looked around and found a few other bits from these sites:
The parameters for the invert colours appears to be 56, 28, 1835008
But I cant find a way to disable these shortcuts at the login window, creating the settings in a plist in /Library/Preferences/ didn't work
Thanks for the suggestion. I tried putting a com.apple.symbolichotkeys.plist file into /private/var/root/Library/Preferences but the keyboard shortcut still worked. I then noticed that there was a com.apple.universalaccess.plist file in there too, whenever the Invert Colours keyboard shortcut is pressed a value changes in that .plist
I set that to false in the file, but the keyboard shortcut still works. I then tried to make the file 'immutable' so root couldnt update that key with the 'chflags uchg com.apple.universalaccess.plist' command, but sadly the keyboard shortcut still works (even though the contents of the plist dont change) :(
Maybe there is something wrong with the syntax of the com.apple.symbolichotkeys.plist I was using, I'll try and test that out further.