Skip to main content
Solved

Jamf Pro - Restricted Software - adding apps to restrict not working


Forum|alt.badge.img+4

Hello everyone,

I'm having some issues with the "Restricted Software" on JAMF Pro where  I can restrict 1 word app fine with the "Restrict exact process name", but not with 2 or more words.

working example:
Process Name: Messages
Checked with "Restrict exact process name"
and all messages (even if you copy paste app and rename, still gets blocked.)

but something with 2 words doesn't.
not working example:
Process Name: FileZilla Pro
Checked with "Restrict exact process name"

if I put "FileZilla Pro.app" in process name, it gets blocked but with that exact file name from applications.

any ideas how to block process name that is more than 2 words?

Thanks in advanced.

Best answer by sdagley

juicedaninja wrote:

thing is this is downloaded from app store.
would this be a reason why not working?

when I test with and without ".app" at the end, I can see the changes right away when check-in we use in Self Service.


@juicedaninja It's not related to being an App Store app. I tested with Microsoft PowerPoint because the name of the executable binary (which can be found in the Info.plist file inside the application bundle - look for the string below the CFBundleExecutable key) is 2 words. Just because an application name has 2 or more words does not indicate the executable binary will, so if you're restricting by exact process name you may need to dig for the correct name.

When you create/change a Restricted Software configuration there is going to be a delay before your macs will receive the new settings, and the "sudo jamf manage" comamnd will force that when run.

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

5 replies

sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3555 replies
  • April 22, 2022

@juicedaninja I tested a block on Microsoft PowerPoint and it worked fine. Are you sure the management framework on your test Mac was updated before you tested the block with 2 words? You can force the update by running the command "sudo jamf manage" in Terminal. 


Forum|alt.badge.img+4
  • Author
  • New Contributor
  • 6 replies
  • April 22, 2022

thing is this is downloaded from app store.
would this be a reason why not working?

when I test with and without ".app" at the end, I can see the changes right away when check-in we use in Self Service.


sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3555 replies
  • Answer
  • April 22, 2022
juicedaninja wrote:

thing is this is downloaded from app store.
would this be a reason why not working?

when I test with and without ".app" at the end, I can see the changes right away when check-in we use in Self Service.


@juicedaninja It's not related to being an App Store app. I tested with Microsoft PowerPoint because the name of the executable binary (which can be found in the Info.plist file inside the application bundle - look for the string below the CFBundleExecutable key) is 2 words. Just because an application name has 2 or more words does not indicate the executable binary will, so if you're restricting by exact process name you may need to dig for the correct name.

When you create/change a Restricted Software configuration there is going to be a delay before your macs will receive the new settings, and the "sudo jamf manage" comamnd will force that when run.


mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • 7883 replies
  • April 22, 2022

What @sdagley stated above is correct. When using the "Restrict exact process name" option, you have to find out what the exact process executable is, not just go by the application name as it appears in the Finder. They aren't always the same. Oftentimes using the executable that shows up in the MacOS directory inside the app bundle will work, but even that's not 100% accurate I don't think.


Forum|alt.badge.img+4
  • Author
  • New Contributor
  • 6 replies
  • April 25, 2022
sdagley wrote:

@juicedaninja It's not related to being an App Store app. I tested with Microsoft PowerPoint because the name of the executable binary (which can be found in the Info.plist file inside the application bundle - look for the string below the CFBundleExecutable key) is 2 words. Just because an application name has 2 or more words does not indicate the executable binary will, so if you're restricting by exact process name you may need to dig for the correct name.

When you create/change a Restricted Software configuration there is going to be a delay before your macs will receive the new settings, and the "sudo jamf manage" comamnd will force that when run.


ohh thanks.
I was looking at activity monitor to get the name of the process, I guess it's different in the plist file.
able to block successfully without issue using executable name from plist.


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