How to fix ''Mediacore'' and ''Dynamiclinkmanager'' on after effect problem solved

i’ve had an annoying problem, every time in lunched after effect it shows me an error message ‘’ Mediacore doesn’t work ‘’ i tried a lot to fix that problem i’ve saw many videos and tried many solutions but none of it worked for me, and then i tried my own solution and this worked for me so correctly ! i did a tutorial video of it and people were so happy !
if you have the same problem you’ll thank me a lot when you watch the video in the link bellow :wink: