Prevent a change to one or more Windows 10 registry key(s) [closed]

Solution 1:

Change permission of the key (and descendants) to NT Service\TrustedInstaller. This will stop most non-Microsoft applications from altering the setting. You will need to change this back to the previous settings if changes are needed, so export the Registry key before you change permissions.

Change Permission

To go back to the previous setting, first replace TrustedInstaller with yourself or Administrator.

N.B. If this is required by company policy, think twice before making a change, and check with an administrator! It might be worth your job.