You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

"open with" duplicate entries

"at times" using "open with" shows many duplicate entries....reboot fixes it for a while..


I'm still trying to determine what is triggering this.


Any idea? Anyone see this in 10.8? I couldn't find anything searching the forums.

User uploaded file

Macbook Pro 15 (2.4 Santa Rosa), MacBook 13 (2.0), iMac 17, Mac OS X (10.7), iPhone 3GS v4.3.1, 100% Apple networking (AEs, AXs, TCs)

Posted on Aug 29, 2012 11:02 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 29, 2012 11:23 AM

I am not familiar with all the causes of this phenomenon, but it happens to me from time to time, and I know why it is for me. I work with "clone" images all the time with dev work. When a clone is mounted alongside booting into the main volume, Launch Services, which keeps track of applications used to open certain file types, "sees" the other application files on the mounted clone volume, and adds them to the database, resulting in the apparent duplication of "open with" entries.


Resetting the 'Open With' menu will remove duplicates and ghost applications (ones you have deleted) from the list. You reset the 'Open With' menu by rebuilding the Launch Services database your Mac maintains. There are multiple ways to rebuild the Launch Services database, including third-party system utilities like Cocktail and Onyx.


If you don't own a system utility that can rebuild the Launch Services database, don't worry; you can perform the rebuild yourself using Terminal.


Using Terminal to Rebuild the Launch Services Database:


Launch Terminal, located at /Applications/ Utilities/.


For OS X 10.5.x and later, enter the following at the Terminal prompt:


/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fram ework/Support/lsregister -kill -r -domain local -domain system -domain user


----------------


I don't know wjhy it is happening for you, but rebuilding the database will at least reset things to normal. The question to ask is whether you have other mounted volumes, say from other systems on your network, that contain Mac Apps.


I have also found a way to keep it from happening (in certain cases, for my dev work). When I create a clone, I also create what is called a "fstab" file entry, in the fstab file. This entry prevents named drives from auto-mounting. So, if I boot to a clone, my main volume on my internal SSD won't mount. Hence, no extraneous Launch Services database entries will created on the clone drive. If however, I boot to my main SSD, and then mount a clone, I don't use any fstab entries on the main SSD. This just means I have to periodically rebuild the Launch Services database. It is way too much trouble keeping fstab entries for all my clone drives on my main SSD. I only use the fstab method on the clones themselves.

88 replies

Jul 23, 2014 2:46 PM in response to macjack

I used Macjack's solution and I solved my duplicate entry problem, but now I have another problem that I didn't have before: I can't quit iTunes 11, it keeps opening itself. Is there a solution for this problem?

Oct 6, 2013 2:37 PM in response to Community User

I am certain that this is not applicable so pardon my reply and consider it nothing but a comment.


I use a Mac Pro mid 2012. (that is VERY specific)

I have now produced more than a half dozen backups that produce a "duplicate open with" condition without use of anything but Disk Utility Repair Permissions.

The backed up disk must be COMPLETELY ejected, powered off, or physically disconnected for this to work.


Make your backup.

COMPLETELY disconnect the backup drive.

Run Repair Disk Permissions.

Restart.


Ever since 10.8.4 this has worked just fine. (annoying but works)


My iTunes 11 does not launch repeatedly or fail to quit.

I can only suggest that you try running Repair Disk Permissions and see if this provides a solution.

Please realize that reparing disk permissions is only effective if followed by a Restart.

In other words.... RESTART before you draw any conclusion.


IF no difference, try setting iTunes preferences to a state that makes no network connection and Energy Saver and or Security to NOT wake for adminstrator or modem acces.


Good luck.

Oct 6, 2013 2:51 PM in response to Community User

WOOPS.... forgot the OBVIOUS.


There is a new update to 10.8.5.


Perform your Software Update to apply this update and RESTART.

IF this does not solve your problem, manually download the Oct 03 10.8.5 Combo Update and manually install, then of cource, RESTART.

If that does work then perform Repair Disk Permissions and RESTART.

Jul 23, 2014 2:46 PM in response to TOAO

Hi Toao,


Thank you for your reply. Repairing disk permissions and restarting does not work. After some investigation I found that if I close I Love Stars, an app that is linked to iTunes, I can quit iTunes just fine without it auto-restarting. Another possible solution that I found while searching for an answer was to disconnect any speakers from the headphone jack.


I have already contacted the developer about the issue and I hope to be able to solve it, since I really enjoy using I Love Stars!


Mario

Jul 13, 2014 7:20 AM in response to FishandSea

Thank you FishandSea. Your post worked for me.😎


FishandSea wrote:


I updated Launch Services Database, same problems persisted.


Then, I used TinkerTool System Release 2 (paid version, not the free version).

"System Settings > System > Volumes" has 2 options:

1- It excludes volumes from automatic mounting ( First option)

2- It prevents volumes to allow execution of programs stored on them.(Second option)

I do not get duplicates anymore.


Suppose you have 2 external clones (C1 and C2)

1) If you boot from iMac: you choose C1 and C2 (in TTS2)

2) If you boot from C1; you choose C2 and your iMac volume

3) If you boot from C2; you choose C1 and your iMac volume

But, I cannot use Disk Utility to repair the volumes (You can verify-repair permissions and only verify disk)

To Verify Disk, you have to remove the volume you want to repair from fist option in TTS2.


I have read this entire post/threads. And, I am only going to add my experience and my opinion.


I am very cautious about installing/using 3rd party software to fix or alter my system (Mtn Lion). However, there is one really good exception. I have been using TinkerToolSystem (paid version) for years and it's the only one I really trust. It has a bit of a learning curve, but the author did a good job and it's hard to damage your system with it. I will use it to change something instead of pulling my hair in frustration! lol. 😉


Thank you for providing the TTS2 Tab/steps to use for this option. Sometimes I have to search every tab to find the setting I'm looking for. So far TTS2 setting for this is working and providing me the option I wanted and needed.


And thanks to all that posted help and ideas…all posts are welcome when trying to find a fix or workaround. Yay! 😀

"open with" duplicate entries

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