You can install a brand new Hard Drive and do a Clean Installation of Windows 10 on it.
Just download a “Windows 10 Bootable USB” from official Microsoft Website
plug in a USB
let it do its thing
open the laptop
replace the hard drive
install windows on a new hard drive
enjoy your block free life
for 70$ maybe