Both are just fine for mining and the differences are marginal most of the time. After you get BIOS issues and all that out of the way, just pick whichever you like more. Windows is usually not free and although you can get licenses for under $5 nowadays, I still prefer Ubuntu for its simplicity and compatibility with pretty much all mining software.
Where are you getting a $5 Windows license?
Seuss
I get free.
Install 7; activate.
Install 10 as upgrade after SP1 updates on 7.
Automatically Licensed/activated copy of 10.
Just don't use a blacklisted 7 install; or janky autoKMS.