Windows: List Installed OS Hotfixes and Service Packs from the Command Line

Posted August 3, 2008 by Rob Rogers in Windows

Want a quick list of hotfixes and service packs that are installed on your Windows PC or Server? By using the Windows Instrumentation command-line interface (WMIC) you can create a quick list. This Tech-Recipe applies to Windows XP Professional, Windows Vista, Windows Server 2003 and Windows Server 2008.

1. Open a command prompt.

2. Execute the following command:
wmic qfe list

A list of all service packs and hotfixes for your operating system will be listed.

If you want to generate a text or HTM file for printing, execute the following:

to generate a textfile:
/output:d:\hotfixes.txt qfe list

to generate a HTM file:
/output:d:\hotfixes.htm qfe list


About Rob Rogers

Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
View more articles by Rob Rogers

The Conversation

Follow the reactions below and share your own thoughts.

Leave a Reply