Time’s a blessing & a curse, but an absolute. When it comes to Active Directory & Kerberos, it’s very important.
The below script will try & sync the Macs time to the NTP server specified at $4 or hardcoded as a value for the NTPServer variable in the script.
The below will delete the currently logged in users login.keychain, if the $logoutPrompt is set to Y then it will bring up the standard OSX logout prompt, else it will kill the loginwindow process & force logout.
When the user nexts logs in they will recreate the login.keychain.
We have this a an item in Self Service.
Safari 6 used to open new windows by default to the Homepage, this behaviour in Safari 7 has been changed to show the “Top Sites” window as shown above.
On October 18th Microsoft released version 8 of it’s Remote Desktop app via the App Store. Which is great as the older version had been more than buggy & we’ve just started a project which requires users to RDP into VM’s.
Below are the steps taken to figure out how a connection is created and stored, as well as a way to script the connections.
Recently we started rolling out some new printers, this has been done using the script i’ve detailed here.
Normally we just create the printer on the macs & point the queue to the right PPD. This doesn’t enforce any default settings, & in doing so things have been going smoothly.
However, when deploying a Canon imageRUNNER ADVANCE C5240i B2 we noticed that the Mac’s were defaulting to duplex.
After checking the on board B2 Fiery, we saw this setting was enabled.. so we disabled it & hoped that would apply to the Mac clients.. sadly it didn’t.
Below is how we overcome this
A part of some of our users workflows includes them taking multiple screenshots. They take said screenshots via the keyboard commands & as they do this largely in bulk on a project by project basis they asked for a way to change the folder that screenshots go to from ~/Desktop to a location of their choice.
Below is my solution to this request.
We’re in the midst of rolling out a new image to our macs on 10.8.2. Historically Java has not been needed but we added the latest Java 7 update as a matter of course, but post-rollout people now require Java 6 (how often does that happen?).
This new requirement came in just after Apple disabled Java 6 on 10.7+ Macs (as detailed a little here: http://managingosx.wordpress.com/2013/01/31/disabled-java-plugins-xprotect-updater/ ).
Greg Neagle & Rich Trouton have several solutions in re-enabling the various parts needed to get Java 6 working (however they required an order which I was not following Java 6 had never been installed as part of my image.
We image our Macs with a partition for the System data & another for the User data.
That, in turn, allows us to image the Macs preserving the user data.
Except the permissions will be incorrect on the home folders, for our solution to this, see below.
NOTE: With Safari 6.1x & 7.2x the method to deploy Safari extensions has changed, please see the new method here.
I was asked sometime ago to deploy my companies bookmarks to Safari on all our managed Macs.
I went through a lot of pain trying to add a folder to the Bookmarks bar with my companies website & preserve the users bookmarks. But, Benjamin Bailey on the Mac Enterprise list mentioned Safari Extensions.. & I soon had a branded toolbar to deploy!
Way back in 2010 I posted a little note on disabling Safari’s Pop-Up Blocker From Terminal..
Well it looks like with Safari 5.1.x & 6.x things have changed, the below should now perform the same:
Display Name: Safari 5.1+ Disable Pop-Up Blocker
Application Domain: com.apple.Safari
Key Type: boolean
Key Value: true