HOWTO: Get a list of all installed Windows updates

WMIC qfe list will give you the list of all installed Windows and software updates applied to that computer.
WMIC stands for Windows Management Instrumentation Command.

1. Open a command prompt and type command:

   - Open a command prompt as admin and run:
wmic qfe list
Example of output in the cli: COMPUTER Security Update
KB9876543 COMPUTER\Admin123 6/8/2015 COMPUTER Security Update
KB8765432 COMPUTER\Admin123 8/17/2016 COMPUTER Security Update
KB7654321 COMPUTER\Admin123 8/17/2016
wmic qfe list is a Microsoft tool/utility and one that many of our plugins look at the output of to determine if the host has the desired KB updates or not. It is possible for an update to show as installed in the 'View Installed Updates' section and Not show up in the qfe list. That is usually an indication that the update did not install correctly or fully.

2. If you'd like to create a text file with the output:

   - If you'd like to create a text file with the output in it, you can do so with:
wmic qfe list > UpdateList.txt
(You can name the .txt file whatever you'd like)
Please note that this will create the named file in whatever directory that you are currently in in the cli, so it may be best to change directories to C:\Users\\Desktop. That way when you create the file, it will generate directly on the desktop.

3. An alternative of the command:

   - An alternative of the command would be to run it in full mode:
wmic qfe list full
*you can also write that to a text file the same way as the last command with > filename.txt

Also consider using Action1 to get a list of all installed Windows updates if:
- You need to perform this action on multiple (hundreds or even thousands) computers simultaneously.
- Some of your endpoints are laptops not connected to corporate network at all times.

Action1 is a cloud-based platform for software deployment, software/hardware inventory, patch management, endpoint configuration and more. It is free with basic functionality.

Other Relevant HOWTOs: