Re: Enumerate installed software on Windows 2003



jacksneed2000@xxxxxxxxx wrote:

Using this scriptomatic script, I am able to list all installed
software on our Windows 2000 servers, but the script fails to run on
our Windows 2003 servers.  It fails on the line "For Each objItem In
colItems", as colItems is empty.  Can anyone tell me why this might be
happening?  Win32_Product is supposed to work for Windows 2003 also.
FYI, I did confirm the default impersonation level is still set at 3 in
the registry on the servers. Suggestions???
Hi,

Note that the Win32_Product class will only list software that are
installed with Windows Installer (a lot of software does not use it).

On Windows 2003 the Win32_Product class isn't installed by default.
You can install it with Add/Remove Windows Component. Look for the
"WMI Windows Installer Provider" component under "Management and
Monitoring Tools".

If you want to script the installation, using sysocmgr.exe with an
answer file should work (does not support remote operation though):

http://groups.google.co.uk/groups?selm=%23UR5Hri%24EHA.2984%40TK2MSFTNGP09.phx.gbl



--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx
.



Relevant Pages

  • Re: Robocopy and NTFS permission
    ... > pack), in order to migrate data from a local disk in one of our servers, to ... > access to a number of folders. ... (Windows 2000, Windows Server 2003, Windows XP) ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.win2000.general)
  • Unable to add form - "The operation could not be completed"
    ... After choosing a filename, it says 'The operation could not be completed' and takes me back to the filename chooser. ... As per suggestions found on Google, I first tried to uninstall Windows Scripting 5.6. ... and reinstalled scripting using the installer. ...
    (microsoft.public.vstudio.general)
  • Unable to add form: "The operation could not be completed"
    ... After choosing a filename, it says 'The operation could not be completed' and takes me back to the filename chooser. ... As per suggestions found on Google, I first tried to uninstall Windows Scripting 5.6. ... and reinstalled scripting using the installer. ...
    (microsoft.public.vsnet.ide)
  • Re: Windows Installer Version
    ... How do I know what version of Windows Installer I ... > Microsoft's download center. ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.windowsxp.general)
  • Re: windows installer problem
    ... I ran the Windows Installer CleanUp Utility as recommended by Ramesh; ... > If a product code is listed there and this product is not really installed, ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.windowsxp.general)

Loading