TODO
In this article, I will teach you how to:
Open Local Group Policy Editor
In Windows Pro
It is simple in Windows pro (unless Windows 10 or 11), you just have to
Step 1:
Click the shortcut Windows + R to open the Run shell (what is run shell? see my demo video).
Step 2:
Then search gpedit.msc .
Type gpedit.msc in search bar, and click ok.
In Windows Personal
To do this in the Window personal version, you have to list the packages by running the following batch file with Administrator privilege (in Batch file section).
Step 1:
Type these commands and store it into a batch file (shown in the Batch file section).
Then execute it with Administrator privileges.
Step 2:
Follow the steps on the above section. (steps are in In Window Pro section.)
NOTICE
Notice that
The batch file must be executed with Administrator privilege, otherwise, it will fail.
Then after executing the batch file, it will generate a text file (default named List.txt).
It can't be deleted before the steps finished, otherwise, it may fail in consecutive steps (here, is step 2).
Don't execute step 2 until step 1 completes.
(i.e. You must wait for the batch files completes running, then execute the step 2.)
Batch file
@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
Demo
On YT video,
Additional Reference
讓Windows 10 Home 家用版 新增支援 gpedit.msc 本機群組原則編輯器 | 老貓測3C (iqmore.tw)