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.
February 10, 2003
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.
About the Author
You May Also Like