Added a webloc file in Dock by mistake


Hello everyone,
I've added a webloc in the outer right (just to the left of the trash) of the dock by mistake to all computers in our environment. Does anyone have any idea on how to uninstall/delete it?


Esteemed Contributor

@jonros If you created a Dock Item and deployed it via Policy then you can also use a Policy to remove a Dock Item. If you created it some other try dockutil

I thought so as well. After I scoped to all I changed to me only but the webloc file doesn't disappear from other users. I also disabled the policy as well without any changes. Do you know if you can run any terminal command within a policy to make it go away?

I'm not so good at terminal scripting (yet).