Windows10 家庭版默认没有【本地组策略编辑器】,添加方法:
新建记事本复制以下内容
@echo off
pushd "%~dp0"
dir /b C:WindowsservicingPackagesMicrosoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt
dir /b C:WindowsservicingPackagesMicrosoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt
for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"C:WindowsservicingPackages\%%i"
pause
保存后,将记事本后缀名更改为.bat
右键管理员权限运行后耐心等待......
win+R快捷键调出运行,输入gpedit.msc然后回车,即可打开【本地组策略编辑器】