Small utility that sets Windows settings via the back-end used by the Windows 10 setting app.
This tool has the potential to make most Windows settings easily configurable. Howewer, the Windows Settings back-end is undocumented. Under-handed techniques are used, and some settings will crash. Different OS releases may have different settings.
The interesting code is in the SettingsHelper.
Reads a JSON array of payloads from stdin:
SettingsHelper < payload.json
List all possible settings for the current system:
SettingsHelper -list
The payload sent to the application's standard input looks like this:
[
{
"settingID": "SystemSettings_Accessibility_Magnifier_IsEnabled",
"method": "SetValue",
"parameters": [ true ]
}
]
settingID
: The setting ID. SeeSettingsHelper -list
method
: The method of to invoke.parameters
: Parameters to pass (optional).
There can be several items, allowing more than one setting to be applied.
[
{
"settingID": "SystemSettings_Display_BlueLight_ManualToggleQuickAction",
"method": "GetValue"
}
]
See Further documentation and examples
A tool to explore, inspect, and apply settings. Use this to determine the available settings (and which ones explode).