This should not be the fix, but noting here for posterity that this can be disabled in the Group policy Editor:
To stop Windows from auto-installing it again, or to block similar apps from other brands, open Group Policy Editor with gpedit.msc, then go to Computer Configuration, Administrative Templates, System, Device Installation. Enable “Prevent automatic download of applications associated with device metadata,” and click Apply.
This should not be the fix, but noting here for posterity that this can be disabled in the Group policy Editor:
Isn’t the group policy editor disabled for most non-Enterprise editions of Windows these days?
Somehow people think linux is hard