1. Home
  2. How to enable unattended remote support option in SureMDM agent on Android devices.

How to enable unattended remote support option in SureMDM agent on Android devices.

KB ID: 42G2103743
Views: 758
Updated: March 2022

Remote support is one of the most important features available in SureMDM to help admins control or manage devices remotely. And to do this it is very important that the SureMDM agent has the permissions to remote into the device even when no one is attending to the device.

However, there are chances that the end-user might disable the Unattended remote support option available within the Privacy settings of the SureMDM agent if the access to SureMDM agent settings is not locked with a password. Once this is done, the end-user will always get a prompt to Grant/ deny remote support which might be annoying for both the admin and the end-user. 

This can be overcome by following the below-mentioned steps.

1. Create a file transfer job consisting of SureMDM agent settings file with mode set to partial to enable unattended remote support.

Steps:

a. In a text editor, enter the below mentioned SureMDM agent settings and save them as nixsettings.xml

<?xml version='1.0' encoding='utf-8' standalone='yes' ?> <Settings>  <Version>21.75</Version>  <Mode>partial</Mode><!--modes: strict, flexible, partial-->  <<UnattendedRemoteSupport>true</UnattendedRemoteSupport> </Settings>

b. Transfer this file to the intended device(s) using the steps shared here. 


2. Push a run script job to force apply the partial SureMDM agent settings.

Refer to the screenshot for steps on how to create a run script job. Please use the below-mentioned command in the run script job.

Steps to create a run script job.
am broadcast -a com.nix.COMMUNICATOR -e command apply_settings -e settings_path /sdcard/NixSettings.xml com.nix

Once the job is created, apply the job to the same devices on which the job created in Step 1 was applied.  You can also create a composite job with the above jobs in the same order and apply it to the device(s).  

‚ÄčThis should enable the unattended remote support option on the device(s)

For more details on our products, click here 
If you need further assistance, please submit a ticket here