Skip to main content

Hello All,

Please help me a payload to upload in jamf pro to grey out "Launch Automatically after login" option under DisplayLink.

Thank you.

 

Deploy this as a launch agent

 

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.loginitem.displaylink</string>
<key>LimitLoadToSessionType</key>
<string>Aqua</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/open</string>
<string>/Applications/DisplayLink Manager.app</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>

 


Uploaded the following plist configuration to our devices and worked it like a charm:

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AppAutostart</key>
<string>1</string>
</dict>
</plist>

 

 

You can upload it to the "Application & Custom Settings" payload in a configuration profile - Just use the 

com.displaylink.DisplayLinkUserAgent as the "Preference Domain" 
 

Uploaded the following plist configuration to our devices and worked it like a charm:

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AppAutostart</key>
<string>1</string>
</dict>
</plist>

 

 

You can upload it to the "Application & Custom Settings" payload in a configuration profile - Just use the 

com.displaylink.DisplayLinkUserAgent as the "Preference Domain" 
 

Hello Mea,

After pushing the payload suggested. We re-started the machine and checked. still "Launch Automatically after login" is not greyed out.


Hello Mea,

After pushing the payload suggested. We re-started the machine and checked. still "Launch Automatically after login" is not greyed out.


Sorry about the late reply.

This profile will not grey out the option, it will just automatically enabled the option - The user can disable the option and it will stay disabled until either an reboot or an restart of the DisplayLink app.

It's not a perfect solution, but it's the best one that I have found so far :-)


Uploaded the following plist configuration to our devices and worked it like a charm:

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AppAutostart</key>
<string>1</string>
</dict>
</plist>

 

 

You can upload it to the "Application & Custom Settings" payload in a configuration profile - Just use the 

com.displaylink.DisplayLinkUserAgent as the "Preference Domain" 
 

Curiously, the plist for the Auto start (located here: /Users/USERNAME/Library/Containers/com.displaylink.DisplayLinkUserAgent/Data/Library/Preferences/com.displaylink.DisplayLinkUserAgent.plist)

- shows a true or false choice. And attempting to manage it via true/false does not work. Using <string>1</string> also results in the app not autolaunching if the user unselects "Launch Automatically after login." I thought the managed preference always takes precedent?

 

<dict>
<key>AppAutostart</key>
<true/>
</dict>

 

 


Deploy this as a launch agent

 

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.loginitem.displaylink</string>
<key>LimitLoadToSessionType</key>
<string>Aqua</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/open</string>
<string>/Applications/DisplayLink Manager.app</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>

 


Very Very Helpful. Thank you.


The knowledgebase article on deploying with Jamf describes a simpler way. Just start at point 9.
https://support.displaylink.com/knowledgebase/articles/1965404-how-to-deploy-displaylink-macos-software-with-jamf


Fast forward, helooooo Login Items payload.


  


  


Reply