Prevent end users from disabling GPS Locations

Satish Shetty Updated by Satish Shetty

The Codeproof platform offers a new policy where admin can forcefully prevent end-users from turning off the GPS location services. This policy is available on Android Pie (9.0+) and above versions. With this policy, Now Administrators don't have to block the entire "Settings" app, instead they can block only location settings and other required settings.

To enable this policy follow these steps.


  1. Login to Codeproof Cloud Console.
  2. Go to Policy Manager using the top menu.
  3. Select a device or a group and on the right side go to "Android Security" and then go to "Device Restrictions".
  4. Check the "Block Location Settings Changes" policy and hit "Save".
  5. Now the GPS location can not be turned off using the Settings App. See below image illustrations.


Admin Console - Policy Editor:




In the device, Open the "Settings" app. The location is enabled but can't be turned off. See below image illustrations.




How did we do?

GPS location tracking using Codeproof

How to prevent someone from disabling find my iphone?