Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a command to retrieve the installed application/packages via command line in windows 2003. i.e to get the details of Add/remove programs via the command line same as 'rpm -qa ' in linux.


share|improve this question
up vote 3 down vote accepted

There's nothing built in, really. However, the PStools suite from Sysinternals is an invaluable set of software, available free from Microsoft, and they have a commmand for this.

Psinfo.exe -s
share|improve this answer
Thanks for your info. I will check with this – Riyas Dec 23 '10 at 21:06
the tool worked Great – Riyas Dec 23 '10 at 21:17
Woah, he selected an answer!! – Webnet Dec 23 '10 at 21:22
It's possible that he didn't know how the site worked, given that he had answered none of them until today. Just a little education :-) – mfinni Dec 23 '10 at 21:35

Try the PStools package and use the Psinfo command with the -s switch.

share|improve this answer

If we're using the same requirements as Command-Line Kung-Fu, then the closest we can get is the following:

reg query hklm\software\microsoft\windows\currentversion\uninstall /s | find "DisplayName"

Notably, this doesn't exclude Windows updates, which the built-in Add/Remove Programs application does. You could do this exclusively from the command line, but it'd be considerably more complicated.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.