If you're looking to just get the computer working, you can probably reformat the computer from its built-in recovery partition. Using it will destroy any data on the computer, (your stuff!), but it will bring the computer back to how it was when it was new.
If I remember correctly, the key to...