1

I often use putty to access some Windows Server machine. To troubleshooting an installation, I need to know which .NET framework version and MS Visual C++ run-time library that machine are installed.

From this: Question

I know how to get .NET framework version by:

dir %WINDIR%\Microsoft.Net\Framework\v*

But not MS Visual C++ run-time library.

Is there any solution?

Community
  • 1
  • 1
Tuan
  • 2,303
  • 2
  • 25
  • 37

2 Answers2

0

You need to look in the WinSxS folder. There is a lot of stuff in there because it houses multiple versions of multiple components across multiple architectures. But you should be able to glean what you need from it.

OJ.
  • 28,944
  • 5
  • 56
  • 71
0

command line to determine Microsoft .NET Framework version:

Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -Match '^(?!S)\p{L}'} | Select PSChildName, version