KB-133032: WMI

WMI

To use the WMI service, you must assign remote activation permission to the user under which the remote installation will take place.

  1. Open Computer Management.

  2. Go to Services and Applications and open Services.

  3. Select the Windows Management Instrumentation entry.
  4. Right-click on this entry and select the Properties option.
  5. The WMI Control Properties dialog will then open.
  6. Go to the Security tab and click on Security.
  7. Add the user you want and then check the Remote Enable checkbox.

To test the connection, execute the following command from the command line.

wmic /node :`<IP/HOSTNAME>` /user :`<DOMAINUSERNAME>` /password :`<PASSWORD>` cpu get name

The command generates an output of the CPU designation of the queried computer.

If the connection is refused, the firewall should be checked. The user should be a local administrator.

It is necessary to set the registry entry LocalAccountTokenFilterpolicy under HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem in the Registry editor dialog. This allows WMI to be used by users other than the Windows administrator.

If the registry entry does not already exist, create it in the Registry editor:

  1. In the Edit menu, select the New > DWORD Value entry.

  2. Name the new value LocalAccountTokenFilterPolicy and confirm by clicking on the Enter key.

  3. Right-click on the newly created value and select Change.
  4. Enter the value 1 in the Value field and confirm by clicking on OK.
  5. Close your Registry editor.

Last update: September 15, 2023

Related Articles

IMPRINT | PRIVACY POLICY | COOKIE POLICY

Privacy Preference Center