WINDOW 11

How to Fix "gpedit.msc Not Found" in Windows 11

3 SOLUTIONS
NOVEMBER 09, 2024

If you're using Windows 11 Home, you may see the message, "Windows cannot find 'gpedit.msc'" when trying to open the Group Policy Editor by pressing Win + R and typing "gpedit.msc". This isn’t a bug; Microsoft restricts this feature to Windows 11 Pro, Enterprise, and Education editions. But don’t worry—there are ways to enable or install gpedit.msc on Windows 11 Home.
gpedit.msc Not Found

Deepak Yadav
Deepak Yadav

Administrative Rights

Ensure you have administrator privileges.

Windows Edition Check

Verify your Windows 11 edition Windows + I > System > About

System Requirements

At least 2GB free space, Stable internet connection & No pending Windows updates

Advertisement

Manually Install (gpedit.msc) Editor

4 STEPS EASY 2 MIN

1/3

METHOD
Method 1
Overview

You can even solve the gpedit.msc "Not Found" problem with just installing Group Policy Editor by having all its components add right inside Windows 11 Home.

Method 1 of 3
Next Method

Open Command Prompt as Administrator:

Press Win + S, type cmd, right-click on Command Prompt, and select Run as Administrator.

Method 1 of 3
Step 1 of 4

Run the Installation Command:

Copy and paste the following command into the Command Prompt, then press Enter

dism /online /add-package /packagepath:"%windir%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package3amd64en-US10.0.22621.1.mum" dism /online /add-package /packagepath:"%windir%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package3amd64en-US10.0.22621.1.mum"

Caution: When pasting multiple lines into Command Prompt or PowerShell, Windows warns you. Review commands, then select Paste anyway to execute.

Method 1 of 3
Step 2 of 4

Restart Your Computer

After the command executes successfully, restart your PC.

Method 1 of 3
Step 3 of 4

Verify Installation

After restarting, press Win + R, type gpedit.msc, and hit Enter.

Group Policy Editor should now open.

Caution: If you face an installation error, check if you have the correct Windows version. Go to Settings > System > About to confirm.

Method 1 of 3
Step 4 of 4
Advertisement

Install gpedit.msc Using a Batch File

4 STEPS EASY 2 MIN

2/3

METHOD
Method 2
Overview

If the user is comfortable with scripting, then it is quite simply automated with a batch file.

Method 2 of 3
Next Method
Step 1

Create a Batch File

Right-click on your desktop, select New > Text Document, and rename it to EnableGpedit.bat.

Method 2 of 3
Step 1 of 4

Paste the Script

Open the file, paste the following code, and save:

@echo off pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package*.mum >file.txt dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package*.mum >>file.txt for /f %%i in ('findstr /i . file.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" del file.txt pause

Info: This script include all packages and prefer cleaning up the temporary file after execution.

Method 2 of 3
Step 2 of 4

Run the Batch File as Administrator

Right-click the batch file and select Run as Administrator.

This process will install the necessary components.

Method 2 of 3
Step 3 of 4

Restart and Open gpedit.msc

After installation, restart your PC, then press Win + R, type gpedit.msc, and press Enter.

Caution: It can be technical in running the batch file, but it is a good alternative if the command in the Command Prompt fails. Save your work and carefully follow the prompts.

Method 2 of 3
Step 4 of 4
Advertisement

Enable Using PowerShell

4 STEPS EASY 2 MIN

3/3

METHOD
Method 3
Overview

It is also much more appealing to users familiar with PowerShell because installing gpedit.msc requires no other download and no use of batch scripts to accomplish the installation.

Method 3 of 3

Open PowerShell as Administrator

Press Win + S, type PowerShell, right-click, and choose Run as Administrator.

Method 3 of 3
Step 1 of 4

Run the Installation Command

Copy below code and paste it in Powershell opened in step 1.

Get-WindowsCapability -Name Rsat.GroupPolicy.Management.Tools* -Online | Add-WindowsCapability -Online

Method 3 of 3
Step 2 of 4

Restart Your PC

After the command completes, restart your computer.

Method 3 of 3
Step 3 of 4

Verify Installation

Open Run (Win + R), type gpedit.msc, and press Enter to confirm it’s now available.

Caution: It is a good method for advanced users working with PowerShell. If the command does not work, make sure your Windows is updated since packages require particular versions.

Method 3 of 3
Step 4 of 4

Additional Tips

Image

Create a Restore Point: You can do this before making the changes, by using the inbuilt utility System Restore so you can go back if it doesn’t work out later.

Registry Editor for Missing Settings: If you cannot find some Group Policy options, check for the equivalent settings in the Registry Editor. Be careful with the path and values to follow.

Document Changes: Keep a record of every change in the Group Policy so you can easily backtrack or roll back later, if needed.