Policy Based Remote Commands
  • 23 Sep 2023
  • 2 Minutes to read
  • PDF

Policy Based Remote Commands

  • PDF

Article summary

In addition to executing the Remote Commands manually, IT admins can configure additional triggers to execute them whenever that event occurs (run at install, schedule at a specific time etc.) and even when the devices are offline. This is enabled with Remote Commands being made to run as part of Android Device Policy. This document describes all such triggers and how they can be configured on the basis of which you can execute Remote Commands.

Before You Begin

  1. Remote Commands should be created on the Scalefusion Dashboard.
  2. Users should be subscribed to Scalefusion's Enterprise Plan.
  3. The devices should be enrolled in Kiosk or Agent or BYOD mode.
  4. Android Device Profile should be created.


  1. On Scalefusion Dashboard, navigate to Device Profiles & Policies > Device Profiles
  2. Edit an existing Android Device Profile.
  3. Click on Run Commands on the left panel. The Remote commands that you have created from the Remote Commands section will be displayed here with the following information:
    1. Name: Name of Remote Command which you entered at the time of creating it
    2. Type: Command Type (Launch Activity, Send Broadcast, Install Apps etc.)
    3. Enabled: Toggle on this setting to execute the command. The rest of the settings will get enabled only if you set this to on.
  4. Following are the triggers you can configure:
    1. Run at First Install: The command will get executed the very first time the app package is installed.
    2. Run At App Update: The command will be executed whenever the app package is updated.

      The above two settings do not apply in the following cases:

      • Delete Files/Folder, Install Apps, Launch File commands
      • If the command is of type Launch Activity, Send Broadcast or Launch Service in Implicit Mode
    3. Run At Reboot: The command is executed when the device is rebooted
    4. Schedule: The command is executed on the given days and given time if the device is powered on. For scheduling, you can choose the following:
      Schedule settings will be visible in an expanded view once you enable the toggle to Schedule.
      1. Select Day: Displays the days of the week. You can select one or more days
      2. Select Time: Select the time at which the command should be executed. You can set one time or more than one by clicking on the plus sign next to the time drop-down. You can schedule to run the command at a maximum of seven different timings.
      3. Timezone: The default timezone is based on current profile settings it will be UTC
        A minimum of one day and one time needs to be selected if you are scheduling.
    5. Create Shortcut: Creates and places a shortcut on the device's home screen. Create Shortcut is applicable only for Launch activity type of commands.
  5. After configuring settings, click on Update Profile. The commands will be executed as per the settings you have configured, even if the devices are offline.

Was this article helpful?