Skip to main content
Solved

Uninstall DockUtil

  • June 2, 2021
  • 5 replies
  • 38 views

Forum|alt.badge.img+7
  • Contributor
  • 14 replies

Does anyone know how to uninstall the DockUtil tool? We have been using the tool to set the Dock initially for users but macOS Big Sur does not list as supported so we want to remove it before our users upgrade.

Thank you.

Best answer by gskibum

dockutil is working for me on M1.

All I'm seeing different is that the paths for most of the Apple apps that come with macOS have a different path (System/Applications/Calculator.app rather than /Applications/Calculator.app). So some of my scripts will have to be updated for Big Sur.

5 replies

gskibum
Forum|alt.badge.img+13
  • Valued Contributor
  • 288 replies
  • June 2, 2021

Dockutil worked for me today on a brand new Big Sur Intel laptop. I'll be testing it with M1 in a day or two.

I believe when I had to uninstall dockutil years ago I just ran a policy with a one-liner in Files & Processes;

rm /path-to-dockutil/dockutil

gskibum
Forum|alt.badge.img+13
  • Valued Contributor
  • 288 replies
  • Answer
  • June 7, 2021

dockutil is working for me on M1.

All I'm seeing different is that the paths for most of the Apple apps that come with macOS have a different path (System/Applications/Calculator.app rather than /Applications/Calculator.app). So some of my scripts will have to be updated for Big Sur.


Forum|alt.badge.img+15
  • Esteemed Contributor
  • 719 replies
  • June 7, 2021

I also have found dockutil to work fine in Big Sur.

It's usually just a single executable. You might look in /usr/local/bin.


Forum|alt.badge.img+1
  • New Contributor
  • 2 replies
  • June 16, 2021

My issue is the .sh script which worked perfectly fine in macOS Big Sur 11.3.1 yields different results in macOS Big Sur 11.4

#!/bin/sh
echo "Adding Applications Folder..."
    sudo -u $LoggedInUser /usr/local/bin/dockutil --add '/Applications' --view grid --display folder --sort name --no-restart $LoggedInUserHome
    echo "Adding User Downloads Folder..."
    sudo -u $LoggedInUser /usr/local/bin/dockutil --add '~/Downloads' --view grid --display folder --allhomes --no-restart $LoggedInUserHome





mattjerome
Forum|alt.badge.img+7
  • Jamf Heroes
  • 90 replies
  • November 11, 2025

Here’s a small script to delete dockutil. You need to remove the package receipts also
 

if [[ -e "/var/db/receipts/dockutil.cli.tool.bom" ]] || [[ -e "dockutil.cli.tool.plist" ]]; then
echo "receipt files found"
rm /var/db/receipts/dockutil.cli.tool.*
fi

if [[ -e /usr/local/bin/dockutil ]]; then
echo "dockutil binary found, removing"
rm /usr/local/bin/dockutil
fi