I just did a fresh install of Mountain Lion on an empty partition. How can I prevent the programs of the previous install from being shown in the contextual menus in Finder ? I already asked Spotlight not to index that partition, but I still have references to them in the Open With menus.
Try rebuilding the launch services database using the
For OS X 10.6 and later run:
For OS X 10.5 and older run:
If the problem persists after running the above command, try un mounting your original partition before running the above command again. Additionally, as noted on the hints article and when running the
Is it possible for you to move them to another drive or remove them? If you really want to keep them on the drive that they're currently on you can also make them, or the folder that they're in into a .zip file.
Or if it is just about specific applications that come up all the time in the Open With... menus, then this link will show you how to remove specific applications from the Open With menu.