Windows Mobile Device Agent Manager


Deployment rules allow administrators to automatically provision mobile devices with packages that contain software or data. The following series of steps describes how to use the Create Deployment Rule Wizard to create a deployment rule.

Creating the Agent with Device Agent Manager

The Device Agent Manager is an interface that allows the user to manage the Device Agents that are installed to the devices. A Device Agent is a program that is installed on to the various devices that are to be managed by MobiControl. The software facilitates the server-client communications. The Device Agent Manager allows creation of custom Device Agents that have been specially configured to the settings of your MobiControl installation and the type of devices you have.

You can access the Device Agent Manager from the Rules view (tab) in MobiControl Web Console by right-clicking on a specific add devices rule in the left pane, and then selecting Device Agent Manager from the pop-up menu.

Once you have created an add devices rule, the next step is to create a MobiControl Device Agent. You can create a Device Agent for an add devices rule immediately after creating the rule or at any time after creating the rule using the Device Agent Manager. The created agent is customized for the specific add devices rule that you select.

The following steps outline how to create a Device Agent using the Device Agent Manager.

  1. Create a Device Agent

    Device Agent Managerdialog box

    The MobiControl Device Agent Manager allows you to create a Device Agent for a specific add devices rule. The Device Agent Manager also allows you to view and copy files for Device Agents previously created. After creating a device rule, you can access the Device Agent Manager by clicking on the Yes button on the message box displayed immediately after the rule is created, or by going to the Rules view (tab) in MobiControl Manager, and then right-clicking on a specific add devices rule in the left pane, and then selecting Device Agent Manager from the pop-up menu.

    The Device Agent Manager displays a list of the Device Agents that have previously been created for the selected device rule, and allows users to create new Device Agents, provision Device Agents onto devices (by directly installing, exporting or generating barcodes) and to delete obsolete Device Agents. For newly-created add devices rules, the list will be empty until an agent is created.

    If an agent has been already created, select the Device Agent and click on Provision Device

    The following methods can be used to provision the Device Agent on the devices.

    You can download the agent installer by clicking on Self-Extracting Executable button

    You can publish the Device Agent to your deployment server's website by clicking on Device Agent URL Address

    To delete an agent, select the agent from the list and click the Delete Agent button.

    To create a new agent, click the New Agent button, the Device Agent Wizard will be displayed.


  1. Name the Device Agent and specify the manufacturer.

    This will allow you to add a custom name to the Device Agent, which will help to identify it.

    Select the manufacturer of your device and click the Next button. If the manufacturer of your device is not listed you can try selecting the Other Manufacturers option and click the Next button or you can contact us to make sure that your device is properly supported.

    After providing the device name and selecting the manufacturer, click the Next button.

  2. Select the device model and configure device type

    From the second page of the Device Agent Wizard you will be prompted to select the appropriate device model based on your previous selection. In previous versions of MobiControl where OS and Procesor type had to be inserted, this is now done automatically


    The Device Type dialog box allows you to configure platform, processor and operating system information about your devices. If you dock one of your devices via ActiveSync, and click on the Detect Settings button, the wizard can automatically detect most of the device settings. If your device is not docked you can enter the settings manually.



    Manufacturer Selection page

Note:

The OS version refers to the version of Windows CE or Windows Mobile. For example, if the version of the OS is 4.20, set the OS Major Version field to 4, and set the OS Minor Version field to 2. You can get information about the OS and the processor from the device. Typically, this information is available at the following locations for these mobile devices, however this may vary for some devices. If the device says Windows Mobile, and is a touch screen enabled device, select Pocket PC even though it says CE below on the CE OS Build. If the device is not a touch screen, select Smartphone.

