Run Script (Windows)


Run Script job will run customized scripts on the enrolled devices.

To create a job with customized scripts and deploy it to the enrolled device(s) or group(s) remotely, follow these steps:

1.  Navigate to SureMDM Web Console > Jobs > New Job > Windows > Run Script.  

2.  In the Run Script prompt, enter a Job Name and Script and click Save.

                                    Or

     To add a pre-defined script in the Script box, follow these steps:

     a.  Click a setting displayed on the left panel.

      • Disable SureLock Analytics
      • Disable USB for Windows device
      • Enable BitLocker Runscript supports on Windows 8 and 10
      • Enable USB for Windows device
      • Enable SureLock Analytics
      • Exit SureLock with reboot
      • Exit SureLock without reboot
      • Export SureLock Analytics
      • For Enable unattended Remote Support as allow
      • For Enable unattended Remote Support as deny
      • For Enable Unattended Remote Support as Prompt
      • Launch Network Settings
      • Launch SureLock with reboot
      • Refresh SureLock Homescreen
      • Reset Password
      • Runscript to enable/disable Windows Update
      • Script to change User Password
      • Script to create new user
      • Script to set user as Administrator
      • To change wallpaper on the device
      • To disable BitLocker support on Windows 8 and 10
      • To disable write access to the desktop
      • To enable write access to the desktop

      b.  Select Execute In Currently Logged In User Account to deploy the job on the currently logged in user on the device and click Save.

A run script will appear on the screen. 

c. Configure the script if required and click Validate.

          A confirmation of successful validation will be displayed.

      d.  Click Insert.

           The run script will be inserted in the box.

      e. Click Save.

The newly created job will be listed in the Jobs List section.

3.  Go back to Home and select the Windows device(s) or group(s).

4.  Click Apply to launch Apply Job/Profile To Device prompt.

5.  In the Apply Job/Profile To Device prompt, select the job and click Apply.