Automating Disk Cleanup Tool in Windows
docs.microsoft.com
docs.microsoft.com
I salute whomever implemented this, storing settings in a registry key, with a simple number for id.
I feel they did a good job of "how simple could we possibly make the change to allow automation of this tool".