Your laptop should have a activation sticker affixed somewhere. Possibly under the battery.
Or, there are apps like :magical jellybean keyfinder" that will display your activation code.
Make a note of that to use when you reinstall windows.
Some laptops have a reset key to reset the laptop to the initial factory settings. You should be OK with that.