Windows technology articles-windows home version win+R can not find gpedit.msc group policy editor solution, windows install group policy editor method

The Home Edition does not have a group policy editor, you need to install it through the following script.
Save it as a bat file and execute it.
Note: The encoding must be ANSI .

Insert picture description here

@echo off
pushd "%~dp0"
dir /b %systemroot%\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >gp.txt
dir /b %systemroot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>gp.txt
for /f %%i in ('findstr /i . gp.txt 2^>nul') do dism /online /norestart /add-package:"%systemroot%\servicing\Packages\%%i"
pause

Implementation process renderings:
Insert picture description here

系统找不到指定的路径。

部署映像服务和管理工具
版本: 6.1.7601.24499

映像版本: 6.1.7601.24499

正在处理 1 (共 1) - 正在添加程序包 Microsoft-Windows-GroupPolicy-ClientTools-Pac
kage~31bf3856ad364e35~amd64~zh-CN~6.1.7601.17514
[==========================100.0%==========================]
操作成功完成。

部署映像服务和管理工具
版本: 6.1.7601.24499

映像版本: 6.1.7601.24499

正在处理 1 (共 1) - 正在添加程序包 Microsoft-Windows-GroupPolicy-ClientTools-Pac
kage~31bf3856ad364e35~amd64~~6.1.7601.17514
[==========================100.0%==========================]
操作成功完成。
请按任意键继续. . .

Insert picture description here

Insert picture description here
If you still can't find it, it may be that the environment variable is not equipped. The path to run the search is the two folders System32 and SysWOW64 under windows . See if you can find it inside.
Insert picture description here

Insert picture description here
Insert picture description here

Like it if you like it ❤!

Guess you like

Origin blog.csdn.net/qq_38161040/article/details/108389025