中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-10 16:59
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » [Closed] Viewing system patches with batch processing
Printable Version  1,841 / 8
Floor1 czwlay Posted 2007-01-30 06:50
初级用户 Posts 35 Credits 94
How to use batch processing to view what patches the Windows system has installed? Can this batch processing do it? Please expert give "tips"!!!!

[ Last edited by HAT on 2008-11-19 at 10:22 ]
Floor2 redtek Posted 2007-01-30 07:10
金牌会员 Posts 1,147 Credits 2,902
The reference code you need to find regarding checking which patches have been applied in the Windows system is in the following post~:)

See the second code segment in the first post of the following thread (I have tested it for you), and I hope you use the forum search function when encountering problems (I also used the forum search function to enter the keyword "patch" to find the following thread for you), this can solve the problem more conveniently and quickly~:)




Batch processing for batch updating system update patches


http://www.cn-dos.net/forum/viewthread.php?tid=26057&fpage=1&highlight=%E8%A1%A5%E4%B8%81

[ Last edited by redtek on 2007-1-29 at 06:15 PM ]
Floor3 fastslz Posted 2007-01-30 07:21
铂金会员 Posts 2,315 Credits 5,493 From 上海
@echo off
set reg="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows XP\SP3"
for /f "tokens=*" %%i in ('reg query %reg%') do echo %%~ni
pause
Floor4 fastslz Posted 2007-01-30 07:29
铂金会员 Posts 2,315 Credits 5,493 From 上海
Hehe, Brother redtek has already replied~
Floor5 electronixtar Posted 2007-01-30 09:16
铂金会员 Posts 2,672 Credits 7,493
WMIC works, call lxmxn to come and have a look
Floor6 czwlay Posted 2007-01-30 10:09
初级用户 Posts 35 Credits 94
Thank you everyone
To: exlctronixtar
How to view with WIMIC?
Floor7 electronixtar Posted 2007-01-30 10:49
铂金会员 Posts 2,672 Credits 7,493
I don't remember very clearly, but I searched it out, hehe

systeminfo |findstr /c:"KB“

wmic qfe

This post has been added to the wiki

http://www.cn-dos.net/mediawiki/index.php?title=Check%20which%20hotfixes%20(Hotfix)%20Windows%20has%20installed&action=edit

[ Last edited by electronixtar on 2007-1-30 at 10:52 AM ]
Floor8 anqing Posted 2007-02-08 22:50
高级用户 Posts 413 Credits 859
Originally posted by fastslz at 2007-1-30 07:21:
@echo off
set reg="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows XP\SP3"
for /f "tokens=*" %%i in ('reg query %reg%') do echo %%~ni
pause


Another key value learned
Top
Floor9 bd123456789 Posted 2008-11-19 10:19
中级用户 Posts 216 Credits 360
wmic qfe

Question 1:
After execution, there are such patches:
Microsoft .NET Framework 1.1 Hotfix (KB928366)

Windows XP Service Pack 3

Are these two patches applied in the same way as other patches such as (KB958644)?

I don't know much about patches yet, and after checking the materials, I still can't figure it out.

Question 2:
Is the patches obtained by WMIC very complete?

Question 3:

This is the Malicious Software Removal Tool windows-kb890830-v2.4.exe
It should also be a patch. Why does it run again when I apply it the second time?

[ Last edited by bd123456789 on 2008-11-19 at 10:33 ]
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023