Currently Being ModeratedMay 3, 2011 2:15 AM (in response to James Hayward4)
I came to the forums today to look for an answer to exactly this question. If I come across and answer I'll post back here as well
Currently Being ModeratedMay 3, 2011 2:41 AM (in response to MarcBingham)
OK I think I have it.
There are two commands to run.
Kill Safari - This will close any open safari windows and quit the Safari app. Just in case the user is browsing the web at the time you run the script below.
Change the required setting in Safari - Safari must be quit in order for this script to work.
defaults write com.apple.Safari AutoOpenSafeDownloads -boolean No
Obviously thats a toggle and you could use "Yes" instead of no if you really wanted to.
Hope this helps someone.
Currently Being ModeratedMay 3, 2011 3:39 PM (in response to MarcBingham)
Thanks Marc. Do you mean terminal commands when you say script? If so, do you have to run them as root?
Currently Being ModeratedMay 4, 2011 1:15 AM (in response to James Hayward)
they are unix commands.
On your own machine you could do these commands via the Terminal App.
Within ARD find the clients you want to change. Highlight them and from the "Manage" menu in the tool bar choose "Send UNIX Command".
It should be fairly self explanatory from there
Currently Being ModeratedMay 12, 2011 4:01 PM (in response to jake11)
I spoke too soon. The command succeeds but no change is made to the preference file. I'll post back when I find the correct command to run.
Currently Being ModeratedMay 12, 2011 7:44 PM (in response to jake11)
My apologies, user error (mine). I'm in the habit of running certain commands regularly, always as root. For obvious reasons, this command must be run as the user who's preference needs to be amended.