Enable GPEDIT on Windows HOME
This commit is contained in:
parent
9ce28660cd
commit
fa05f47835
8
scripts/gpedit-enabler.bat
Normal file
8
scripts/gpedit-enabler.bat
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user