Skip to main content
Answer

com.google.Keystone.Agent.plist Managed Preference

  • October 2, 2012
  • 2 replies
  • 26 views

Forum|alt.badge.img+3

I am trying to change settings in the managed preference com.google.Keystone.Agent.plist. I have it set up under managed preferences, but I think the software is looking for this preference file in ~/Library/LaunchAgents I changed that file manually and got the result I wanted on the client.

What is the best way to change the parameters in this file under ~/Library/LaunchAgents? Is there a way to do that with Managed Preferences or do I need a shell script to run?

Thanks, John

Best answer by gregneagle

All preferences that can be managed are stored as plists, but not all plists are preferences that can be managed.

A LaunchAgent plist is not a preference; it's a config file for launchd. It cannot be managed via MCX/Profiles/Managed Preferences.

You can manage it like you'd manage any other file on a machine. For example, you could create a package that installs the desired version of the file, or a script that manages the file for you.

2 replies

Forum|alt.badge.img+10
  • New Contributor
  • Answer
  • October 2, 2012

All preferences that can be managed are stored as plists, but not all plists are preferences that can be managed.

A LaunchAgent plist is not a preference; it's a config file for launchd. It cannot be managed via MCX/Profiles/Managed Preferences.

You can manage it like you'd manage any other file on a machine. For example, you could create a package that installs the desired version of the file, or a script that manages the file for you.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • October 3, 2012

Thanks for the help. That clears things up. I figured I could do it with a script, but was not sure if that was the best way.