I have about 20 versions of Edge showing up in the Open With menu in Finder. Does anyone have the updated syntax for macOS 15 to rebuild the launch services database?
Thanks!
Thanks!
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
garbageGPT stole only the first part from 2013 and forgot killall Finder https://osxdaily.com/2013/01/22/fix-open-with-menu-mac-os-x/thanks ChatGPT). Here's the command I used that worked for anyone else needing it.
Code:/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain user; killall Finder
Besides deleting them and locking the folder, you can unregister all apps from that folder:So in case anyone else is seeing this with multiple versions of Edge appearing in Open With, it seems the geniuses at Microsoft are saving other versions of Edge on your system. GBs of versions.
Removing the extra versions removes them from the Open With - but they'll be back.
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -r -f -u -v ~/Library/Application\ Support/Microsoft/*; killall Finder
Besides deleting them and locking the folder, you can unregister all apps from that folder:
Code:/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -r -f -u -v ~/Library/Application\ Support/Microsoft/*; killall Finder
So in case anyone else is seeing this with multiple versions of Edge appearing in Open With, it seems the geniuses at Microsoft are saving other versions of Edge on your system. GBs of versions.
Removing the extra versions removes them from the Open With - but they'll be back.
Doesn't look like it'll get fixed. They basically admitted 2yr ago they do this and blamed Apple:I have this on one of my two Macs. It’s ridiculous. Does anyone at Microsoft actually use a Mac? Surely they would see the same problem.
Turns out, this is a known issue. We do keep around multiple versions of the installer in order to do differential updates (downloading only new parts of the app instead of the entire thing, in order to keep download sizes lower). Mac doesn't know how to handle this properly, so it does show as both versions available. Looks like this happens with Firefox as well.
Doesn't look like it'll get fixed. They basically admitted 2yr ago they do this and blamed Apple:
What's even crazier is the amount of storage space these useless updates take up. When I removed mine it was over 8GB.
Here's the reddit post about removing them:How do you remove them? And is it a case that it’ll just be the new updates from that point forward will start littering the “open with” menu, or will the old versions come back too?
~/Library/Application Support/Microsoft/EdgeUpdater/apps/msedge-stable/
Here's the reddit post about removing them:
But basically you can delete all the folders in:
Code:~/Library/Application Support/Microsoft/EdgeUpdater/apps/msedge-stable/
But yes, as of right now the next update another folder will be created. I already have another version since yesterday added back to that location (and also showing in Open With).
Yes, it removes from Open With the apps that are in that folder.This command would only unregister the Edge versions that the updater adds correct? Since those are only in that folder?
This command isn't doing anything for me. The extra versions still appear in the Open With menu.Yes, it removes from Open With the apps that are in that folder.
Thread about "Stop Microsoft Edge Auto Update" https://forums.macrumors.com/threads/stop-microsoft-edge-auto-update.2392305/