Skip to main content
Solved

Socket Filter Disable Script / Runs ok in the local terminal, fails via Jamf Scripts.

  • November 23, 2023
  • 1 reply
  • 0 views

Forum|alt.badge.img+3

Hi Chaps,

 

I have a need to disable the Defender AV socket filter.

'mdapt system-extension network-filter disable'

The above works fine when i run locally albeit with a Sudo command.

Jamf scripts is unable to run this, Is anyone doing anything similar or have any thoughts on this.
I've tried to invoke a currently logged in user prior to running the command without any success

 

Thanks,

M

 

Best answer by cenforce

Hello! It's worth noting that Jamf scripts often run with specific permissions, and your attempt to invoke a currently logged-in user prior to the command hasn't yielded success. To troubleshoot, consider ensuring that the Jamf script has the necessary privileges and permissions to execute the 'mdapt system-extension network-filter disable' command. You might also explore running the script with elevated permissions or checking for any specific error messages that could provide insights into the issue.

View original
Did this topic help you find an answer to your question?

cenforce
Forum|alt.badge.img+5
  • New Contributor
  • November 24, 2023

Hello! It's worth noting that Jamf scripts often run with specific permissions, and your attempt to invoke a currently logged-in user prior to the command hasn't yielded success. To troubleshoot, consider ensuring that the Jamf script has the necessary privileges and permissions to execute the 'mdapt system-extension network-filter disable' command. You might also explore running the script with elevated permissions or checking for any specific error messages that could provide insights into the issue.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings