We are using Dockutil 2.0.5 under High Sierra with a very simple script shown below. When the user logs in Siri, iBooks, and Maps still appears in the Dock when they should not. Any ideas?
!/bin/sh
/usr/local/bin/dockutil --remove all --no-restart /Users/$3
/usr/local/bin/dockutil --add /Applications/Google Chrome.app --position 1 --no-restart /Users/$3
/usr/local/bin/dockutil --add /Applications/Microsoft Word.app --position 2 --no-restart /Users/$3
/usr/local/bin/dockutil --add /Applications/Microsoft Excel.app --position 3 --no-restart /Users/$3
/usr/local/bin/dockutil --add /Applications/SMART Technologies/Notebook.app --position 4 --no-restart /Users/$3
/usr/local/bin/dockutil --add /Applications/Calculator.app --position 5 --no-restart /Users/$3
/usr/local/bin/dockutil --add /Applications/Dashboard.app --position 6 --no-restart /Users/$3
/usr/local/bin/dockutil --add /Applications/Vmware Horizon Client.app --position 7 --no-restart /Users/$3
/usr/local/bin/dockutil --add /Applications/Photos.app --position 8 --no-restart /Users/$3
/usr/local/bin/dockutil --add /Applications/iTunes.app --position 9 /Users/$3
