Windows – List all hotfixes applied to windows server

windowswindows-server-2003

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?

Best Answer

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.

Powershell only command:

Get-Hotfix -id kb123456