Gpedit in Windows 11: How to Enable Group Policy Editor

Windows 11 Home doesn't have gpedit installed by default

Reading time icon 2 min. read

Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • To install Group Policy Editor on Windows 11, you need to create and run a batch script.
  • You can also use the Command Prompt to quickly get access to this feature.

Sometimes it’s not easy to access Gpedit on Windows 11 and this can be a problem if you’re working on a certain issue that requires this feature.

Some versions of Windows don’t even have Group Policy Editor and in today’s guide, we’re going to show you how to properly enable and access it.

Why is Gpedit not available in Windows 11 Home?

With Group Policy Editor you can make adjustments to many advanced and hidden settings, and the majority of home users usually never have to modify those settings. This is why this feature isn’t available in the Home Edition of Windows.

How do I enable Gpedit in Windows 11?

1. Enable Group Policy Editor with a batch file

If you were wondering how to enable Group Policy Editor in Windows 11 Home, running the batch file would do the trick.

1.To install gpedit.msc on Windows 11, press Windows + S to open the Search menu, enter Notepad in the text field, and click on the relevant result.

open notepad

2. Copy this batch file code by selecting the text and pressing the Ctrl + C hotkey:
@echo off
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt
dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt
for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"

3. Press the Ctrl + V keyboard shortcut to paste the copied batch file code into Notepad.


4. Click on the File menu in the Notepad, and select the Save As option.


5. Head to the desired location, enter Group Policy Editor.bat as the File name, choose All files from the Save as type dropdown menu, and click on Save.

batch file to get group policy editor windows 11

6. Thereafter, right-click the Group Policy Editor batch file and then select Run as administrator.

7. If a UAC prompt opens, select the Yes option on it.

8. Thereafter, a Command Prompt window will open. Wait until it says, 100% This operation completed successfully, before you close that window.

2. Enable Group Policy Editor via the Command Prompt

  1. Press Windows + S to open the Search menu, type Command Prompt in the text field, and click on Run as administrator.
    Run as administrator option enable gpedit windows 11
  2. Click Yes in the UAC prompt that appears.
  3. Next, select and copy this text with the Ctrl + C hotkey:
    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")
    run command to install group policy editor windows 11
  4. Press the Ctrl + V hotkey to paste that text into the Command Prompt’s window. Doing so will automatically execute a command that enables Group Policy Editor.
  5. Wait for the operation to reach 100 percent.

After the Group Policy Editor for Windows 11 download is complete, restart the computer and then open the tool.

How do I access the local Group Policy Editor?

  1. Press Windows + R to open Run.
  2. Type gpedit.msc, and hit Enter.gpedit.msc
  3. After doing that, the Group Policy Editor will open.

Why doesn’t my computer have a Group Policy Editor?

Your Windows installation is damaged and Group Policy Editor isn’t working, or you’re using a Windows Home edition that doesn’t have this feature.

To see how to fix this, check our guide on what to do if gpedit.msc is not found in Windows 11.

Overall, it’s very quick and straightforward to enable Gpedit in Windows 11, and it requires just running a couple of commands.

To learn more, check our guides on how to install Group Policy Editor on Windows 10 Home or how to get Group Policy Management console in Windows 11.

Let us know which method worked for you in the comments area below.

More about the topics: group policy editor