Re: Enumerate installed software on Windows 2003
- From: "Torgeir Bakken \(MVP\)" <Torgeir.Bakken-spam@xxxxxxxxx>
- Date: Fri, 06 May 2005 17:33:08 +0200
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 .
- Follow-Ups:
- Re: Enumerate installed software on Windows 2003
- From: jacksneed2000
- Re: Enumerate installed software on Windows 2003
- References:
- Enumerate installed software on Windows 2003
- From: jacksneed2000
- Enumerate installed software on Windows 2003
- Prev by Date: Re: Netusers.exe in script
- Next by Date: Re: Delete blank lines
- Previous by thread: Enumerate installed software on Windows 2003
- Next by thread: Re: Enumerate installed software on Windows 2003
- Index(es):
Relevant Pages
|
Loading