How do I change Firefox Proxy settings via command line on windows xp/2k?
Thanks
Click Start, click Run, type cmd, and then click OK. At the command prompt, type netsh winhttp show proxy, and then press ENTER.
The proxy setting is stored in the user's prefs. js file in their Firefox profile. where " 7b9ja6xv " is a random string. However, the directory of the default profile always ends in ".
You can open the command line interface by pressing Shift+F2.
The proxy setting is stored in the user's prefs.js
file in their Firefox profile.
The path to the Firefox profile directory and the file is:
%APPDATA%\Mozilla\Firefox\Profiles\7b9ja6xv.default\prefs.js
where "7b9ja6xv
" is a random string. However, the directory of the default profile always ends in ".default". Most of the time there will be only one profile anyway.
Setting you are after are named "network.proxy.http
" and "network.proxy.http_port
".
Now it depends on what technology you are able/prepared to use to change the file.
P.S.: If this is about changing the proxy settings of a group of users via the logon script or similar, I recommend looking into the possibility of using the automatic proxy discovery (WPAD) mechanism. You would never have to change proxy configuration on a user machine again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With