If it has the factory recovery partition installed, you can simply do the following. If it does not and you do not have installation media you would need to locate your installation key using magic jelly bean keyfinder (IF you have a valid licensed version installed. If not, you're SOL.)
This will extract your current license key, if valid, it can be used to reinstall:
https://www.magicaljellybean.com/keyfinder/
You can also reset your installation for most versions by doing the following, IF, you still have the recovery partition that came on the laptop's hard drive:
http://www.pcworld.com/article/2364269/how-to-reinstall-windows-like-a-pro.html
If you have or are willing to buy installation media (Which is not a bad choice at...