did u checked about Viruses in your computer..
or u can check if it software or hardware problem by try opening it when u open your PC or under DOS.. to check if it was a virus problem or hardware problem..
It keeps opening and closing all by itself. Will stay open for a while and then close. Sometimes just opens part way a few times then goes back to opening and closing. My device manager says it is working properly. It will not open or close when I tell it to, just when it wants to. HELP!!!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic