I use to play tricks on my users and make the tray open and close automatically from my desk! That was fun but I guess your problem isn't! Drives are a dime a dozen nowadays so I would just replace it.
I would think that the door opening and closing like that would be funny.
That is the kind of fun that makes the day go by a bit better. I actually thought it was funny when my bay was opening and closing every ten seconds. Thought the dang thing was haunted. Then I thought to myself, "Oh no, I have to call India again"!! But I had a brainstorm and decided to eliminate DELL from the process all together.
I always prefer to deal with Americans. One experience of talking to India DELL was enough for me. Had me on the phone almost 2 hours. Tried to sell me everything on the menu. I hope I never have to make that call again.