Windows中是否有一种方法可以检查是否已修补了安全公告MS**-***
或CVE-****-*****
?类似于RedHat的rpm -q --changelog service
的东西
Windows 2008 R2 SP1
发布于 2011-11-30 18:07:36
WMIC可以列出已安装的修补程序:
C:\>wmic qfe get hotfixid, installedon
HotFixID InstalledOn
KB2605658 11/30/2011
KB2608610 9/1/2011
KB2608612 9/26/2011
KB2614194 9/26/2011
...(more)...
它还可以搜索特定的修补程序。这里我展示了两个搜索-一个成功,一个不成功:
C:\>wmic qfe where (hotfixid = 'KB2608610') get hotfixid, installedon
HotFixID InstalledOn
KB2608610 9/1/2011
C:\>wmic qfe where (hotfixid = 'nosuch') get hotfixid, installedon
No Instance(s) Available.
发布于 2011-11-24 18:23:00
我对服务器运行PSinfo -h以显示已安装的修补程序。
发布于 2011-11-24 20:00:29
如果您不能使用pstools并发现自己被本机Winder工具所困,另一种选择是:
reg query hklm\software\microsoft\windows\currentversion\uninstall /s | findstr "KB[0-9].*" > %TEMP%\Installed.txt & notepad %TEMP%\Installed.txt
https://serverfault.com/questions/334552
复制相似问题