Does any one know where the information about Windows 7 Updates is stored in the Registry because its no longer in:
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall
Does any one know where the information about Windows 7 Updates is stored in the Registry because its no longer in:
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall
If you're just looking for a list of installed updates, you can use the "systeminfo" command at the command line, the list is contained within the "Hotfixe(s)" section.
Check HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages
.
To list them in a cmd
window, open an elevated command prompt and paste in:
REG QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages" /s /v InstallClient /t REG_SZ /f WindowsUpdateAgent | grep -oPh "KB[0-9]{4,8}" | sort | uniq
This isn't an ideal way of retrieving the installed updates, since it relies on UNIX tools being installed to filter in the KBs
, and sort & dedupe the list. But if you have Github Desktop
or Git SCM
installed you probably have those tools in your PATH
already.