Posted on 03-03-2020 10:32 AM
Good Morning, I'm trying to remove the Apple apps that appear on new account creation (eg. in Catalina, these are Maps, Photos, News, Podcasts, & TV).
We deploy a custom dock template via pkg in our environment, and we have a policy that's set for "once per user per computer" which pulls these dock itmes for new accounts, but I can't figure out how to get them removed from the guest user (at least not without creating another clone policy that just runs ongoing for the guest user, which seems like it would take more resources than it should...)
I remember in previous OS versions (eg. El Capitan) where there was a dock setup framework that you could just wipe an array from another plist somewhere and it would stop these "default Apple apps" from appearing, but I'm not sure what the deal is nowadays.
Anyways, if anyone has any ideas, I would appreciate some help with this.
Posted on 03-03-2020 11:49 AM
We run our policy at login and ongoing, that way it doesn't matter who is logging on. I can't help you much more as we use JAMFs built in Dock Items Policy, not a package.
Posted on 03-03-2020 01:48 PM
Try using Dockutil - great tool.
Posted on 04-29-2020 11:21 AM
Is Dockutil still a good solution? Looks like it hasn't been updated since Dec 2018.
Posted on 04-29-2020 04:46 PM
Hi @MrRoboto ,
I just wanted to confirm that docutil still works great in Catalina!
This is a glimpse of how I configure it for new Users in my environment:
#!/bin/bash #New User docutil setup by Shaquir Tannis /usr/local/dockutil --remove 'Safari' --allhomes /usr/local/dockutil --remove 'Mail' --allhomes /usr/local/dockutil --remove 'Contacts' --allhomes /usr/local/dockutil --remove 'Notes' --allhomes /usr/local/dockutil --remove 'Reminders' --allhomes /usr/local/dockutil --remove 'Maps' --allhomes /usr/local/dockutil --remove 'Photos' --allhomes /usr/local/dockutil --remove 'Messages' --allhomes /usr/local/dockutil --remove 'FaceTime' --allhomes /usr/local/dockutil --remove 'News' --allhomes /usr/local/dockutil --remove 'iTunes' --allhomes /usr/local/dockutil --remove 'App Store' --allhomes /usr/local/dockutil --add /Applications/Company App Store.app --position 1 --allhomes /usr/local/dockutil --add /Applications/Google Chrome.app --position 2 --allhomes /usr/local/dockutil --add /Applications/Microsoft Outlook.app --position end --allhomes /usr/local/dockutil --add /Applications/Microsoft OneNote.app --before 'Microsoft Outlook' --allhomes /usr/local/dockutil --add /Applications/Microsoft Excel.app --before 'Microsoft OneNote' --allhomes /usr/local/dockutil --add /Applications/Microsoft PowerPoint.app --before 'Microsoft Excel' --allhomes /usr/local/dockutil --add /Applications/Microsoft Word.app --before 'Microsoft PowerPoint' --allhomes
Posted on 04-29-2020 09:06 PM
We use dockutil as well but I just start with the --remove all and then add since Apple once in while adds a new icon with a sub build of their operating system.
Posted on 04-30-2020 10:30 AM
@shaquir @pvcit Thank for confirming! We having been using Dockutil with Outset since High Sierra. We are just testing in Catalina now and it seems to work okay. I was curious about the future of Dockutil since it's been a while since the last release. For now we are sticking with Outset2 as the latest version requires Python3, not sure if the same will apply to the next version of Dockutil.
Posted on 05-07-2020 08:44 AM
Posted on 05-07-2020 09:00 AM
Since Guest user data gets deleted, it makes sense that the Dock would be reset when Guest is logged into after altering the Dock.
What @larry_barrett said is the way to go - login and/or ongoing should fix that.
Posted on 07-29-2020 10:32 AM
I had been using dockutil but it has been flaking out and sometimes not running. I assume I should be using outset. Going to have to figure that out i suppose. Anyone have a basic overview of the steps to getting outset installed and working with dockutil?
Princeton Public Schools
Posted on 07-29-2020 11:32 AM
Another happy user of dockitil