There used to be a command line tool called QFECheck in Windows Server 2000 that would list them out. Is this the preferred method on windows server 2003/2008?

I know they're listed in Add/Remove programs, but it's hard to capture them for an audit this way.

Can i do this without having to install an add-on executable?

link|improve this question

feedback

4 Answers

up vote 4 down vote accepted

The following command(s) work in both the 'regular' command prompt and powershell, ALSO for both Windows Server 2003 and Windows Server 2008:

wmic qfe get Hotfixid

to find if a specific update was installed:

wmic qfe | find “123456”

It however does not provide any office updates (unfortunately), thought it's relatively easy now to just go to 'installed updates' and do a search for it... same as Windows updates, but the question specified it needed to be done from a command prompt.

link|improve this answer
+1 Can't believe I've never seen that tool.... – squillman May 20 '10 at 21:21
I know the question is about Server but just to add - It seems to work on Win7 but on XP it returned a whole lot of unrelated garbage, such as about 50 repetitions of "File 1" and random text such as "NLSDownlevelMapping". – John Gardeniers May 20 '10 at 21:56
I just stumbled upon it by trying to figure out more about 'quick fix engineering', after finding this command online: Get-WmiObject -query 'select * from win32_quickfixengineering' | foreach {$_.hotfixid} – l0c0b0x May 20 '10 at 21:59
Actually, I did notice the 'file 1' junk on win 2003... but the list of KBs was still accurate. – l0c0b0x May 20 '10 at 22:03
so awesome i changed you to the correct answer! – Nick Kavadias May 21 '10 at 2:46
show 1 more comment
feedback

You can do it with Powershell:

Get-ChildItem -Path “HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\HotFix”
link|improve this answer
I think your using powershell here to rub it in a bit, but that registry key is golden – Nick Kavadias Oct 5 '09 at 16:35
Nah, not rubbing it in. But, yeah, you admittedly could use any command-line reg tool. – squillman Oct 5 '09 at 16:42
this only works on 2003... I just posted a command that works for both server 2003 and 2008. – l0c0b0x May 20 '10 at 20:57
feedback

PowerShell now includes the Get-HotFix command which is far easier to remember.

link|improve this answer
feedback

they are also listed under the windows directory.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.