The most recent versions of Windows 10 has an option in settings that apparently prevent the OS sending your activity history to Microsoft. However, HowToGeek has reported that these options may be insufficient in the case of app-history tracking. This information may still be collected unless every relevant privacy setting possible is modified.
https://www.notebookcheck.net/Windows-10-may-track-your-app-using-history-even-if-you-ve-deactivated-it.381281.0.html