Reset `lsregister` in macOS for duplicate Open With apps

Hi,

Previous versions of MacOS had the ability to reset lsregister via the follwoing command "./lsregister -kill -r -domain local -domain system -domain user". Current OS (Tahoe) will not allow that to run as -kill has been removed. How can I accomplish this functionality to be able to reset the "open with" menu as it contains many duplicate apps.

MacBook Pro (M2 Max, 2023)

Posted on Apr 10, 2026 2:22 PM

Reply
3 replies

Apr 10, 2026 6:01 PM in response to cvny75

Well, first the obvious question - you don't have multiple copies of the respective apps installed, right?


I know there have been historical problems, especially with Microsoft-based apps, that b0rk the registry on updates, but it's been a while since I've seen this, so I thought it worth asking.


If you want to clear your application registry (and understand the pros and cons of doing so), you're right, -kill has been deprecated - but largely replaced with the -delete key instead, immediately followed by a reboot to initiate a rebuild.

Apr 10, 2026 4:38 PM in response to cvny75

cvny75 wrote:

Hi,
Previous versions of MacOS had the ability to reset lsregister via the follwoing command "./lsregister -kill -r -domain local -domain system -domain user". Current OS (Tahoe) will not allow that to run as -kill has been removed. How can I accomplish this functionality to be able to reset the "open with" menu as it contains many duplicate apps.

Official Apple Support Community


Did you try a A SafeBoot Start up your Mac in safe mode - Apple Support to clear certain system caches

Login and test. Reboot as normal and test. Caches get rebuilt automatically.


no resolve—


Clearing user Spotlight + cache data from Terminal.app copy & paste each line:

rm -rf ~/Library/Metadata/CoreSpotlight

rm -rf ~/Library/Caches/com.apple.Spotlight

rm -rf ~/Library/Caches/com.apple.corespotlightd



Rebuild the Spotlight index on your Mac

Rebuild the Spotlight index on your Mac - Apple Support




This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Reset `lsregister` in macOS for duplicate Open With apps

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.