Find KB number in Windows Installed Updates list

User avatar
Doc.AElstein
BronzeLounger
Posts: 1472
Joined: 28 Feb 2015, 13:11
Location: Hof, Bayern, Germany

Find KB number in Windows Installed Updates list

Post by Doc.AElstein »

Edit 23 Jan 2019: : see important note at bottom of this post: http://www.eileenslounge.com/viewtopic. ... 41#p222046" onclick="window.open(this.href);return false; , relating to limitastions of the wmic way
_.______________________________________________

Find KB number in Windows Installed Updates list

Hi,
Does anyone know of a quick way to check to see if you have a specific update.

Specifically, I want to look through the list found here:
Control Panel \ Programs \ Programs and Features \ Installed Updates
https://imgur.com/boRdFP7" onclick="window.open(this.href);return false;
and see if I have a few specific KB numbers




_ Maybe if I could get a list into a Word or Excel document then I could do a simple search manually or knock up a VBA code to do that.

_ Alternatively, if I could get the entire list sorted in order of the KB number then it would be fairly easy to look through when I have a specific KB number

The nearest answer I have found so far was here….
https://www.interfacett.com/blogs/how-t ... -computer/" onclick="window.open(this.href);return false;
but I have not got a clue what is going on there.

Thanks
Alan

P.S. Just out of interest, what does KB stand for in this case? Probably Knowledge Base?? – if so, why… ?
Last edited by Doc.AElstein on 24 Jan 2019, 14:27, edited 4 times in total.
\ -_- / :heavy: :jollyroger:

User avatar
HansV
Administrator
Posts: 72563
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Find KB number in Windows Installed Updates list

Post by HansV »

Regards,
Hans

User avatar
Doc.AElstein
BronzeLounger
Posts: 1472
Joined: 28 Feb 2015, 13:11
Location: Hof, Bayern, Germany

Re: Find KB number in Windows Installed Updates list

Post by Doc.AElstein »

Thanks Hans…That’s the link I have in my first post.. I can’t understand that at all
:(

Alan
\ -_- / :heavy: :jollyroger:

User avatar
HansV
Administrator
Posts: 72563
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Find KB number in Windows Installed Updates list

Post by HansV »

Press Windows key + R to activate the Run dialog.
Enter cmd in the box.
Press Ctrl+Shift+Enter to start an "elevated" command prompt.
Type the following in the command prompt, then press Enter:

wmic qfe get hotfixid

To export to a text file:

wmic qfe get hotfixid > c:\docs\list.txt

(Substitute an existing path and the desired file name)

To find a specific KB:

wmic qfe get hotfixid | find "KB1234567"

If KB1234567 is installed, you'll see KB1234567 on the next line, otherwise it'll remain blank.
Regards,
Hans

User avatar
Doc.AElstein
BronzeLounger
Posts: 1472
Joined: 28 Feb 2015, 13:11
Location: Hof, Bayern, Germany

Re: Find KB number in Windows Installed Updates list

Post by Doc.AElstein »

Thanks Hans…
Success: https://imgur.com/9Ze2FY6" onclick="window.open(this.href);return false;
:)

Following the initial instructions to get the Command Window given in that article , https://www.interfacett.com/blogs/how-t ... -computer/" onclick="window.open(this.href);return false; , ( click bottom left on Microsoft symbol -- type in cmd in small window – Hit Enter ) I had the problem that I could not seem to type in the Control window things like
/
or
:
I always got the wrong characters , that is to say different characters came up to what was on my keyboard.
Other things were also mixed up – For example, to get a
y
I had to type
z


But following your instructions I did not have those problems.

Also, the command
dism
which was shown in that article was not recognised.
But I was able to use some of the information given in that article, once I had used your initial instructions to get the Command window. Your method for getting the Command window up does not suffer from the wrong characters appearing when typed as does the method suggested in that article.
https://imgur.com/KIqZOzM" onclick="window.open(this.href);return false;

Thanks very much.
Alan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_____________________________________________________________________________
Edit .. Just some notes for future reference: Typical wmic commands...
wmic qfe get hotfixid > F:\Users\Alan\Desktop\Updates\KlausAlanJan14_Init.txt
wmic qfe get hotfixid > C:\Users\Petra\Desktop\Updates\PetraJan14_64Init.txt
wmic qfe get hotfixid > G:\Excel0202015Jan2016\OffenFragensForums\eileenslounge\Updates\KBJan2019.txt
wmic qfe get hotfixid > C:\Users\Alan\Desktop\Martin17thJan2019KBwmic.txt
wmic qfe get hotfixid > C:\Users\elston\Desktop\Updates\GB17Jan2019KBwmic.txt
wmic qfe get hotfixid > C:\Users\Admin\Desktop\Updates\Dietmar18Jan2019.txt
wmic qfe get hotfixid > C:\Users\Acer\Desktop\Updates\Drucky18Jan2019.txt
wmic qfe get hotfixid > C:\Users\Neu\Desktop\Updates\LGX11018Jan2019.txt





Edit 23 Jan 2019:
I was recently looking at the theme of updates again, ( For operating systems of Win 7 , Vista and XP )
( http://www.eileenslounge.com/viewtopic. ... 00#p244600" onclick="window.open(this.href);return false;
https://www.eileenslounge.com/viewtopic ... 79#p244479" onclick="window.open(this.href);return false;
http://www.excelfox.com/forum/showthrea ... #post10920" onclick="window.open(this.href);return false;
)
_(i) It appears that the List produced by the wmic way mostly only lists the updates specifically associated with the Operating System. A large amount of updates will typically not be listed. This will include, for example all updates associated with Microsoft Office!!
_(ii) The wmic way is only available from starting from around the Higher versions of XP. For example it will typically not be available for standard Home XP
\ -_- / :heavy: :jollyroger: