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