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.
Following Rich Troutons excellent steps I managed to download a copy that is App Store account free.
Next steps was to figure out how to deploy connections to this app. Well, that’d be a simple plist in ~/Library/Preferences right? Nope! Remember this is Microsoft (the people whom use a plist in the format of the windows registry…), so off armed with TextWrangler, Composer & steely determination I went about figuring this thing out.
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.
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.
The below script, when run via Self Service should prompt the logged in user for the new location to save the screen shots too (as shown below).
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, running the below linked script resolves this issue 🙂
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