With any of those, you'd want to create Win10 installation media on USB (using the official Windows 10 media creation tool from Microsoft) to format and install fresh Win10 on the system. Last I tried (about a week ago) you can still activate Win10 with a Win7 key because MS wants people on the latest version of the OS.