Copying the Wmi files

The files are used for agentless discovery. They are required to enable additional methods to be called via WMI.

Procedure

  1. Copy the following Wmi files to the C:\Windows\system32\wbem directory on a 32-bit system and to the C:\Windows\SysWOW64\wbem directory on a 64-bit system:
    • *Wmi.pdb
    • *Wmi.exe
    • *Wmi.mof
    • *Wmi.dll
  2. Compile and register *WMI.dll by running the following commands:
    • On the 32-bit Windows operating system:
      %SystemRoot%\System32\wbem\mofcomp.exe %SystemRoot%\System32\wbem\*Wmi.mof 
      %SystemRoot%\System32\regsvr32 /s %SystemRoot%\System32\wbem\*Wmi.dll
    • On the 64-bit Windows operating system:
      %SystemRoot%\SysWOW64\wbem\mofcomp.exe %SystemRoot%\SysWOW64\wbem\*Wmi.mof 
      %SystemRoot%\SysWOW64\regsvr32 /s %SystemRoot%\SysWOW64\wbem\*Wmi.dll
    Note: You can also deploy the WMI files automatically by running a standard administrator discovery.