How do you fix “MMC cannot initialise the snap-in” for GPO ?

Resolving the “MMC Cannot Initialize the Snap-in” Error When Accessing Group Policy Editor on Windows 11

The Group Policy Editor (GPO) is an essential tool for managing system policies and configurations in Windows Professional and Enterprise editions. However, users who upgrade or install Windows 11 Home often encounter difficulties accessing GPO due to its absence in the Home edition. When attempting to run the Group Policy Editor, you might see the error: “MMC cannot initialize the snap-in.” This article provides a comprehensive guide to troubleshoot and resolve this issue, even after upgrading from Windows 11 Home to Pro.


Understanding the Issue

Since Windows 11 Home does not include the Group Policy Editor by default, users often attempt to manually add or enable GPO support. Common symptoms of issues include:
– Inability to launch gpedit.msc
– Error messages such as “MMC cannot initialize the snap-in.”
– Missing or incomplete GPO snap-ins and folders

The problem persists even after upgrading to Windows 11 Pro, indicating that the GPO components may not be correctly installed or registered.


Step-by-Step Solution

Below are thoroughly tested methods to fix the “MMC cannot initialize the snap-in” error. Always ensure you back up your system before making significant changes.

1. Install Group Policy Components Manually

Since Windows 11 Home lacks GPO, manual installation or addition of Group Policy components is necessary. Use the Deployment Image Servicing and Management (DISM) tool along with PowerShell commands.

Command to add GPO packages:

bash
FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~*.mum") DO (
DISM /Online /NoRestart /Add-Package:"%F"
)
FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~*.mum") DO (
DISM /Online /NoRestart /Add-Package:"%F"
)

Note: If executing these commands in a batch or script, replace %F with %%F.

2. Run System File Checker and DISM for System Repair

Corrupted or missing system files can cause snap-in initialization errors. Use the following commands to repair system health:

`bash
dism /online /cleanup-image /restorehealth
sfc /scannow

Share this content:

Leave a Reply

Your email address will not be published. Required fields are marked *