XP64 2 XP64 install software using WMI

1

I try to install a .exe remote onto my gaming PC. I know the .exe exists but the call gives me an error.

C:\WINDOWS>wmic /node:"Spiele" /user:"Spielen" /password:"XXX" product call install true,"", "C:\setup.exe"
ERROR:
Code = 0x80041002
Description = Not found
Facility = WMI
C:\WINDOWS>

The location of the exe-File I Like to run is

c:\setup.exe

If I execute bios get serialnumber no such error message occour

C:\WINDOWS>wmic /node:"Spiele" /user:"Spielen" /password:"XXX" bios get serialnumber /value


SerialNumber=JVZSZS2



C:\WINDOWS>

Maybe security issue

I tried wmic product list who should realy give me a list of installed programs. That there is a error-message let me think it is a security issue:

C:\WINDOWS>wmic product list
Node - E
ERROR:
Code = 0x80041010
Description = Invalid class
Facility = WMI



C:\WINDOWS>
windows
wmi
asked on Super User Dec 12, 2018 by Grim • edited Dec 12, 2018 by Grim

1 Answer

1

I know the .exe exists but the call gives me an error.

C:\WINDOWS>wmic /node:"Spiele" /user:"Spielen" /password:"XXX" product call install true,"", "C:\setup.exe"
ERROR:
Code = 0x80041002
Description = Not found
Facility = WMI

This usually means that the Windows Installer provider is not installed.

WMI is installed by default on all Windows desktop and server platforms. However, certain WMI providers may or may not be installed, depending on the OS release and configuration. For example, the SNMP provider is not enabled by default, and the Windows Installer provider (MSI provider) is not installed by default on 64-bit operating systems. For more information about the availability of a specific provider, see WMI Providers.

(emphasis mine)

Source Operating System Availability of WMI Components - Windows applications | Microsoft Docs

The provider is an optional component on Windows 64-bit desktop and server operating systems, but can be installed through the Control panel.

Source Windows Installer Provider | Microsoft Docs

  1. Open the Control Panel.
  2. Go to Add or Remove Programs.
  3. Select Add/Remove Windows Components.
  4. Double-click Management and Monitoring Tools.

    This action opens a secondary window displaying additional selections.

  5. Select WMI Windows Installer Provider check box.
  6. Click OK to return to the Windows Components Wizard window.
  7. Click Next.

You might be asked for the Windows installation CD to complete this process.

Source Enable WMI Windows Installer provider | ServiceNow Docs

answered on Super User Dec 12, 2018 by DavidPostill

User contributions licensed under CC BY-SA 3.0