在使用我的VM guest虚拟机时,我的服务器上出现了问题,我认为这是由于最近安装的更新造成的。 从命令提示符或Powershell卸载Windows更新的正确命令是什么?
要获取已安装补丁的列表,您可以执行以下操作:
wmic qfe list
要卸载列出的修补程序,请执行以下操作:
wusa /uninstall /kb:<kbnumber>
以下是一些有关更多信息的链接: http : //www.systemcentercentral.com/BlogDetails/tabid/143/indexid/57960/Default.aspx http://support.microsoft.com/kb/934307
http://technet.microsoft.com/en-us/library/dd883262(WS.10).aspx
注意:934307知识库文章说,您无法在Windows 2008上使用/卸载 – 这不适用于Windows 2008 R2 – 它们启用了R2上的卸载开关(请参阅最后一个链接)。
由于我刚刚遇到了这个问题,从文档中可以wusa /uninstall /kb:<kb number> ,在使用wusa /uninstall /kb:<kb number>确保使用KB中的实际数字 ,而不是数字和 KB。
错误: wusa /uninstall /kb:KB123456
右键: wusa /uninstall /kb:123456
并从远程计算机上执行:wmic / node:SRVNAME进程调用create“powershell wusa / uninstall / kb:2639043 / quiet / norestart”
和wusa /? 有更多的参数信息
在Windows 10 /安静不再工作。 您可以使用:
$SearchUpdates = dism /online /get-packages | findstr "Package_for" $updates = $SearchUpdates.replace("Package Identity : ", "") | findstr "KBXXXXXX" #$updates DISM.exe /Online /Remove-Package /PackageName:$updates /quiet /norestart
请参阅: https : //social.technet.microsoft.com/Forums/windows/en-US/f6594e00-2400-4276-85a1-fb06485b53e6/issues-with-wusaexe-and-windows-10-enterprise?forum=win10itprogeneral