In windows 2000 and XP, I needed to find the original installation source for a program. in this case, the program was Microsoft Office. Office 2000 had been installed from a server on the network and I needed to know which one.

The source list key has a value called "LastUsedSource". It contains the drive/folder name from which the program was originally installed.

\\ourserver\source\Off2000sr1\

Script to enumerate of installed programs and sources

Posted: Thu Dec 29, 2005 11:39 am

BB

Regular

Joined: Jun 23, 2004

Posts: 340

Here is a sample script to enumerate the registry key and subkey strings to show the install source for all installed files. Run it using cscript on the command line to avoid clicking the wscript message box repeatedly.