本帖最后由 WHY 于 2019-9-8 21:59 编辑
比如,卸载补丁KB1234567- wusa.exe /uninstall /kb:1234567 /quiet /norestart
复制代码
- @echo off
- for /f %%i in ('dism /online /get-packages /format:table ^| find /i "kb1234567"') do (
- dism /online /remove-package /packagename:%%i /norestart
- )
复制代码
|