Displaylink:- Auto Launch Greyed out

Vinyboy
New Contributor III

Hello All,

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

Thank you.

 

2 ACCEPTED SOLUTIONS

Hugonaut
Valued Contributor II

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>

 

________________
Looking for a Jamf Managed Service Provider? Look no further than Rocketman
________________


Virtual MacAdmins Monthly Meetup - First Friday, Every Month

View solution in original post

MEA
New Contributor II

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" 
 

View solution in original post

8 REPLIES 8

Hugonaut
Valued Contributor II

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>

 

________________
Looking for a Jamf Managed Service Provider? Look no further than Rocketman
________________


Virtual MacAdmins Monthly Meetup - First Friday, Every Month

Very Very Helpful. Thank you.

MEA
New Contributor II

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" 
 

Vinyboy
New Contributor III

Hello Mea,

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

MEA
New Contributor II

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 :-)

JeffBugbee
New Contributor III

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>

 

 

brl
New Contributor

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-softw...

donmontalvo
Esteemed Contributor III

Fast forward, helooooo Login Items payload.

  DonM_ 2024-04-16 at 3.40.24 PM.png

  

--
https://donmontalvo.com