How to Enable gpedit.msc on Windows 11
In this article
Windows 11 Home does not include the Group Policy Editor, so gpedit.msc will not open on a Home edition PC. The fix is to install the Group Policy Editor package through an elevated Command Prompt using Microsoft's own DISM package installer, then restart. Windows 11 Pro, Enterprise, and Education already include it and only need it enabled if the snap-in was removed. The steps below use only built-in Windows tools and official Microsoft package files.
What You'll Need
- A Windows 11 PC (Home, Pro, Enterprise, or Education).
- An account with administrator rights.
- An internet connection for the first attempt, since DISM may need to pull the package from Windows Update.
- A system restore point is recommended before making system-level changes.
Step-by-Step
- Confirm your Windows edition. Press
Win + R, typewinver, and press Enter. The dialog shows your edition and build. If it says Pro, Enterprise, or Education, gpedit.msc should already be present; skip to step 6. If it says Home, continue. - Create a restore point. Open Start, search for Create a restore point, open it, select your system drive, click Create, name it, and confirm. This gives you a rollback if anything goes wrong.
- Open Command Prompt as administrator. Open Start, type
cmd, right-click Command Prompt, and choose Run as administrator. Approve the User Account Control prompt. - Run the DISM package command. In the elevated window, type the following exactly and press Enter:
FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum") DO dism /online /norestart /add-package:"%F" FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum") DO dism /online /norestart /add-package:"%F"DISM scans the local package store, matches the Group Policy client files, and installs them. Each line may take a minute or two; wait for the success message before running the second command. - Restart the PC. Close Command Prompt and restart Windows normally. The Group Policy Editor registers itself during startup.
- Open gpedit.msc. Press
Win + R, typegpedit.msc, and press Enter. The Local Group Policy Editor window should appear. If it does, the install worked. If you see an error that the file cannot be found, go to Troubleshooting below.
Common Mistakes
- Running the command in a normal Command Prompt. DISM needs elevation. Without administrator rights, it will report an access denied error and install nothing.
- Typing the command by hand and mistyping the wildcard. The
~3*part is required; without it, the FOR loop finds no files and DISM reports that the package path does not exist. - Running only the first command. Both the ClientExtensions and ClientTools packages must be installed. Installing only one leaves gpedit.msc missing or partially functional.
- Skipping the restart. The snap-in is registered at boot. Opening gpedit.msc before restarting often fails even though the install succeeded.
- Assuming Home is broken. gpedit.msc is not part of Home by design. It is not a bug and not a sign of a corrupted install.
Tips
- Run the two DISM commands one at a time and read the output. A line ending in The operation completed successfully means that package installed.
- Keep a note of the exact command text so you can re-run it after a feature update, since major Windows updates can remove sideloaded packages.
- Group Policy changes made through gpedit.msc are stored in the registry and apply to all users on the PC, so review each setting before applying it.
- If you only need one or two policy settings, check whether the same option exists in Settings or the registry before installing the editor. Many common policies have a Settings equivalent.
- On a managed work or school PC, Group Policy may be controlled centrally. Local changes can be overwritten by your organization, so check with IT before editing.
Troubleshooting
gpedit.msc still says the file cannot be found. Reopen Command Prompt as administrator and re-run both DISM commands. If DISM reports that it cannot find the package, the local store may be missing the files; run DISM /Online /Cleanup-Image /RestoreHealth first, then retry the two package commands and restart.
DISM returns error 0x800f0906 or a source-files error. This usually means Windows Update cannot reach Microsoft's servers. Connect to the internet, check that Windows Update is working, and retry.
gpedit.msc opens but some policies are missing. The ClientExtensions package likely did not install. Re-run the first DISM command and restart.
You want to undo the change. Use the restore point from step 2. Alternatively, remove the packages with dism /online /remove-package using the same package names, then restart.
You are on Pro but gpedit.msc is missing. Run sfc /scannow in an elevated Command Prompt to repair system files, then restart. If it is still missing, a repair install of Windows using the official Media Creation Tool restores it.
Frequently Asked Questions
Does Windows 11 Home include gpedit.msc?
No. The Group Policy Editor is not part of Windows 11 Home. It ships with Pro, Enterprise, and Education editions.
Is installing gpedit.msc on Home safe?
The method above uses Microsoft's own package files and DISM, the same tool Windows uses for updates. It is not an unofficial download. Still, create a restore point first, because policy changes affect the whole PC.
Will a Windows update remove gpedit.msc?
Feature updates can reset sideloaded packages. If gpedit.msc disappears after a major update, re-run the two DISM commands and restart.
Can I use gpedit.msc on a work or school PC?
You can open it, but policies set by your organization take priority. Local edits may be overwritten at the next policy refresh.
What is the difference between gpedit.msc and the registry?
gpedit.msc is a graphical front end for policy settings that ultimately write to the registry. Editing the registry directly works too, but it is easier to make a mistake, so use gpedit.msc when the setting is available there.
Do I need to reinstall Windows to get gpedit.msc?
No. On Home, the DISM method adds it without reinstalling. On Pro, run System File Checker first; a repair install is only a last resort.