|Well as mickliq said it wasn't format. You can't format from Windows anyway. Hopefully you didn't format something important.|
I suspect you need to google "taking ownership of files" to deal with the access denied message but to be sure tell us EXACTLY what you did and why.
Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's