Learnt from https://helpdeskgeek.com/how-to/generate-a-list-of-installed-programs-in-windows/
Run cmd prompt as Administrator
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\windows\system32>wmic
wmic:root\cli>/output:C:\InstallList.txt product get name,version
wmic:root\cli>