Configure a Device for Remote Management (Standard 8)

June 3, 2016

Learn how to configure your Windows Embedded 8 Standard (Standard 8) device for remote management.

If you have trouble getting the ELM to remotely connect to your device, you may want to configure your device for remote management. If your device is joined to a domain, some or all of the following configurations may already be configured through Group Policy settings.

Configure a Device for Remote Management

To enable remote management by using a local administrator account

  1. Log on to the device with an administrator account.

  2. Set the following registry key to disable User Account Control remote restrictions:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system]"LocalAccountTokenFilterPolicy"=dword:00000001
    

    For more information about how to change this registry key, see Description of User Account Control and remote restrictions and How to change the Remote UAC LocalAccountTokenFilterPolicy registry setting.

  3. Restart your device.

To enable Windows Management Instrumentation (WMI) traffic through a firewall

  1. On the Start menu, right-click Command Prompt and then click Run as administrator.

  2. To establish a firewall exception for WMI traffic, type the following command:

    netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=yes
    

    Important

    When running ELM on a non-English OS, use the localized group name.

  3. (Optional) If ELM displays an error message that WMI did not respond or failed to connect, you can use individual commands for DCOM, WMI service, callback sink, and outgoing connections to enable WMI traffic.

    • To establish a firewall exception for DCOM port 135, type the following command:

      netsh advfirewall firewall add rule dir=in name="DCOM" program=%systemroot%\system32\svchost.exe service=rpcss action=allow protocol=TCP localport=135
      
    • To establish a firewall exception for the WMI service, type the following command:

      netsh advfirewall firewall add rule dir=in name ="WMI" program=%systemroot%\system32\svchost.exe service=winmgmt action = allow protocol=TCP localport=any
      
    • To establish a firewall exception for the sink that receives callbacks from a remote computer, type the following command:

      netsh advfirewall firewall add rule dir=in name ="UnsecApp" program=%systemroot%\system32\wbem\unsecapp.exe action=allow
      
    • To establish a firewall exception for outgoing connections to a remote computer that the local computer is communicating with asynchronously, type the following command:

      netsh advfirewall firewall add rule dir=out name ="WMI_OUT" program=%systemroot%\system32\svchost.exe service=winmgmt action=allow protocol=TCP localport=any
      

For more information about how to enable WMI traffic, see Connecting to WMI Remotely on MSDN.

Important

The WMI service cancels Lockdown feature tasks when there is insufficient physical memory available. To resolve this issue, read the KB article.

Create a Custom ELM Microsoft Management Console (MMC) File

You can create a custom console file to configure ELM to work alongside other Microsoft Management Console (MMC) snap-ins, such as Event Viewer.

To create a custom ELM console file

  1. Open a command prompt with administrator rights and type the following to open a new .msc console file in MMC:

    mmc
    
  2. Accept the UAC prompt.

  3. On the MMC File menu, click Add/Remove Snap-in.

  4. In the Add or Remove Snap-ins dialog box, from the Available snap-ins list, select Embedded Lockdown Manager, and then click Add.

  5. From the Available snap-ins list, select another snap-in, for example, Event Viewer, and then click Add.

    Note

    Some snap-ins may display a dialog box to configure the snap-in when you add it to the Selected snap-ins list.

  6. When you have finished adding and configuring any additional snap-ins, click OK.

  7. On the MMC File menu, click Save As and save your custom .msc console file.

You can now use ELM together with other MMC snap-ins in the same console to configure and manage your devices.

See Also

Concepts

Embedded Lockdown Manager (ELM) Technical Reference