Fix Duplicate/Old Items on “Open With…” List in OS X
While installing Chrome on my new MacBook Pro I encountered a little error and the browser was not installed correctly. I was able to fix the problem by reinstalling Chrome again, however I ended up with a duplicate “Google Chrome.app” on the “Open With” context menu list.
I went online and found this cool little snippet:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/\
LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local\
-domain system -domain user
All you have to do is copy and paste this into Terminal and run it… (note: it takes a little bit of time for it to run so be patient)
Relaunch Finder (control+option+click on Finder icon in the Dock)…
Ta-da! The duplicate or old items are now gone!
Thank you Andrew Stevens for providing the snippet, and thank you My MacOS X for the Finder relaunch tip.
See Also:
lsregister – Reset the Launch Services database
8-17-2011 Update:
This code should work on both OS X Snow Leopard and Lion… I have not had the need to try it yet, but if you have, please let me know whether the code works on Lion as well. Thanks!
12-8-2011 Update:
A reader confirmed that the code works on Lion as well. Thanks for the feedback!
8-1-2012 Update:
Another commenter confirmed that the code works on Mountain Lion. Thanks for the feedback!
8-5-2013 Update:
Thank you fpacheco for confirming the code works on Mavericks.









Pingback: joshaust.in Multiple Entries in Finder’s “Open With…” Menu