转载自
https://blog.csdn.net/Xingchen0101/article/details/128943201
在本地部署一个bat文件
里面粘贴以下文本
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
标签:txt,gpedit,组策略,Package,List,Windows,servicing,win11,Packages
From: https://www.cnblogs.com/eveningSheep/p/17112738.html