If you've lost a CD key before installing a game, the best step is to contact the person who provided it or the retailer, who can often supply a replacement. Keep your purchase receipt as proof.