1. Home
  2. Knowledge Base
  3. SureMDM
  4. How to Change Screen Lock Type to Swipe Using Runscript in SureMDM
  1. Home
  2. Knowledge Base
  3. Android Management
  4. How to Change Screen Lock Type to Swipe Using Runscript in SureMDM

How to Change Screen Lock Type to Swipe Using Runscript in SureMDM

Purpose

To remotely modify the device screen lock configuration from a secure method such as PIN to a less restrictive Swipe lock, SureMDM provides a Runscript command. This helps administrators quickly adjust device security posture based on operational requirements.

Prerequisites

  • SureMDM Agent version V28.58.05 or later
  • Device enrolled in SureMDM
  • Device should allow remote script execution


Steps

Steps to change the screen lock type to Swipe:

  1. On the SureMDM Console -> Jobs -> New Job
  2. Android -> Click on Run Script
  3. Enter the Job Name and Enter the following script:

!#suremdm

SetLockScreenToSwipe

4.       Save and Deploy to the Device.

Expected Results

  • The device screen lock type is changed from PIN (or other secure method) to Swipe
  • Users can unlock the device by swiping the screen without entering a PIN


Conclusion

The Runscript command SetLockScreenToSwipe provides a quick and efficient way to remotely modify device lock settings.

Need more help? Here’s how to get help from our experts.

CONTACT US

Was this helpful?
YesNo
Updated on July 2026
Need Support?
Can't find the answer you're looking for?
Contact Support