Skip to content

Instantly share code, notes, and snippets.

@sahapasci
Created January 14, 2026 21:59
Show Gist options
  • Select an option

  • Save sahapasci/e8464997ece4ae13932ad00ec0b52dda to your computer and use it in GitHub Desktop.

Select an option

Save sahapasci/e8464997ece4ae13932ad00ec0b52dda to your computer and use it in GitHub Desktop.
# Enable Group Policy Editor on Windows Home using DISM

Enable Group Policy Editor on Windows Home using DISM

Windows Home editions do not include Group Policy Editor (gpedit.msc) by default. However, the required Group Policy Client packages are already present in the system and can be installed manually using DISM.

This document explains how to enable them safely using built-in Windows components.


Commands

Run the following commands in an elevated Command Prompt (Run as Administrator):

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"

What These Commands Do

  • Iterates through all matching .mum package files.
  • Installs Group Policy Editor tools and client extensions using DISM.
  • Applies changes to the currently running Windows installation.
  • Prevents automatic restart after installation.

Important Notes

  • Commands must be run as Administrator.
  • %F works only in interactive Command Prompt sessions. For .bat or .cmd files, replace %F with %%F.
  • A system restart may be required.
  • Uses official Windows packages already included in the OS.

Result

After completion, launch Group Policy Editor with:

gpedit.msc

Disclaimer

This method is not officially supported by Microsoft for Windows Home editions. It relies solely on built-in Windows components and does not modify files outside the Windows component store.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment