? 复制以下代码至记事本中
@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
? 文件后缀改为.cmd运行即可
? “gpedit.msc”查看
? 脚本下载 https://pan.baidu.com/s/1VawuR3LlW9HrCbpHepPybA pdkw
原文地址:https://www.cnblogs.com/FLY-HUI/p/9154248.html
时间: 2024-11-02 16:07:22