Knee pain, especially during running, is usually due to a dysfunction in the hip from above or the ankle/foot from below the knee. Think of the knee as a junction between 2 different stilts. If one does not work right it will put undue stress to the knee.
I would have a qualified health practitioner to assess your gait mechanics first as well as your hip, knee, and ankle/foot mechanics to see if certain joints are not working correctly. From there they should be able to assess your dynamic functional movement to see you squat, hop, and then running mechanics.
Interventions should then take place to address any assessed deficits, and then progress you to proper running techniques.