Is there a way to manually invoke dockfixup in a login script?

sunnymhfa
New Contributor

I am using a login script with dockutil to give my users an initial Dock.

But "dockfixup" puts extra items such as Siri, Map, Photo and iBooks into the Dock. (See https://www.jamf.com/jamf-nation/discussions/16945/anti-dockfixup-measures)

Is there a way to manually invoke "dockfixup" in my script then run dockutil after that?

2 REPLIES 2

anverhousseini
Contributor II

There is this KB article from Apple: https://support.apple.com/en-us/HT207568

I had no chance to get this working. Probably someone else?

sunnymhfa
New Contributor

I had a search around and I think I have seen that article...

It looks like it is not possible to disable dockfixup, so I was wondering if there's a way to let dockfixup do its thing first, and only customise the Dock afterwards with dockutil.