Writes the AllowTelemetry = 0 policy under Policies\Microsoft\Windows\DataCollection. This greys out the Settings 'Diagnostic data' control and forces the lowest level the edition allows. Honest caveat: the true '0 = Security' level is only fully honoured on Enterprise/Education/Server — on Home and Pro the OS floors it at 'Required (Basic)', so essential diagnostics still flow (combine with the DiagTrack + telemetry-task tweaks for the biggest reduction). Effective after the telemetry service restarts / reboot. Reversible; revert restores the prior value (or removes the policy if it wasn't set).
MaxTweaks applies this tweak with one click and snapshots your original setting first, so you can revert it cleanly at any time. A System Restore point is offered before batch changes, and every tweak links to its official source.
Get MaxTweaksOfficial documentation: https://learn.microsoft.com/en-us/windows/privacy/configure-windows-diagnostic-data-in-your-organization