Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Which are the registry settings to set Firefox an Thunderbird as defaults?

It can be done with any script or little program or firefox/thunderbird command line?

The target is do it for all the users on a computer not just the current.

share|improve this question
Since you say "registry", is it safe to assume that the OS is Windows? – Dennis Williamson Feb 16 '10 at 10:11
Yes, feel free to give us some more clues. We get no extra points for guessing. – John Gardeniers Feb 16 '10 at 11:11
Yes, on windows. Updated tags – FerranB Feb 16 '10 at 15:55
Did my answer help you? I see no comment or anything the like from you. – Dennis G Oct 28 '10 at 7:42

There is no easy way to set the browser default for all users on a computer. The procedure is slightly different for Windows XP and Vista and above so you would need to specify your questions with the operating system, but maybe the following is enough for you:

  1. .
  2. .
  3. .

For firefox you could just run "firefox.exe -silent -setDefaultBrowser" on the command line for each user. For Thunderbird there is no simple command like that, but you could try the utilities suggested in (1), which do the work for you, but again on a per-user basis. Does this help your?

The registry settings you would need to change are all in HKEY_CLASSES_ROOT and you can find a summary in (1) - but I would advise against a script changing these entries (HTTP and HTML etc.) manually because the built in function from Windows "Set Program Access and Computer Defaults" does everything perfectly.

share|improve this answer

Your Answer


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.