Enabling WMI on Windows Machine for adding 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:
- Login with Admin credentials.
- Press Windows + R key or go to start – and then go to run.
- Enter “wmimgmt.msc“.
- Right click on WMI control.
- Go to Properties.
- Then Go to security tab.
- Select root and click security button below
- Select a User.
- Allow all to user (whose username and password will be used in eMagic).
- Press OK. Close!
- Go to Start again-
- Open CMD-
- 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
Now, enter the username and password for which WMI is enabled for that specific IP in eMagic Auto-Discovery in the following format.
- Username –Domain (if any)/username
Feel free to contact us if you have any queries regarding this aspect.