You need tto post a LOT more details to get meaningful help. As CD drives don't just become disconnected, was there some sort of monkeying inside the case prior to the problem?
What else is involved in the history here? Why are you trying to reinsttall WIndows? Is that a real Windows CD, very shiny, that says Microsoft on it?