Or, if you don't care about the OS and only the data, just boot a live usb/cd of Ubuntu (because it's the most trivial), mount the Windows drive and extract all the data to some other usb/external hard drive. Then reset Windows, or install something over it.