Possible to program a "Reboot Phone" option in Android Work Enterprise Managed Lockscreen?

Solved

Hi All,

We use Samsung Galaxy A21s that are in the Android Work Enterprise Managed profile with lockdown policy enabled. Many of our lesser technical users don't know how to reboot the phone. I was looking to add a "Reboot Phone" option to the lockscreen for these users.

I've experimented with a few different approaches, but I still haven't found a good way to accomplish this:

  1. Using a third party app to reboot (requires accessibility permissions not available to users)
  2. Trying to invoke a reboot using action:// and intent:// options for lockscreens
2 years ago
SOTI MobiControl
ANSWERS
RC
Raymond Chan Diamond Contributor
2 years ago

Have you properly set your kiosk item as mentioned in my previous post?

Solution
MD
Matt Dermody Diamond Contributor
2 years ago
EF
Ed Ferreira
2 years ago

Hi Matt,

Thanks for that suggestion. I successfully created a File Sync rule to push my RebootPhone.cmd script into the %sdcard%/Downloads folder. I tried a few different ways to invoke the script. There is no "script://" option in my lockdown menu so that wasn't possible.

My RebootPhone.cmd script just contains the one-liner "reset /s".

I tried using: 

  • file://%sdcard%/Download/RebootPhone.cmd
  • custom: %sdcard%/Download/RebootPhone.cmd
  • action://%sdcard%/Download/RebootPhone.cmd
  • launch://%sdcard%/Download/RebootPhone.cmd

Unfortunately, I did not have success with any of the above methods.

RC
Raymond Chan Diamond Contributor
2 years ago

Choose  custom,  and then input

    script://%sdcard%/Download/RebootPhone.cmd

In your case, please also make sure the command file is in "Download" and not "Downloads" folder, and note that the filename RebootPhone.cmd in the .cmd script file is case sensitive.

EF
Ed Ferreira
2 years ago

Hi Raymond,

Here's a screenshot showing the script exists in the right folder. The syntax in the above reply is appropriately case sensitive.

OneDrive link to screenshot

M
MNMOD@SOTI
2 years ago

Hi Ed Ferreira,

Thank you for posting on SOTI Pulse!

I am glad that the issue got resolved.

Thank you for marking Raymond's post as solution. If you require any more assistance, please feel free to let us know.

Kind regards,

Technical Support Specialist | SOTI | +1 905.624.9828 | SOTI.net l Discussion Forum | Log a Case Online l Facebook l LinkedIn l Twitter