Skip to content

Instantly share code, notes, and snippets.

@kwon37xi
Last active April 13, 2022 06:45
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 kwon37xi/17b4ce4c705d4941540fb654aa1ac546 to your computer and use it in GitHub Desktop.
Save kwon37xi/17b4ce4c705d4941540fb654aa1ac546 to your computer and use it in GitHub Desktop.
Windows 10 Home enable Group Policy Editor
@echo off
REM https://www.makeuseof.com/tag/access-group-policy-editor-even-windows-home-settings-try/
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