If you allowed diagnostic data when you installed Windows I’m pretty sure it says for Windows and other Microsoft products and not just Windows. There is no way they would grab that info illegally, it would cost them billions if caught so if and when they are using your data you can bet you have 100% agreed to it whether you know it or not.