Quantcast
Channel: rtrouton – Der Flounder
Viewing all articles
Browse latest Browse all 764

Controlling the Diagnostics & Usage report settings on Yosemite

$
0
0

One of the pop-up windows you get on first login to Yosemite is the Diagnostics & Usage pop-up window. This window requests permission for the following:

  1. Send diagnostics and usage data to Apple
  2. Share crash data with non-Apple developers

Screen Shot 2014-10-16 at 7.08.39 PM

I’ve been suppressing this window without setting those diagnostic reporting settings, but Mac admins may also want to apply those settings as part of building their machines. Thanks to investigative work by Tim Sutton, it looks like it’s possible to control those settings by setting the correct values in the /Library/Application Support/CrashReporter/DiagnosticMessagesHistory.plist file.

<key>AutoSubmitVersion</key>
<integer>4</integer>
<key>AutoSubmit</key>
<false/>
<key>ThirdPartyDataSubmitVersion</key>
<integer>4</integer>
<key>ThirdPartyDataSubmit</key>
<false/>

For more details, see below the jump.

An important side-benefit of setting these values is that it also appears to suppress the Diagnostics & Usage pop-window, since the pop-up window appears to allow those settings to be chosen. In my testing, I verified that applying these settings to a unconfigured factory-fresh 10.10.0 Mac before the first login prevented the Diagnostics & Usage pop-up window from appearing. The Diagnostics & Usage window also did not appear after upgrading the Mac to 10.10.1.

I’ve built a script to assist Mac admins with applying the desired settings for their own shop. It’s available from below, and also from my GitHub repo.

This script sets whether you want to send diagnostic info from Yosemite and later back to Apple and/or third party app developers by setting the appropriate values in /Library/Application Support/CrashReporter/DiagnosticMessagesHistory.plist.

If you want to send diagnostic and usage data to Apple, set the following value in the script for the SUBMIT_DIAGNOSTIC_DATA_TO_APPLE value:

SUBMIT_DIAGNOSTIC_DATA_TO_APPLE=TRUE

If you want to send crash data to non-Apple developers, set the following value in the script for the SUBMIT_DIAGNOSTIC_DATA_TO_APP_DEVELOPERS value:

SUBMIT_DIAGNOSTIC_DATA_TO_APP_DEVELOPERS=TRUE

By default, the values in this script are set to send no diagnostic data, either to Apple or to non-Apple developers:

SUBMIT_DIAGNOSTIC_DATA_TO_APPLE=FALSE
SUBMIT_DIAGNOSTIC_DATA_TO_APP_DEVELOPERS=FALSE

To change these settings in the script, comment out the FALSE lines and uncomment the TRUE lines as appropriate.



Viewing all articles
Browse latest Browse all 764

Trending Articles