运行下列批处理脚本即可,记得用管理员身份哦!
@echo off
pushd "%~dp0"
dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt
dir /b C:\Windows\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:"C:\Windows\servicing\Packages\%%i"
pause
windows10 家庭版中找不到 gpedit.msc 怎么办?
原文:https://www.cnblogs.com/wbyixx/p/14095438.html