OS X 10.11.6: Managing automatic OS X or macOS updates via a management profile

Originator:rtrouton
Number:rdar://28151398 Date Originated:03-Sep-2016 03:47 PM
Status:Open Resolved:
Product:OS X Product Version:Mac OS X 10.11.6 (15G1004)
Classification:Other Bug Reproducible:Always
 
On OS X 10.10.x and later, it's possible to enable automatic installation of OS X or macOS updates. After doing some research, it looks like the this function can be enabled by running the following command with root privileges:

/usr/bin/defaults write /Library/Preferences/com.apple.commerce AutoUpdateRestartRequired -bool TRUE

However, it does not appear that I can manage this with a profile.

Steps to Reproduce:

1. Install profile
2. Check AutoUpdateRestartRequired value in /Library/Managed Preferences/com.apple.commerce.plist

Expected Results:

/Library/Managed Preferences/com.apple.commerce AutoUpdateRestartRequired is set to True
The "Install OS X updates" checkbox is checked in System Preferences: App Store

Actual Results:

/Library/Managed Preferences/com.apple.commerce AutoUpdateRestartRequired is set to True
The "Install OS X updates" checkbox is not checked in System Preferences: App Store

Regression:

Running the defaults command listed above sets the following value:

/Library/Preferences/com.apple.commerce.plist AutoUpdateRestartRequired is set to True
The "Install OS X updates" checkbox is checked in System Preferences: App Store

Notes:

I've uploaded a sample management profile in the attached enable_automatic_os_x_updates.zip

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!