My desk top is connected to my tv the movies play but there is no sound

If it's through HDMI, you'll need to change the computer's audio source to HDMI

Right-click speaker icon in Windows and set the playback device to HDMI
 
Solution