WinSCP not in program list

Advertisement

sg08234
Joined:
Posts:
2
Location:
Germany - Berlin

WinSCP not in program list

I do not find WinSCP (installed version 6.1.1) in the list of programs via:
Get-WmiObject -Class Win32_Product
or
Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*
but it is in system control | programs and functions.

I need PowerShell access to this information. What can I do?

Thanks – Michael

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,034
Location:
Prague, Czechia

Re: WinSCP not in program list

The Win32_Product contains only applications installed with Windows Installer.
You have to use WinSCP MSI installer to be able to query the installation via Win32_Product.
https://winscp.net/eng/docs/installation#msi

Regarding the registry query: WinSCP installer is 32-bit. So (assuming you are on Windows 64-bit) you need to query HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*

Both is covered in
See also Please Stop Using Win32_Product To Find Installed Software. Alternatives Inside! | xkln.net

Reply with quote

sg08234
Joined:
Posts:
2
Location:
Germany - Berlin

Solved: WinSCP not in program list

Thanks! There was an error in my procedure: I did not search via wildcard in HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* (-like WinSCP instead of -like WinSCP*)
Also many thanks for excellent link "Please Stop Using Win32_Product To Find Installed Software."

Case can be closed
Michael

Reply with quote

Advertisement

You can post new topics in this forum