Created
May 7, 2024 16:41
-
-
Save michele-tn/af9490e2ab9829ccf0a6b254c89686fc to your computer and use it in GitHub Desktop.
Enable Group Policy Editor (gpedit.msc) on Windows 10/11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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