add GPEDIT.MSC in Windows 10/11 Home

สร้าง bat file ชื่อ gpedit-ena.bat แล้ว run 

				
					@echo off
pushd “%~dp0″
dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >Files.txt
dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>Files.txt
echo Installing Group Policy Editor…
for /f %%i in (‘findstr /i . Files.txt 2^>nul’) do dism /online /norestart /add-package:”C:\Windows\servicing\Packages\%%i”
echo.
echo Installation complete.
echo.
pause