{"id":3534,"date":"2013-11-02T15:59:43","date_gmt":"2013-11-02T10:29:43","guid":{"rendered":"http:\/\/live-42gears-site.pantheonsite.io\/blog\/?p=3534"},"modified":"2020-08-27T07:07:34","modified_gmt":"2020-08-27T07:07:34","slug":"execute-script-commands-on-samsung-devices-using-suremdm-nix","status":"publish","type":"post","link":"https:\/\/www.42gears.com\/fr\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/","title":{"rendered":"Execute Script Commands on Samsung Devices using SureMDM Nix"},"content":{"rendered":"<table border=\"0\" width=\"265\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"text-align: left;\" colspan=\"2\" width=\"128\" height=\"20\"><span style=\"color: #585858; font-size: small;\"><strong><span style=\"text-decoration: underline;\">Applies to<\/span>:<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td height=\"20\"><span style=\"color: #0080ff; font-size: small;\"><strong>Product<\/strong><\/span><\/td>\n<td height=\"20\"><strong><span style=\"color: #fe8f8f; font-size: small;\">SureMDM\/Samsung Nix<\/span><\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\" height=\"20\"><span style=\"color: #0080ff; font-size: small;\"><strong>Platform<\/strong><\/span><\/td>\n<td height=\"20\"><strong><span style=\"color: #fe8f8f; font-size: small;\">Android<\/span><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>With SureMDM, you can create jobs (<a title=\"How to Install Android Application(APK) on devices remotely using SureMDM?\" href=\"https:\/\/www.42gears.com\/blog\/2012\/03\/how-to-install-android-applicationapk-on-devices-remotely\/\" target=\"_blank\" rel=\"noopener noreferrer\">read more<\/a>) and deploy it to your devices remotely. One of the jobs listed for Android devices is <strong>Run Script<\/strong>. With <strong>Run Script<\/strong>, you can create a Job to remotely execute script commands on the devices.<\/p>\n<p><a href=\"https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script.png\" rel=\"attachment wp-att-16052\"><img decoding=\"async\" class=\"wp-image-16052 aligncenter\" src=\"https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script.png\" alt=\"suremdm-select-run-script\" width=\"887\" height=\"320\" srcset=\"https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script.png 1188w, https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script-300x108.png 300w, https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script-1024x370.png 1024w\" sizes=\"(max-width: 887px) 100vw, 887px\" \/><\/a><\/p>\n<p style=\"color: #2579b7; font-size: 23px;\"><strong>List of&nbsp;Scripts Commands:<\/strong><\/p>\n<p><strong>1.Enable KNOX:<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">activateknox<\/span><\/p>\n<p><strong>2. Reboot Device:<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">reboot<\/span><\/p>\n<p><strong>3. Install application:<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">install(\/sdcard\/file name)<\/span><\/p>\n<p><strong>4. Uninstall application:<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">uninstall(package name)<\/span><\/p>\n<p><strong>5. Clear App Data:<\/strong><\/p>\n<p><span style=\"color: #333399;\">am broadcast -a com.nix.COMMUNICATOR -e command clearAppData -e packages package1,package2,\u2026packageN&nbsp; com.nix<\/span><\/p>\n<p><strong>6. Turn GPS OFF:<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">TurnOnGPS(false)<\/span><\/p>\n<p><strong>7. RunScript to toggle lollipop screen capture<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">LollipopScreenCapture(TRUE)<\/span><\/p>\n<p><strong>8. RunScript to set Time ,Date and Time Zone<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">SetDateTime(DD-MM-YYYY,00:00:00AM\/PM,Continent\/State)<\/span><\/p>\n<p><strong>9. To deactivate nix admin on Device<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">deactivateadmin(com.nix)<\/span><\/p>\n<p><strong>10. To enable app by package name<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">enable(pkg1,pkg2..pkN)<\/span><\/p>\n<p><strong>11. To disable app by package name<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">disable(pkg1,pkg2..pkN)<\/span><\/p>\n<p><strong>12. To edit phone number<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">updatephonenumber(912345678)<\/span><\/p>\n<p><strong>13. To disable uninstall<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">blockUninstall(pkg1,pk2,..,pkgN)<\/span><\/p>\n<p><strong>14. To enable uninstall<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">allowUninstall(pkg1,pk2,..,pkgN)<\/span><\/p>\n<p><strong>15. Block OTA updates<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">blockOTAUpgrade(TRUE)<\/span><\/p>\n<p><strong>16. Unblock OTA updates<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">blockOTAUpgrade(FALSE)<\/span><\/p>\n<p><strong>17. Set screen off timeout<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">screenofftimeout(60)<\/span><\/p>\n<p><strong>18. Configure Email<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">configureEmail(action, userName, password, serverType, incomingServerAddress, outgoingServerAddress, securityType_Incoming, securityType_Outgoing, incomingPort, outgoingPort, signature)<\/span><\/p>\n<p><strong>19. Screen Capture<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">screencap<\/span><\/p>\n<p><strong>20. Swipe<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">swipe(x1,y1,x2,y2)<\/span><\/p>\n<p><strong>21. Reauthenticate SuperSu<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">reauthenticateSuperSu(TRUE)<\/span><\/p>\n<p><strong>22. Copy To System Folder<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">copyToSystemFolder(packageName)<\/span><\/p>\n<p id=\"enable_firewall\">\n<strong>23. Set Admin Removable<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">setAdminRemovable(removable, Packagename)<\/span><\/p>\n<p><strong>24. Enable Firewall<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">EnableFirewall(Whitelist IP,Blacklist IP,Whitelist Domain,Blacklist Domain)<\/span><\/p>\n<p><strong>25. Disable Firewall<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">DisableFirewall<\/span><\/p>\n<p><strong>26. Firewall Whitelist App<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">firewallwhitelistapp(pacakge1,pacakge2?pacakgen)<\/span><\/p>\n<p><strong>27. Create APN Settings<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">createApnSettings(apnname,user,password,server,mmsc,mmsproxy,mmsport,mcc,mnc,type,name, setdefaultValue)<\/span><\/p>\n<p><strong>28. Delete APN Settings<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">deleteApnSettings(APN_name)<\/span><\/p>\n<p><strong>29. BlockIncomingMMS<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">BlockIncomingMMS(TRUE)<\/span><\/p>\n<p><strong>30. BlockOutgoingMMS<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">BlockOutgoingMMS(TRUE)<\/span><\/p>\n<p><strong>31. Shutdown Device<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">shutdown<\/span><\/p>\n<p><strong>32. Reboot after 10 Seconds<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">reboot(sec)<\/span><\/p>\n<p><strong>33. Shutdown after 10 Seconds<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">shutdown(sec)<\/span><\/p>\n<p><strong>34. To force stop an app<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">StopApp(package1,package2,..,packageN)<\/span><\/p>\n<p><strong>35. Turn NFC ON\/OFF<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">NFCState(ON\/OFF)<\/span><\/p>\n<p><strong>36. Set Lock Screen Wallpaper on the device screen.<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">LockScreenWallpaper(\/sdcard\/DCIM\/Camera\/20170504_212614.jpg)<\/span><\/p>\n<p><strong>37. Reset Lock Screen Wallpaper on the device screen<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">ResetLockScreenWallPaper<\/span><\/p>\n<p><strong>38. Disable DataRoaming on the device<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">disableDataRoaming(TRUE)<\/span><\/p>\n<p><strong>39. Reset DataRoaming on the device<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">disableDataRoaming(FALSE)<\/span><\/p>\n<p><strong>40. Control power saver mode android settings of the device<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">disablePowerSavingMode(true\/false)<\/span><\/p>\n<p><strong>41. Block incoming sms<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\"> blockIncomingSMS(true)<\/span><\/p>\n<p><strong>42. Block outgoing sms<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\"> blockOutgoingSMS(true)<\/span><\/p>\n<p><strong>43. Block specific number<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">blockOutgoingSMS (Number1,Number2,..etc)<\/span><\/p>\n<p><strong>44. Firewall script to whitelist apps<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">firewallwhitelistapp(pacakge1,pacakge2&#8230;pacakgen)<\/span><\/p>\n<p><strong>45. Enable Multi Window Mode<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">allowMultiWindowMode(true)<\/span><\/p>\n<p><strong>46. Disable Multi Window Mode<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">allowMultiWindowMode(false)<\/span><\/p>\n<p><strong>47. Remove account from Gmail App<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">removeAccountFromDevice(account type)<\/span><\/p>\n<p><strong>48. Remove Gmail account from Email App<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">removeAccountFromDevice(package name for Email app)<\/span><\/p>\n<p><strong>49. Change Font size based on user prefer by applying<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">setSystemActiveFontSize(fontSizeInFloat)<\/span><\/p>\n<p><strong>50. Dump System Font Sizes in a file<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">dumpSystemFontSizes<\/span><\/p>\n<p><strong>51. Change Lock Screen Wallpaper<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">LockScreenWallpaper(\/sdcard\/DCIM\/a.jpg)<\/span><\/p>\n<p><strong>52. Whitelist WiFi restriction<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">whiteListWifiSSID(SSID1,\u2026SSIDn)<\/span><\/p>\n<p><strong>53. Blacklist WiFi restriction<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">blackListWifiSSID(SSID1,\u2026SSIDn)<\/span><\/p>\n<p><strong>54. Remove WiFi restriction<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">clearWifiRestriction<\/span><\/p>\n<p><strong>55. Disable battery optimization for any third party applications.<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">removeAppFromBatteryOptimization(packageName1,\u2026,packageNameN)<\/span><\/p>\n<p><strong>56. Enable battery optimization for any third party applications.<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">addAppToBatteryOptimization (packageName1,\u2026,packageNameN)<\/span><\/p>\n<p><strong>57. Remote screen image ignore scale down<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">IgnoreImageScaleDown(true)<\/span><\/p>\n<p><strong>58. Set System Active Font Size<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\"> setSystemActiveFontSize(fontSizeInFloat)<\/span><\/p>\n<p><strong>59. Run script to disable factory reset for Knox devices<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">DisableFactoryReset(true\/false)<\/span><\/p>\n<p><strong>60. Turn Hotspot OFF<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">disableHotspot(true)<\/span><\/p>\n<p><strong>61. Set System Active Font Size<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">setSystemActiveFontSize(fontSizeInFloat)<\/span><\/p>\n<p><strong>62. Allow or deny runtime permissions :<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">allowRuntimePermissions(true\/false,packagename)<\/span><\/p>\n<p><strong>63.&nbsp;Set shortcut image on SureLock Homescreen. :<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">CreateAppShortcut(PackageName,ClassName,Url,Title,IconPath)<br \/>\n<\/span><\/p>\n<p><strong>64. Set provided image as Homescreen Wallpaper. :<\/strong><\/p>\n<p><span style=\"color: #0431b4;\">!#suremdm<\/span><br \/>\n<span style=\"color: #0431b4;\">setHomeScreenWallpaper(\/sdcard\/download\/wallpaper2.jpg)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><center><a class=\"blog_button\" href=\"https:\/\/www.42gears.com\/products\/suremdm\/signup\/\">Signup for SureMDM Free Trial<\/a><\/center>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Applies to: Product SureMDM\/Samsung Nix Platform Android &nbsp; With SureMDM, you can create jobs (read more) and deploy it to your devices remotely. One of the jobs listed for Android devices is Run Script. With Run Script, you can create a Job to remotely execute script commands on the devices. List of&nbsp;Scripts Commands: 1.Enable KNOX:&hellip;<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[9,39,26],"tags":[172,176,177,25],"class_list":["post-3534","post","type-post","status-publish","format-standard","hentry","category-android","category-development","category-suremdm","tag-apis","tag-run-script","tag-samsung-nix","tag-suremdm"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Execute Script Commands on Samsung Devices using SureMDM Nix - 42Gears Mobility Systems<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Execute Script Commands on Samsung Devices using SureMDM Nix\" \/>\n<meta property=\"og:description\" content=\"Applies to: Product SureMDM\/Samsung Nix Platform Android &nbsp; With SureMDM, you can create jobs (read more) and deploy it to your devices remotely. One of the jobs listed for Android devices is Run Script. With Run Script, you can create a Job to remotely execute script commands on the devices. List of&nbsp;Scripts Commands: 1.Enable KNOX:&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/\" \/>\n<meta property=\"og:site_name\" content=\"42Gears Mobility Systems\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/42gears\" \/>\n<meta property=\"article:published_time\" content=\"2013-11-02T10:29:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-27T07:07:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script.png\" \/>\n<meta name=\"author\" content=\"42Gears Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@42Gears\" \/>\n<meta name=\"twitter:site\" content=\"@42Gears\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"42Gears Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/\"},\"author\":{\"name\":\"42Gears Team\",\"@id\":\"https:\/\/www.42gears.com\/#\/schema\/person\/28a14f2c32de4a7903ac672579a88a2d\"},\"headline\":\"Execute Script Commands on Samsung Devices using SureMDM Nix\",\"datePublished\":\"2013-11-02T10:29:43+00:00\",\"dateModified\":\"2020-08-27T07:07:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/\"},\"wordCount\":626,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.42gears.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script.png\",\"keywords\":[\"APIs\",\"Run Script\",\"Samsung Nix\",\"SureMDM\"],\"articleSection\":[\"Android\",\"Development\",\"SureMDM\"],\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/\",\"url\":\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/\",\"name\":\"Execute Script Commands on Samsung Devices using SureMDM Nix - 42Gears Mobility Systems\",\"isPartOf\":{\"@id\":\"https:\/\/www.42gears.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script.png\",\"datePublished\":\"2013-11-02T10:29:43+00:00\",\"dateModified\":\"2020-08-27T07:07:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#primaryimage\",\"url\":\"https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script.png\",\"contentUrl\":\"https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.42gears.com\/fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Execute Script Commands on Samsung Devices using SureMDM Nix\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.42gears.com\/#website\",\"url\":\"https:\/\/www.42gears.com\/\",\"name\":\"42Gears Mobility Systems\",\"description\":\"Mobile Device Management (MDM), Mobile Security &amp; Mobile Device Lockdown\",\"publisher\":{\"@id\":\"https:\/\/www.42gears.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.42gears.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.42gears.com\/#organization\",\"name\":\"MDM - 42Gears\",\"url\":\"https:\/\/www.42gears.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/www.42gears.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.42gears.com\/wp-content\/uploads\/2018\/12\/Featured-Image-42Gears-logo.png\",\"contentUrl\":\"https:\/\/www.42gears.com\/wp-content\/uploads\/2018\/12\/Featured-Image-42Gears-logo.png\",\"width\":499,\"height\":330,\"caption\":\"MDM - 42Gears\"},\"image\":{\"@id\":\"https:\/\/www.42gears.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/42gears\",\"https:\/\/x.com\/42Gears\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.42gears.com\/#\/schema\/person\/28a14f2c32de4a7903ac672579a88a2d\",\"name\":\"42Gears Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/www.42gears.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7d257fb658a429b8607872336eac3833a8314ca3ca67d72c90ceeddc7700c42e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7d257fb658a429b8607872336eac3833a8314ca3ca67d72c90ceeddc7700c42e?s=96&d=mm&r=g\",\"caption\":\"42Gears Team\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Execute Script Commands on Samsung Devices using SureMDM Nix - 42Gears Mobility Systems","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/","og_locale":"fr_FR","og_type":"article","og_title":"Execute Script Commands on Samsung Devices using SureMDM Nix","og_description":"Applies to: Product SureMDM\/Samsung Nix Platform Android &nbsp; With SureMDM, you can create jobs (read more) and deploy it to your devices remotely. One of the jobs listed for Android devices is Run Script. With Run Script, you can create a Job to remotely execute script commands on the devices. List of&nbsp;Scripts Commands: 1.Enable KNOX:&hellip;","og_url":"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/","og_site_name":"42Gears Mobility Systems","article_publisher":"https:\/\/www.facebook.com\/42gears","article_published_time":"2013-11-02T10:29:43+00:00","article_modified_time":"2020-08-27T07:07:34+00:00","og_image":[{"url":"https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script.png","type":"","width":"","height":""}],"author":"42Gears Team","twitter_card":"summary_large_image","twitter_creator":"@42Gears","twitter_site":"@42Gears","twitter_misc":{"Written by":"42Gears Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#article","isPartOf":{"@id":"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/"},"author":{"name":"42Gears Team","@id":"https:\/\/www.42gears.com\/#\/schema\/person\/28a14f2c32de4a7903ac672579a88a2d"},"headline":"Execute Script Commands on Samsung Devices using SureMDM Nix","datePublished":"2013-11-02T10:29:43+00:00","dateModified":"2020-08-27T07:07:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/"},"wordCount":626,"commentCount":0,"publisher":{"@id":"https:\/\/www.42gears.com\/#organization"},"image":{"@id":"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#primaryimage"},"thumbnailUrl":"https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script.png","keywords":["APIs","Run Script","Samsung Nix","SureMDM"],"articleSection":["Android","Development","SureMDM"],"inLanguage":"fr-FR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/","url":"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/","name":"Execute Script Commands on Samsung Devices using SureMDM Nix - 42Gears Mobility Systems","isPartOf":{"@id":"https:\/\/www.42gears.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#primaryimage"},"image":{"@id":"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#primaryimage"},"thumbnailUrl":"https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script.png","datePublished":"2013-11-02T10:29:43+00:00","dateModified":"2020-08-27T07:07:34+00:00","breadcrumb":{"@id":"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#primaryimage","url":"https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script.png","contentUrl":"https:\/\/www.42gears.com\/wp-content\/uploads\/2013\/11\/suremdm-select-run-script.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.42gears.com\/de\/blog\/execute-script-commands-on-samsung-devices-using-suremdm-nix\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.42gears.com\/fr\/"},{"@type":"ListItem","position":2,"name":"Execute Script Commands on Samsung Devices using SureMDM Nix"}]},{"@type":"WebSite","@id":"https:\/\/www.42gears.com\/#website","url":"https:\/\/www.42gears.com\/","name":"42Gears Mobility Systems","description":"Mobile Device Management (MDM), Mobile Security &amp; Mobile Device Lockdown","publisher":{"@id":"https:\/\/www.42gears.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.42gears.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/www.42gears.com\/#organization","name":"MDM - 42Gears","url":"https:\/\/www.42gears.com\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.42gears.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.42gears.com\/wp-content\/uploads\/2018\/12\/Featured-Image-42Gears-logo.png","contentUrl":"https:\/\/www.42gears.com\/wp-content\/uploads\/2018\/12\/Featured-Image-42Gears-logo.png","width":499,"height":330,"caption":"MDM - 42Gears"},"image":{"@id":"https:\/\/www.42gears.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/42gears","https:\/\/x.com\/42Gears"]},{"@type":"Person","@id":"https:\/\/www.42gears.com\/#\/schema\/person\/28a14f2c32de4a7903ac672579a88a2d","name":"42Gears Team","image":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.42gears.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7d257fb658a429b8607872336eac3833a8314ca3ca67d72c90ceeddc7700c42e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7d257fb658a429b8607872336eac3833a8314ca3ca67d72c90ceeddc7700c42e?s=96&d=mm&r=g","caption":"42Gears Team"}}]}},"author_meta":{"ID":"7","user_nicename":"42gears","user_email":"42gears@gmail.com","user_registered":"2015-07-15 04:55:37","display_name":"42Gears Team","first_name":"42Gears","last_name":"Team"},"_links":{"self":[{"href":"https:\/\/www.42gears.com\/fr\/wp-json\/wp\/v2\/posts\/3534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.42gears.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.42gears.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.42gears.com\/fr\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.42gears.com\/fr\/wp-json\/wp\/v2\/comments?post=3534"}],"version-history":[{"count":42,"href":"https:\/\/www.42gears.com\/fr\/wp-json\/wp\/v2\/posts\/3534\/revisions"}],"predecessor-version":[{"id":56898,"href":"https:\/\/www.42gears.com\/fr\/wp-json\/wp\/v2\/posts\/3534\/revisions\/56898"}],"wp:attachment":[{"href":"https:\/\/www.42gears.com\/fr\/wp-json\/wp\/v2\/media?parent=3534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.42gears.com\/fr\/wp-json\/wp\/v2\/categories?post=3534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.42gears.com\/fr\/wp-json\/wp\/v2\/tags?post=3534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}