First of all, normal programs shouldn't be messing with Windows Update
configuration.
That's something the user (or the user's administrator) decides.
If you're an IT administrator, then you can use Group Policy
to configure Windows Update
on your network. But maybe you're a special case where the above remarks don't apply.
Say you're a ...