Unable to open gpedit
Group policy editor is a very important tool when it comes to windows administration. Many policies and restrictions can be set using the group policy editor. Policies can be configured specific to the user or specific to the computer. But there may be situation when you will not be able to open the group policy editor.
I was trying to open the Group Policy Editor by typing gpedit.msc on the Run command and I got the error - " Snap-in failed to initilalize. Name: Group Policy object editor, CLSID:{8FC0B734-A0E1-11D1-A7D3-0000F87571E3} " Take a look at the screenshot below.

I did a little research and have come up with my findings:
- gpedit.msc and many other tools and functions in Windows depend on a dll file called framedyn.dll.
- So you get the above error because framedyn.dll is either missing or corrupted.
- framedyn.dll is located in %systemroot%\system32\wbem
How to fix it ?
- Click Start -> Run and type %systemroot%\system32\wbem and hit Enter.
- Check if you can find the file framedyn.dll (most probably it should be there because it is protected by Windows File Protection).
- If you do not see the file, then goto %systemroot%\system32\dllcache and copy framedyn.dll and paste it in %systemroot%\system32\wbem.
- If you find the file framedyn.dll, still copy it from %systemroot%\system32\dllcache and overwrite it with the one in %systemroot%\system32\wbem because as I said the one in the folder wbem could be corrupted.
- Now try to run the command gpedit.msc from Start -> Run, you should be able to open the Group Policy Editor, if still you are not able to open it then follow the below steps.
- Right click My Computer and click Properties.
- Click on Advanced -> Environmental Variables.

- Under System Variables, scroll down a little and find the Variable Path.

- Double click on Path and in the Variable Value field goto the end, place a semi-colon and enter the following %SystemRoot%\System32\Wbem and click ok.

Now you should be able to open Group Policy Editor with gpedit.msc

