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>
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>
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
- Open the Control Panel.
- Go to Add or Remove Programs.
- Select Add/Remove Windows Components.
Double-click Management and Monitoring Tools.
This action opens a secondary window displaying additional selections.
- Select WMI Windows Installer Provider check box.
- Click OK to return to the Windows Components Wizard window.
- Click Next.
You might be asked for the Windows installation CD to complete this process.
Source Enable WMI Windows Installer provider | ServiceNow Docs
User contributions licensed under CC BY-SA 3.0