Rem: Enabling the WMI Provider in Windows Server 2003

If your WMI script works on XP or Win2K but not Windows Server 2003, the problem might lie with the WMI Windows Installer Provider. Here’s how to fix that problem.

Bob Wells

February 10, 2003

1 Min Read
ITPro Today logo in a gray background | ITPro Today


We're using the Windows Management Instrumentation (WMI) script that Listing 2 shows to audit the software installed on our Windows XP and Windows 2000 workstations. We recently installed the release candidate of Windows Server 2003, Enterprise Edition. The script fails to run on servers running this OS. Do you know why?

Your WMI script uses the Win32_Product class, which the WMI Windows Installer Provider services. In XP and earlier, the WMI Windows Installer Provider is installed by default. Unfortunately, that's no longer the case beginning with Windows 2003. Instead, the WMI Windows Installer Provider is an optional component, as Figure 1, page 10, shows. To install this provider, open the Control Panel Add/Remove Programs applet and click Add/Remove Windows Components. Select the Management and Monitoring Tools check box, then click Details. Select the WMI Windows Installer Provider check box, and click OK.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like