Scripts to Remotely Configure Zebra Devices

Using predefined scripts, admin can create jobs on SureMDM that can be pushed to Zebra devices to manage device peripherals remotely. Find below the scripts to remotely configure hardware peripherals of Zebra devices:

 

Remote Wipe (Factory Reset) from the Console

!#suremdm

zebra(<wap-provisioningdoc><characteristic type=""PowerMgr"" version=""4.2"" > <parm name=""ResetAction"" value=""7""/></characteristic></wap-provisioningdoc>)

 

Remote Reboot from the Console

!#suremdm

zebra(<wap-provisioningdoc> <characteristic type="PowerMgr" version="4.2" > <parm name="ResetAction" value="4"/> </characteristic></wap-provisioningdoc>)

 

Enterprise Reset with persistence

!#suremdm

zebra(<wap-provisioningdoc><characteristic type="PowerMgr" version="4.2" > <parm name="ResetAction" value="5"/></characteristic></wap-provisioningdoc>)

 

Factory Reset

!#suremdm

zebra(<wap-provisioningdoc><characteristic type="PowerMgr" version="4.2" > <parm name="ResetAction" value="6"/></characteristic></wap-provisioningdoc>)

 

Clock Manager: Set Time, Date, Auto Time, Time zone

!#suremdm

zebra(<wap-provisioningdoc><characteristic type="Clock" version="4.2" ><parm name="AutoTime" value="false"/><parm name="TimeZone" value="GMT-5"/><parm name="Date" value="2015-07-09"/><parm name="Time" value="10:25:33"/> </characteristic></wap-provisioningdoc>)

 

Enable/Disable Bluetooth, NFC, WIFI, WAN, Airplane Mode

Bluetooth Enable/Disable

Note: value 1 = enable ,  2 = disable

!#suremdm

zebra(<wap-provisioningdoc> <characteristic type="WirelessMgr" version="4.3" > <parm name="BluetoothState" value="2"/></characteristic></wap-provisioningdoc>)

 

NFC Enable/Disable

Note : value 1 = enable ,  2 = disable

!#suremdm

zebra(<wap-provisioningdoc> <characteristic type="WirelessMgr" version="4.3" > <parm name="NFCState" value="2"/></characteristic></wap-provisioningdoc>)

 

Wi-Fi Enable/Disable

Note : value 1 = enable ,  2 = disable

!#suremdm

zebra(<wap-provisioningdoc><characteristic type="SettingsMgr" version="4.4"><parm name="WifiSettingsUI" value="2"/></characteristic></wap-provisioningdoc>)

 

Airplane Mode Enable/Disable

Note : value 1 = enable ,  2 = disable

!#suremdm

zebra(<wap-provisioningdoc><characteristic type="SettingsMgr" version="4.4"><parm name="AirplaneMode" value="2"/></characteristic></wap-provisioningdoc>)

 

WAN Enable/Disable

Note : value 1 = enable ,  2 = disable

!#suremdm

zebra(<wap-provisioningdoc><characteristic type="WirelessMgr" version="4.3" ><parm name="WWANState" value="2"/></characteristic></wap-provisioningdoc>)

 

Display Manager: Timeout & Brightness

!#suremdm

zebra(<wap-provisioningdoc><characteristic type="DisplayMgr" version="5.0" ><parm name="TimeoutInterval" value="1800"/></characteristic></wap-provisioningdoc>)

 

Enable/Disable Settings/Notifications

Disable Settings icon from notification panel

Note : value 1 = enable ,  2 = disable

!#suremdm

zebra(<wap-provisioningdoc><characteristic type="UiMgr" version="5.1" ><parm name="NotificationSettings" value="2"/></characteristic></wap-provisioningdoc>)

 

Disable notification pull down.

Note : value 1 = enable ,  2 = disable

!#suremdm

zebra(<wap-provisioningdoc><characteristic type="UiMgr" version="5.1" ><parm name=" NotificationPullDown" value="1"/></characteristic></wap-provisioningdoc>)

 

Encryption – Encrypt SD card & Internal storage

Note : value  0 = do nothing  , 1 = Encrypt sdcard  ,  2 =Format sdcard

!#suremdm

zebra(<wap-provisioningdoc><characteristic type="EncryptMgr" version="4.3" ><parm name="SdCardOperation" value="1"/><parm name="SdCardKeyName" value=" EncryptKey"/></characteristic></wap-provisioningdoc>)

 

UI Manager – Enable/Disable Clipboard, Clear Clipboard, Enable/Disable Home Key

UI Manager – Enable/Disable Clipboard

Note : value 1 = enable ,  2 = disable

!#suremdm

zebra(<wap-provisioningdoc><characteristic type=""UiMgr"" version=""4.3"" ><parm name=""ClipBoardUsage"" value=""2"" /></characteristic></wap-provisioningdoc>)"

 

UI Manager – Clear Clipboard

!#suremdm

zebra(<wap-provisioningdoc> <characteristic type=""UiMgr"" version=""4.3"" ><parm name=""ClipBoardClear"" value=""true""/></characteristic></wap-provisioningdoc>)"

 

UI Manager – Enable/Disable Home Key

Note: value 1 = enable ,  2 = disable

!#suremdm

zebra(<wap-provisioningdoc><characteristic type=""UiMgr"" version=""4.3"" ><parm name=""HomeKeyUsage"" value=""2""/></characteristic></wap-provisioningdoc>)"

 

Wireless Manager – Enable/Disable Location Services

Note: value 1 = enable ,  2 = disable

!#suremdm

zebra(<wap-provisioningdoc> <characteristic type="WirelessMgr" version="4.3" > <parm name="GPSState" value="2"/></characteristic></wap-provisioningdoc>)

Touch Manager – Stylus and Finger, Glove and Finger

!#suremdm

zebra(Stylus<wap-provisioningdoc><characteristic version="4.2" type="TouchMgr"><parm name="TouchAction" value="Stylus and Finger" /></characteristic></wap-provisioningdoc>)

Disable Peripheral Services (USB and Camera)

USB Enable/Disable

Note : value 1 = enable ,  2 = disable

!#suremdm

zebra(<wap-provisioningdoc><characteristic type="UsbMgr" version="4.2" ><parm name="UsbModuleUsage" value="2"/> </characteristic></wap-provisioningdoc>)

 

Enable All Camera

Note : value 1 = enable ,  2 = disable

!#suremdm

zebra(<wap-provisioningdoc><characteristic type="CameraMgr" version="4.3" ><parm name="UseAllCameras" value="1"/></characteristic></wap-provisioningdoc>)

 

Set Wi-Fi Sleep Policy to Always On

!#suremdm

zebra(<wap-provisioningdoc><characteristic type="Wi-Fi"  ><characteristic type="System"><parm name="WiFiAction" value="enable"/><parm name="WifiSleepPolicy" value="AlwaysOn"/></characteristic><parm name="UseRegulatory" value="0"/><parm name="UseDiagnosticOptions" value="0"/><parm name="UseAdvancedOptions" value="0"/></characteristic></wap-provisioningdoc>)

 

Leave a Comment