Reinstalling broken Linux systems has been my go-to technique for 20-odd years. It shouldn't take any time at all to get them back up and running, because all the installation and deployment is automated.
I've never tried Windows but I've heard it's a faff to do this. Good to hear it's catching up, though!