There are many kind of solutions but this one is working for me. I tried to do it in different way but the only way in windows 10 working fine for me. The reason that one happened (Sony Vegas Pro 13 stopped working ) it's because when you updated your windows. So, you just follow my way if it is helpful or not.
Good luck !