Firefox: how to configure proxy settings for all users on a Terminal Server

19Sep07

Normally, proxy settings are saved in the “all.js” file in the user’s settings directory (“C:\Documents and Settings\username\Application Data\Mozilla Firefox\Profiles\etc…”)

To have the proxy settings the same for all users on a Terminal Server, edit the “all.js” file, under the “greprefs” directory (C:\Program Files\Mozilla Firefox\greprefs\all.js)

Find and edit (or add) the following lines, and set them to match your proxy configuration:

pref("network.proxy.ftp", "proxyname");
pref("network.proxy.ftp_port", 8080);
pref("network.proxy.gopher", "proxyname");
pref("network.proxy.gopher_port", 8080);
pref("network.proxy.http", "proxyname");
pref("network.proxy.http_port", 8080);
pref("network.proxy.no_proxies_on", "add list of servers to exclude...");
pref("network.proxy.share_proxy_settings", true);
pref("network.proxy.socks", "proxyname");
pref("network.proxy.socks_port", 8080);
pref("network.proxy.ssl", "proxyname");
pref("network.proxy.ssl_port", 8080);
pref("network.proxy.type", 1);

UPDATE:
the above works ONLY for Firefox v2.x:
on Firefox 3.0 the settings must be placed in a DIFFERENT file:

C:\Program Files\Mozilla Firefox\defaults\pref\firefox.js

add the same lines above.

This change is really bad… just because this information does not seem to be documented. I found it by trial and error.

Advertisement


One Response to “Firefox: how to configure proxy settings for all users on a Terminal Server”

  1. 1 christianhg

    Thanks a lot!


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.