From fa05f47835ea57cf08589b7756cb35ef59a82c7c Mon Sep 17 00:00:00 2001 From: MJ Antipode Date: Fri, 15 Oct 2021 07:58:35 +0000 Subject: [PATCH] Enable GPEDIT on Windows HOME --- scripts/gpedit-enabler.bat | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/gpedit-enabler.bat diff --git a/scripts/gpedit-enabler.bat b/scripts/gpedit-enabler.bat new file mode 100644 index 0000000..d78f99f --- /dev/null +++ b/scripts/gpedit-enabler.bat @@ -0,0 +1,8 @@ +@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 \ No newline at end of file