List installed Windows Patches

open cmd and enter

wmic qfe get > patches.txt