By wiping your laptop, do you mean a complete wipe of your entire drive or are you just performing a factory reset?
If your wiping your hard drive completely, you will have no data on it (assuming you wipe it correctly) so you will lose your Windows 8.1/10. Since you bought the laptop with...