When you open Group Policy or MMC, the error message "MMC Cannot initialize snap-ins" is prompted. There are a number of reasons, there may be a registry parameter settings error, but also may be the problem of environment variables, let us solve this problem together!
1. Registration Form
Click Start, click Run, type the "regedit" command in the Open box, and click OK
Expand to the following branch, and then delete the MMC item
Hkey_current_usersoftwarepoliciesmicrosoftmmc
Then navigate to the following branch to ensure that the default value is "%systemroot%system32gpedit.dll"
Hkey_classes_rootclsid{8fc0b734-a0e1-11d1-a7d3-0000f87571e3}inprocserver32
2. Environment variable
Right-click My Computer, and select "Properties" in the pop-up right-click menu.
Switch to the Advanced tab on the System Properties page and click the Environment Variables button
Make sure the value of the variable named "Path" in the system variable is "%SYSTEMROOT%SYSTEM32;%SYSTEMROOT%;%SYSTEMROOT%SYSTEM32WBEM"
3. Register DLL file
To perform the "regsvr32 filemgmt.dll" command to register a DLL file
4, ensure the existence of framedyn.dll files
Enter the "%WINDIR%SYSTEM32WBEM" directory to ensure that Framedyn.dll files are not deleted or corrupted