Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am a beginner in Mac OS. Till now I was using Windows. I know a little about the registry in Windows.

Does Mac OS X manage registries for installed application?

  • If yes
    • Where is the registry stored?
    • How do you modify this registry?
    • Reference link regarding Mac OS registry management.
  • If no
    • what system does Mac OS X follow for installed application?
    • Reference links regarding Mac OS application management.
share|improve this question
add comment

5 Answers 5

up vote 8 down vote accepted

There's no registry in Mac OS.

However, you can find most application settings in the Library/Preferences folder. Most apps saves their settings there in separate files. This is not something that's managed by the OS. There's no hive, there's no regedit, nothing like that, Just a bunch of plist files.

share|improve this answer
    
Right one. didn't know. thanks for sharing. –  Sagar R. Kothari Oct 15 '09 at 18:56
    
So what happens to these files if I "uninstall" an application by simply moving it to the trash from Applications Directory. Do I need to remove there Preferences manually as well by going into Library/Preferences? –  basarat Jul 8 '12 at 8:51
1  
@BasaratAli They remain there. However, you could use something like apptrap to remove those files as well; if you move an app to the trash, apptrap will ask you if you also want to remove its corresponding plist files. –  alex Jul 8 '12 at 9:03
add comment

One should add that some programs — mainly those with a Unix or Linux background — are likely to store their data in ~/ in a dotted (thus invisible to the Finder) folder or somewhere inside ~/.config .

So, in the end it is not too simple, unfortunately.

share|improve this answer
1  
But fortunately - I like it. there is no problems like "registry Cleaner", "Registry hack", "Registry problems", "Reinstalling os due to bad registries problems." –  Sagar R. Kothari Oct 15 '09 at 19:29
3  
@sagar: It's not so simple. There's also no uninstaller for most applications in Mac OS X, so instead of applications clearing their preferences from Library/Preferences, they're usually just left there, taking up space. You end up having to use extra applications like AppZapper to try to clean up the mess when uninstalling. I'd consider this exactly the same as "Registry cleaning". –  Will Eddins Oct 15 '09 at 19:45
    
@Will Eddins - Sir, Would You plz give me the download link for "AppZapper"? –  Sagar R. Kothari Oct 15 '09 at 21:34
1  
@Will the major issue though is that even though old preferences aren't necessarily automatically eliminated, it doesn't cause the same damage that bad registry errors do. If the application isn't started, the preference is never touched. The Preference files take virtually no disk space. So the amount of cruft is minimal. –  Benjamin Schollnick Oct 16 '09 at 0:13
add comment

Yes, to some degree the so-called Launch Services Database compares to the HKEY_CLASSES_ROOT section of the Windows registry. It is used to determine what applications are willing to open certain documents or URLs, and how they can be used (like to edit or to view). It also tells OS X which application can create the icons as shown in, for example, Finder.

When, for example, you drop some new application into the Applications folder, OS X will notice that and register the new application. This way, there's often no need to run a set up program like in Windows. If this database gets messed up, then one can quite easily rebuild it.

(Likewise, Quick Look might keep a list of generators it has found earlier, but I guess such cache would be updated automatically whenever needed. If one explicitly selects some application to open a file, then that is stored in the file's resource fork.)

share|improve this answer
1  
I think this should be a Partial Yes not a bolded Yes. –  dlamblin Oct 15 '09 at 21:25
2  
Well, followed by an italic some, and as a reaction on all the earlier (and accepted) plain No's, I disagree a bit... ;-) –  Arjan Oct 15 '09 at 21:33
    
while I agree with dlamblin this is a bad answer, it showed me new info I didn't know about OSX. thanks! –  Cawas Mar 26 '11 at 19:12
add comment

Apple does not have a registry like Windows, much to most users glee. Applications themselves are self contained bundles, which at the low-level are really a folder with all the things the app needs to run. This makes application management easy. To install, you just drag the app to the Applications folder. To delete, you just delete it in the Applications folder.

To save preferences and the like for a given application and users, things called property lists are used (plist is the extension for these files). The common place for finding these things are ~/Library/Preferences Applications will also store user specific data/settings in ~/Library/Application Support

Generally these things are modified through the applications GUI, most Apple apps have a Preferences menu. There are a few ways to modify these settings by hand, but tread with similar care as you would before modifying the Windows Registry (though at worst you would break only a specific app and not the entire OS). You can use the utility app Property List Editor to modify plists (which are basically just XML files with key/value pairs). Also you can use the command line "defaults" command. Try "man defaults" from the terminal for more info. But again, this is for the brave at heart.

Hope that helps some.

share|improve this answer
    
excellent one. great. –  Sagar R. Kothari Oct 15 '09 at 18:55
add comment

Don't forget the System Configuration database which holds network settings:

man scutil

NAME
     scutil -- Manage system configuration parameters

SYNOPSIS
     scutil
     scutil --prefs [preference-file]
     scutil -r [-W] { nodename | address | local-address remote-address }
     scutil -w dynamic-store-key [-t timeout]
     scutil --get pref
     scutil --set pref [newval]
     scutil --dns
     scutil --proxy
     scutil --nc nc-arguments

DESCRIPTION
     Invoked with no options, scutil provides a command line interface to
     the "dynamic store" data maintained by configd(8). Interaction with
     this data (using the SystemConfiguration.framework SCDynamicStore APIs)
     is handled with a set of commands read from standard input. A list of
     the available commands is available by entering the help directive.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.