Posted on 11-22-2013 06:48 AM
There isn't a managed preference for this so I put the following in a login script. Here it is in case it helps anyone. Watch the word wrap
# Get user logged into console and put into variable "user"
user=ls -l /dev/console | cut -d " " -f 4
##
# Set iTunes to never check for updates
##
chown root:wheel /Users/$user/Library/Preferences/com.apple.iTunes.plist
defaults read /Users/$user/Library/Preferences/com.apple.iTunes.plist pref:130:Preferences | awk '{$15822 = "00010101"; $15813 = "00020000"; print}' | cut -d "<" -f2 | cut -d ">" -f1 | sed 's/ //g' > /tmp/1234.txt
a=cat /tmp/1234.txt
echo "defaults write /Users/$user/Library/Preferences/com.apple.iTunes.plist pref:130:Preferences -data $a" > /tmp/1234.txt
chmod +x /tmp/1234.txt
/tmp/1234.txt
rm /tmp/1234.txt
chown $user:staff /Users/$user/Library/Preferences/com.apple.iTunes.plist
Posted on 11-24-2013 06:32 PM
There is a MCX In Casper v8.xx
"Disable iTunes Update Checking"
in v9, you may have to manually create it;
Domain:~/Library/Preferences/com.apple.iTunes
Key: disableCheckForApplicationUpdates
Value (Boolean): True
Posted on 11-24-2013 10:37 PM
"There isn't a managed preference for this"
Sure there is:
http://support.apple.com/kb/HT3490
Posted on 11-25-2013 05:21 AM
Now you guys tell me!
:)
Posted on 11-25-2013 05:28 AM
It is interesting that there is a value for it, but when you change the option in iTunes it doesn't create the value in the plist, but rather changes the hex entry in the 150k+ long character string that I have modified above.
Posted on 08-16-2017 07:33 AM
Does anyone know if there is an updated method to this?
I tried everything I could find on Jamf Nation and several self cooked ideas but unfortunately none of them are working with 10.12.5
Posted on 08-21-2017 07:45 AM
Did you try something like this? Keep in mind, this will also prevent itunes from checking for iOS updates.
# Get user logged into console and put into variable "user"
user=`ls -l /dev/console | cut -d " " -f 4`
sudo -u $user defaults write /Users/$user/Library/Preferences/com.apple.iTunes.plist disableCheckForUpdates -bool true