There is a tool called ‚Shut up, Windows 10‘ that let‘s you deactivate all telemetry and other annoying features with one click.
A reddit thread [0] suggests using a PowerShell-based alternative.
[0] https://old.reddit.com/r/sysadmin/comments/3i766c/shut_up_wi...