With my son's Toshiba, running Vista, we had created the restore DVDs when new. When the hard drive died I simply replaced it and used the recovery DVDs to reinstall as new. Everything was as factory set and we could even create the recovery discs again. Hope that helps.
Microsoft Lumia 950 vs Lumia 950 XL: What's the difference between Lumia 950 & 950 XL?