Question

Locked

Command to list installed program/application name and its version.

By Nikki_J ·
Hi there,
I hope someone can help me....
I have to collect OS name/ OS version and installed program(application)/its version from 60 personnel's PC.
I'm a real beginner in this industory but trying to learn...

What I found so far is

From Command Prompt,
reg export HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall temp1.txt

Then I can get program names and versions but at the same time, too much info gets displayed as well.
I only need application name and version.
I could delete by hand on Excel but it will take ages to do for 60 PCs....

Also, for OS name and version,
I found a command to display the window by
"WINMSD" command.

But I can't think of better way to get all necessary info in line.
I'm not familier with Batch program but I will learn it if I can get some tips!!

My task here is...
Get 60 personnel's PC info including OS/OS version/Application name/Application version.
(Surely, Application name and version have to link each other)

The PC is mostly Windows.
6 MAC PCs there too but in worst case, I could collect MAC info by hand.

I'd really really appreciate your big help!!

Nikki

This conversation is currently closed to new comments.

16 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Use WMI

by scott_heath In reply to Command to list installed ...

I could write you a really complicated script, but I'm not going to. You can Google WMI software inventory and find lots of good stuff. You can visit my sad little blog and download my hardware inventory to collect software. using MSDN and a little reading it wouldn't be hard.

If you really want to use someone else's tool try this:

http://www.robvanderwoude.com/software.php

Regards,
Scott

http://scottisageek.spaces.live.com

Collapse -

You could also try SIW

by seanferd In reply to Command to list installed ...
Collapse -

This might get you started

by Jacky Howe In reply to Command to list installed ...

Batch file:

@echo off

wmic /output:C:\%computername%.txt product get name,version

WMIC OS get name,version >> C:\%computername%.txt


Output is in this format:
<pre>
Name Version
Dawn Of War - Winter Assault 1.4
Windows 7 Upgrade Advisor 2.0.3001.0
Microsoft .NET Framework 3.5 SP1 3.5.30729
Dawn Of War 1.40
Acrobat.com 0.0.0
PrimoPDF Redistribution Package 1.0.0.0
Debugging Tools for Windows 6.8.4.0
Adobe Reader 9 9.0.0
Name Version
Microsoft? Windows Vista? Business |C:\Windows|\Device\Harddisk0\Partition1 6.0.6002

</pre>

Type wmic /? for more help

Edit: posted the commands and output from an older version.

Collapse -

To connect to a Remote System,

by Jacky Howe In reply to This might get you starte ...

add the workstation name after /node:

I had to run this command on each workstation to get access: netsh firewall set service RemoteAdmin enable

Batch File:

WMIC /node:W7 OS get name,version > C:\W7.txt

WMIC /node:W7 product get name,version >> C:\W7.txt

Let us know how you get on.

Collapse -

I've just realised

by Jacky Howe In reply to To connect to a Remote Sy ...

that there was no AV showing in the output. Further investigation, and it doesn't pick up on older programs as well. Might not be what you are after.

Collapse -

>Jacky

by Nikki_J In reply to This might get you starte ...

I tried the Batch but it didn't work.
Do I have to add something to it???

Collapse -

Still failed.

by Nikki_J In reply to >Jacky

My workmate managed to extract "DisplayName" and "DisplayVersion" from registry editor but the display order is not standardized so I can't tell which name matches to which version.
(I mean,some applications list "DisplayName" then "DisplayVersion", but some does in the other way around.) Also, some dont have Version info.

Maybe no other way to get the info wihtout using a software....? :<

Collapse -

Put a pause

by Jacky Howe In reply to >Jacky

at the end of the batch file and run it. In the command window, right mouse click and Select All, then press Enter. You will be able to paste the output into Notepad and save it. Post the contents of the output for us to have a look at.

Collapse -

I'll try....!

by Nikki_J In reply to Command to list installed ...

Thank you for your advice Scott, Seanferd and Jacky.
I will try the batch 1st now.
At the momemnt, I'm not allowed to use free software on everyone's PC.
I'll post again the result....

Collapse -

Still failed.

by Nikki_J In reply to Command to list installed ...

My workmate managed to extract "DisplayName" and "DisplayVersion" from registry editor but the display order is not standardized so I can't tell which name matches to which version.
(I mean,some applications list "DisplayName" then "DisplayVersion", but some does in the other way around.) Also, some dont have Version info.

Maybe no other way to get the info wihtout using a software....? :<

Back to Software Forum
16 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums