Firefox: how to configure proxy settings for all users on a Terminal Server
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.
Filed under: Firefox, Terminal Server | 1 Comment
Thanks a lot!