标签:dir extension pushd 组策略 off dism start nbsp windows
复制底下代码,保存为bat格式文件,右击管理员运行
@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
标签:dir extension pushd 组策略 off dism start nbsp windows
原文地址:https://www.cnblogs.com/xwdzj/p/13040864.html