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"
pause

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

group-policy-batch-file

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

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.

https://windowsreport.com/enable-gpedit-windows-11/

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