Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8348899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:49:38+00:00 2026-06-09T07:49:38+00:00

I want to list the installed softwares on windows server 2008 R2 with a

  • 0

I want to list the installed softwares on windows server 2008 R2 with a VBscript.
I want to verify prerequisite softwares (one of them is .NET Framework 3.5.1).
I actually have two solutions and they both doesn’t show all the softwares.

Const HKLM = &H80000002 'HKEY_LOCAL_MACHINE
installedSoftwaresPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"

Set objReg = GetObject("winmgmts://./root/default:StdRegProv")

objReg.EnumKey HKLM, installedSoftwaresPath, arrSubkeys
For Each strSubkey In arrSubkeys
    Ret = objReg.GetStringValue(HKLM, installedSoftwaresPath & strSubkey, "DisplayName", SoftwareName)
    If Ret <> 0 Then
    objReg.GetStringValue HKLM, strKey & strSubkey, "QuietDisplayName", SoftwareName       
    End If
    If SoftwareName<> "" Then
        WScript.Echo VbCrLf & "Display Name: " & SoftwareName
    End If
Next

The other solution is this one :

Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\.\root\cimv2")
Set colSoftware = objWMIService.ExecQuery("Select * from Win32_Product")

For Each objSoftware in colSoftware
    WScript.Echo objSoftware.Caption
Next

Is it possible to get ALL the installed softwares? if not I’m gonna make a specific solution for every prerequisite softwares.

EDIT :
Some software found by my scripts :

Microsoft Application Error Reporting,
Microsoft Visual C++ 2008 Redistributable,
Microsoft Security Client,
Adobe Reader

What I want to found :
.NET framework 3.5.1

I want a generic solution to found every softwares installed.

SOLUTION :
It seems that there is no generic way to check for installed software. I’ve found the .NET framework registry key in this path :

"SOFTWARE\Microsoft\MSBuild\ToolsVersion\v3.5\"
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T07:49:41+00:00Added an answer on June 9, 2026 at 7:49 am

    Without having access to your server to see how the software you’re looking for is installed, I can only guess at how you might modify your script.

    However, there are other places you should probably be looking besides:
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

    For example, you may want to look in:

    HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
    HKLM\SOFTWARE\Classes\Installer
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData
    

    It’s possible that you will find what you are looking for in one of those locations.

    You may also want to use RegEdit to do a “Find” for “.NET Framework 3.5.1” to see if that shows up somewhere that you can reliably find it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, I want to get a list of all installed apps and pick one
I want to list all of the applications and versions installed on my mac.
I want to list a names of the files and put them into String
I want to list all files on an FTP server using PHP. According to
I want to create a software which windows will detect it as a installed
I want to open a list of installed maps and navigation applications on the
I want to list all packages I have installed on a system from a
I Want to list all the installed applications in c. We can do it
I got all the running background process but i want a list of running/installed
I want a list of permission of the application installed in android , but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.