I can understand you received error "MMC cannot initialize the snap-in" while accessing GPO editor.
Please download below fix from Microsoft to resolve this issue then Power-cycle your PC.
Hope this answers your question :)
Thank you.
--
--If the reply is helpful, please Upvote and Accept as answer--