Skip to main content
Question

Script Policy - Error Code = 0 but not working ?


Forum|alt.badge.img+3

Hey there,

Sorry - The title should read "EXIT" code, not Error code.

I have a script policy that uninstalls a specific program.

The script when ran manually from my Desktop works properly, and uninstalls the program in question.

When I run the Policy, it mentions that the script ran correct (Exit Code = 0), but the program doesn't actually get uninstalled...

Here is what the output is from Terminal when I run "sudo jamf policy" :

Executing Policy Script - Remove ScreenConnect Remote Agent Running script ScreenConnect Remote Agent Removal... Script exit code: 0 Script result: Checking for patches... No patch policies were found. Running Recon... Retrieving inventory preferences from https://scalar.jamfcloud.com/... Finding extension attributes... Locating package receipts... Locating accounts...

Any idea why the script would work and uninstall when ran manually, but not uninstall when ran from Jamf ?

Thanks!

0 replies

Be the first to reply!

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