Magpienja
I am no computer expert, but the answer to your question is if you format the hard drive (assuming the laptop has only one hard drive) then it will wipe the operating system as well as all else. In that case you will need to reinstall an operating system.