Create gpedit.bat
This commit is contained in:
parent
36c6451445
commit
048777a8bc
8
gpedit.bat
Normal file
8
gpedit.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
|
Reference in a new issue