Created
November 18, 2022 17:50
-
-
Save gellanyhassan0/e297e00a0de07662f8d733bfba3a8c6d to your computer and use it in GitHub Desktop.
How to Enable Gpedit.exe in Windows 11 [Quick Guide]
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
| @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 |
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
| #https://windowsreport.com/enable-gpedit-windows-11/ | |
| Press Windows + R to open Run, type gpedit.msc, and hit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment