If you download the IDE from the Microsoft site, they tell you that it is not compatible with Windows 10 so don't waste your time trying to use it with Windows 10. There is no way to make it work. People mean well and try to help and they offer some suggestions which can be quite complicated and involved but they do not work. I have never seen anyone say that they have the IDE working with Windows 10. I was pretty sure I had it working before on a computer with Windows 10 in the past but it won't work now and like I said, if you download it from the Windows app store they tell you it does not work with Windows 10. I wish they had that warning on the Arduino download page.