Do you want to restore the operating system? If so, there should be a recovery partition on it that you can access at boot up by hitting f5 or whatever it is for your model. If CD/DVD's came with it, boot from the OS disk and you should be good to go. If you want to recover say documents, photos, etc..., you are probably out of luck if it has been reformatted.