Skip to main content
Solved

Login items grey out

  • August 22, 2023
  • 2 replies
  • 11 views

Forum|alt.badge.img+3

Hello, 

I create simple launch deamon file to start sh script and all works fine , but I have problems to block this script from disabling in login items. 
Try few config profiles but every time it didn't work for my script , but works for other apps like Microsoft apps.
I see that all signed application have attribute "Embedded Item Identifiers:". 
My application wasn't sign , it is a problem?  If application isn't signed I can block it ?

Best answer by sdagley

@kdpk You'll need to put a Label key in your LaunchDaemon to give it a unique identifier like:

<key>Label</key> <string>com.myorg.mylaunchdaemon</string>

 The you'll need an entry for that label in your Configuration Profile that sets the Managed Login Items payload for the items your org wants enforced:

2 replies

sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • Answer
  • August 22, 2023

@kdpk You'll need to put a Label key in your LaunchDaemon to give it a unique identifier like:

<key>Label</key> <string>com.myorg.mylaunchdaemon</string>

 The you'll need an entry for that label in your Configuration Profile that sets the Managed Login Items payload for the items your org wants enforced:


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • August 23, 2023

@kdpk You'll need to put a Label key in your LaunchDaemon to give it a unique identifier like:

<key>Label</key> <string>com.myorg.mylaunchdaemon</string>

 The you'll need an entry for that label in your Configuration Profile that sets the Managed Login Items payload for the items your org wants enforced:


Thanks @sdagley problem was in wrong file name :D