ESDS Knowledge Base


Enabling WMI on Windows Machine for adding in eMagic

WMI in eMagic


Before we head towards how to enable WMI on your Windows machine for adding in eMagic, we will take a look at what exactly WMI is and use of WMI (Windows Management Instrumentation).


WMI is a technology that is built into all the latest operating systems of Windows (starting from the unfortunate Windows ME), which can be exploited by the system for the management of PC or Server/s in local or remote.

We can use it, for example, to start a process (also according to a specific schedule), to restart a PC or a server, but also simply to obtain information such as the list of installed applications or content of the event log.

For information, WMI is Microsoft’s implementation of WBEM (Web Based Enterprise Management), an industry standard that defines access to information useful for device management, the standard on which the representation is CIM (Common Information Model).

In addition, many of software dedicated to the management of devices in a local network interrogate WMI to get the information they need, as you with a database. But you can do it very easily.


In this tutorial we will see steps to enable WMI on Windows machine for adding in eMagic.

Step 1– In step one, follow the below 10 simple instructions:

  1. Login with Admin credentials.
  2. Press Windows + R key or go to start – and then go to run.
  3. Enter “wmimgmt.msc“.
  4. Right click on WMI control.
  5. Go to Properties.
  6. Then Go to security tab.
  7. Select root and click security button below
  8. Select a User.
  9. Allow all to user (whose username and password will be used in eMagic).
  10. Press OK. Close!


Step 2–

  1. Go to Start again-
  2. Open CMD-
  3. Copy & paste following code in CMD – enter to execute
netsh firewall set service Remote Admin
netsh firewall set service remote admin enable
netsh firewall set allowedprogram program-”C:\WINDOWS\system32\wbem\unsecapp.exe”
name=unsecapp mode=enable
netsh firewall set portopening protocol=TCP part=135 name=”RPC\DCOM” mode=enable
reg add HKLM\system\CurrentControlSet\Control\Lsa/v forceguest/d 0 /t REG_DWORD /f

Step 3–

Now, enter the username and password for which WMI is enabled for that specific IP in eMagic Auto-Discovery in the following format.

  1. Username –Domain (if any)/username
  2. Password

Feel free to contact us if you have any queries regarding this aspect.

Leave a Reply