Q: "If I go to add and delete it, I need to view one by one, slowly! Is there any good way to check what patch I installed?"
GNAW0725 A:
Test Environment: Windows XP Professional English MUI Simplified Chinese Service Pack 2 RTM
'' VBScript Source File - Created with SAPIEN Technologies PrimalScript 3.1 '' NAME: Enumerate Installed Hotfixes.vbs '' COMMENT: After the execution of the script will be generated in the current directory htm file InstallHotfixes.htm, and then run it, the current computer A list of patches already installed. '' ================================================== =========
"." StrComputer = Set objWMIService = GetObject ( "winmgmts:" _ & "! {ImpersonationLevel = impersonate} //" & strComputer & "/ root / cimv2") Set colQuickFixes = objWMIService.ExecQuery _ ( "Select * from Win32_QuickFixEngineering" ) Set objFS = CreateObject ( "Scripting.FileSystemObject") Set objNewFile = objFS.CreateTextFile ( "InstallHotfixes.htm") objNewFile.WriteLine "" objNewFile.WriteLine "