![]() These extensions will be removed if you continue." which I don't get if I just rm -rf the whole app. What I want to accomplish ultimately is that by running a script from my MDM I can get the same dialog that when I drag de app to the bin: "The application “Symantec Endpoint Protection” is hosting system extensions. There are many ways to script Jamf: Policy scripts Extension attributes: miniscripts Installation scripts LaunchDaemons/Agents Application scripts Terminal How the shell environment affects scripts You write a script, it works in testing, and it stops working. I think it's related with the Privacy Preferences Policy Control but I cannot make it work. Now, I need to run that from my MDM solution (JAMF), so I'm trying to get it into a bash file as this: osascript -e "tell application \"System Events\" to delete (POSIX file \"/Applications/Symantec Solutions/Symantec Endpoint Protection.app\") as alias"īut when run it from my editor (CodeRunner) it fails with: execution error: Not authorised to send Apple events to System Events. The policy runs on computers in the scope the next time they check in with Jamf Pro and meet the criteria in the General payload.This apple script code works fine from the Script Editor app: tell application "Finder" to delete ((POSIX file "/Applications/Symantec Solutions/Symantec Endpoint Protection.app") as alias) For more information, see User Interaction with Policies. (Optional) Click the User Interaction tab and configure messaging and deferral options. For more information, see Items Available to Users in Jamf Self Service for macOS. (Optional) Click the Self Service tab and make the policy available in Self Service. ![]() Use the Restart Options payload to configure settings for restarting computers.Ĭlick the Scope tab and configure the scope of the policy. Select the Scripts payload and click Configure.Ĭlick Add for the script you want to run. Use the General payload to configure basic settings for the policy, including the trigger and execution frequency. Understanding Book Distribution MethodsĬlick the Computers tab at the top of the page.Volume Purchasing Content Reports for Users.Advanced Volume Purchasing Content Searches for Users.Simple Volume Purchasing Content Searches for Users.Importing Users to Jamf Pro from Apple School Manager.Settings and Security Management for Mobile Devices.Volume Purchasing Content Reports for Mobile Devices.Advanced Volume Purchasing Content Searches for Mobile Devices.Simple Volume Purchasing Content Searches for Mobile Devices.VPP Code Distribution for Mobile Devices.Managed Distribution for Mobile Devices.Volume Store Content Distribution for Mobile Devices.Viewing the History for a Mobile Device.Viewing Management Information for a Mobile Device.Mobile Device Inventory Display Settings.Mobile Device Inventory Collection Settings.Mobile Device Inventory Information Reference Running Scripts Using a Policy In Jamf Pro, click Computers at the top of the sidebar.User Enrollment Experience for Mobile Devices.User-Initiated Enrollment Experience for Mobile Devices.User-Initiated Enrollment for Mobile Devices.Application Usage for Licensed Software.Administering Open Firmware/EFI Passwords.Deploying Disk Encryption Configurations.Managing Disk Encryption Configurations. ![]() Settings and Security Management for Computers.Volume Purchasing Content Reports for Computers.Advanced Volume Purchasing Content Searches for Computers.Simple Volume Purchasing Content Searches for Computers.Volume Store Content Distribution for Computers.Viewing Management Information for a Computer.Computer Inventory Information Reference.User-Initiated Enrollment Experience for Computers.User-Initiated Enrollment for Computers.Building the Framework for Managing Computers.Jamf Self Service for iOS Branding Settings.About Jamf Self Service for Mobile Devices.Items Available to Users in Jamf Self Service for macOS.Jamf Self Service for macOS Branding Settings.Jamf Self Service for macOS Notifications. ![]() Jamf Self Service for macOS Configuration Settings.Jamf Self Service for macOS User Login Settings. ![]()
0 Comments
Leave a Reply. |