How to remove default items on dock?Solved

Participant
Discussion
1 month ago

We are updating the Dock on macOS devices to include apps that are frequently used by our employees. Is there a way to remove the default apps from the Dock and replace them with specific apps? We want to customize the Dock based on user preferences.

Replies (5)

Marked SolutionPending Review
Participant
1 month ago
Marked SolutionPending Review

Hey @boris ,

We had a similar issue in our organization and wanted to customize the Dock to reflect the apps our team uses most often, but first, we needed to remove the default apps on the device. You can give the below script a try to remove the default apps from the Dock.

Here’s the script we used:

The above script will remove the default apps listed in the apps_to_remove array from the Dock on macOS devices.

Marked SolutionPending Review
Participant
1 month ago
Marked SolutionPending Review

Thanks for the script. Is there any way to add the applications of our own choice to the Dock?

Marked SolutionPending Review
Participant
1 month ago
Marked SolutionPending Review

You can check out the following script to add specific application to your Dock.

Replace app1 path and app2 path with the full paths to the applications you want to add to the Dock. You can add more applications using the same format.

Marked SolutionPending Review
Participant
1 month ago
Marked SolutionPending Review

I wanted to know if there’s a way to manage the Dock settings via policies. If yes, can you share the details on how to configure it?

Marked SolutionPending Review
Participant
1 month ago
Marked SolutionPending Review

Yes, Hexnode UEM provides a policy to configure Dock settings for macOS devices. By following the steps below, you can personalize settings such as icon size, magnification, and more.

  1. Login to your Hexnode UEM portal.
  2. Go to Policies > New Policy. Assign a suitable name and description (optional) for the policy.
  3. Select macOS > Configurations > Dock. Click Configure.

Please refer to our help doc on customizing the Mac Dock settings for detailed information.

Happy testing
John Cooper,
Hexnode UEM