Device typeOS or Processor Information
Pocket PCSelect Start, then click Settings, click System, and click About to view the information.
Smartphone Select Start, then click Settings, and click About to view the information.
Windows CE Select Start, then click Settings, click Control panel, and click System to view the information.

  1. Configure the device identifier and specify an initial package

    The Device Identifier Configuration page allows you to select how devices are named and uniquely identified.


    Method Selection page

    The following table provides descriptions for the three device naming options:

    Field NameDescription
    Prompt Device UserWhen this option is selected, the Device Agent will prompt the user for a device name when it is first started.
    Use the Device IDWhen this option is selected, the device ID will be used as the device name. Since the device ID is a cryptic string that is not very readable (e.g. 0003000F-3EAC-0F94-0F00-0300AA3EE877), we generally do not recommend this option.
    Customize the Device NameThis option allows you to enter text as well as use macros to create device names. MobiControl does provide macros. Please see the text following this table.
    Set Windows Device Name CheckboxWhen this option is checked, MobiControl will set the Windows Device Name to be the same as the MobiControl Device Name configured above.

    Macros

    • %AUTONUM% allows you to automatically use a numbered sequence as part of the device name. For example, if the value of this field is set to WH%AUTONUM%, then the first device configured will be assigned a name of WH00001, the second device will have a name of WH00002, and so on. %MAC% expands to the MAC address of the device. This macro is suitable for use with devices that have a wireless or wired networking capability. The MAC address is a unique number that is built into the network hardware used on the device. In most cases MobiControl can retrieve the MAC address from the hardware. For example, if the value of this field is set to DEV%MAC%, then the device names configured would look similar to DEV00A0F85324D4 and DEV00A0F8533422. When the MAC macro is used as the Device ID, the Wi-Fi radio must be enabled when the agent is installed in order for the macro to work.

    • %HOSTNAME% expands to the local host name of the device. We recommend using this macro only in cases where unique hostnames have previously been assigned to devices before the MobiControl Device Agent software is installed.

    • %IP% expands to the IP address of the device. We recommend using this macro only in cases where the mobile devices have wireless or wired networking capabilities and are using fixed IP addresses. The use of this macro is not suitable for situations in which the mobile devices are using dynamic IP addresses (i.e. DHCP) since when the IP address changes the device name will be incorrect.

    • %PHONENUMBER% expands to the phone number of the device. We recommend using this macro only in cases where the mobile device is a Smartphone or Pocket PC Phone Edition. For some devices, the phone number may not be available.

    • %IMEI% expands to the IMEI (International Mobile Equipment Identity) number of the device. We recommend using this macro only in case where the mobile device is a Smartphone or Pocket PC Phone Edition. For some devices the IMEI number may not available.

    • %ESN% expands to the ESN (Electronic Serial Number) number of the device. We recommend using this macro only in case where the mobile device is a Smartphone or Pocket PC Phone Edition. For some devices the ESN number may not available.

    • %IMSI% expands to the IMSI (International Mobile Subscriber Identity) number of the device. We recommend using this macro only in case where the mobile device is a Smartphone or Pocket PC Phone Edition. For some devices the IMSI number may not available.

    • %REG://% expands to the registry in the device. This will allow custom names like serial number (read from registry key) to be used out of the box for device naming, e.g. %REG://HKEY_LOCAL_MACHINE\Software\Apps\ SOTI\MobiControl?VN=ESN%

    • %TXT://% will get the content of specified line of the text file (if LN is not specified, it assumes the first line), e.g. %TXT://\Device.log?LN=1%

    • %INI://% will pull a value from a Section in an .ini file and make it the device name, e.g. %INI://\pdb.ini?SC=Device&NM=DeviceName%

    • %EXE://% will get the exit code of the executable and make it the device name, e.g. %EXE://\windows\system32\calc.exe%

    • %STDOUT% will pull the first line of STDOUT output of the Executable and make it the device name, e.g. %STDOUT://cmd.exe /c dir%

    Include Initial Package

    This feature allows you to specify a package that will be embedded into the Device Agent installer and automatically execute when the agent is installed on the device.

  2. Configure software settings

    The Software Settings page allows you to configure various parameters built into the agent.

    Click the Next button when you have completed the settings in this dialog box.


    Device Agent Wizard - Software Settings page


    Field NameDescription
    Deployment Server(s)

    Note:

    Configuration of the Deployment Server address should be performed before agents are created, as the address information will be embedded into the agent installer.

    Devices that have the MobiControl Device Agent software installed onto them connect to MobiControl Deployment Servers to receive configuration information as well as to get provisioned with software and data. It is crucial that the device is able to reach the IP address of the Deployment Server via the IP network to which the device is connected.

    If your device will be on a public network such as the Internet, you will need to setup an externally routable address for your Deployment Server. Please see the Registering MobiControl page for instructions on setting up an external IP address for the Deployment Server.

    Automatic Deployment Server DiscoveryWhen this option is enabled, MobiControl Device Agent(s) will attempt to discover Deployment Server(s) using UDP broadcasts when they cannot connect to configured servers. If you have multiple MobiControl installations on the same network, you need to set a unique site name for each installation so that the discovery process will not detect servers in a different installation.
    Accept Direct Remote Control ConnectionsWhen this option is enabled, the Device Agent will accept direct remote control connections (TCP/IP remote control connection profile). A direct connection improves performance by reducing latency, however it requires the device to accept the connection without authentication unless SSL Security is enabled. (Please see the Communication and Connection Security page for more information about this.) Remote control is permitted via the TCP/IP(Server) remote control connection profile regardless of this setting.
    List Agent in Remove ProgramsWhen this option is disabled, no entry will appear for the agent in the Remove Programs settings applet on the device, thus preventing the agent from being uninstalled by the device user.
    Device Stable Storage FolderA stable storage folder is a special folder in the devices file system that is not erased when a device is hard reset. MobiControl uses the stable storage folder on the device to store data and packages so that MobiControl and packages and settings deployed via MobiControl can persist through hard reset.

    Note:

    Stable storage folders do not exist on all devices. For devices that do not feature a stable storage folder, MobiControl will default to a standard folder in the file system. Optionally, you may use an external SD card as the stable storage folder. This option is not recommended in most scenarios, as removal of the SD card will severely impact the operation of the MobiControl Agent.

  3. Provisioning agent on a device


    Provision Device Page

    After the agent is created, you have three installation options.

    OptionDescription
    Self-Extracting Executable

    Note:

    This method is not supported on Windows Mobile 5 Smartphone or Windows Mobile 6 Standard devices.

    This is the simplest installation method and is recommended for most scenarios. A single executable file (*.exe) will be exported. To install the agent, simply deliver this file to the device and execute it. The self-extracting executable contains the agent's installation .cab file, as well as any other supporting files that may be required for targeted device platform.
    Desktop-based Self-Extracting ExecutableConvenient installation method for remote locations. Execute this application on any desktop computer to install the agent onto a cradle synced device. This will open a light application that will install the agent on to the device via ActiveSync.
    Device Agent URL Address
    This option posts the device agent's .exe file in a special directory on the MobiControl Web Console allowing you to send the URL to the end user to have them download and install the MobiControl device agent quickly and easily.