How do you repair drivers windowmotor runs but dont move?

if the motor is running and the window is not moving the most likely answere is that the motor has disconected from the window reamove your door panal and reconnect the lifter arm between the two. the bolts get loose over the years due to vibration