Skip to content

Instantly share code, notes, and snippets.

@mudiadamz
Created November 16, 2021 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mudiadamz/9a7809dafc13a85a47eccbaa04dcbc8c to your computer and use it in GitHub Desktop.
Save mudiadamz/9a7809dafc13a85a47eccbaa04dcbc8c to your computer and use it in GitHub Desktop.
windows 10 home group policy enabler
@echo off
@echo "This batch file from MajorGeeks.Com will enable Group Policy Editor (Gpedit.msc) on Windows 10 Home."
@echo "If this method fails, there are other methods to try at https://tinyurl.com/majorgeeksgpedit"
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment