Solved

Disable Proxy In Firefox

Posted on 2009-04-03
3
2,185 Views
Last Modified: 2013-12-07
I have 1000 PCs that I need to disable the proxy setting in Firefox and set them to "No Proxy".

I assume the prefs.js needs to be modified.  I have multiple Firefox profiles per PC, so it a multi-user situation per pc.

Whats the best way to go about this?
0
Comment
Question by:januismer
  • 2
3 Comments
 
LVL 10

Expert Comment

by:cyberstalker
ID: 24065050
The way to do it depends of course on the operating system you are using. On unix/linux systems a shellscript like the fillowing would do the trick. It needs to be run as root of course.
firefox-no-proxy
0
 
LVL 1

Author Comment

by:januismer
ID: 24065466
Sorry... Windows XP SP3.
0
 
LVL 1

Accepted Solution

by:
januismer earned 0 total points
ID: 24090896
We resolved our issue.  We settled for updating the prefs.js for the current user, our installer account and the Default user.  Here is the batch file we used to do it:


REM
REM *** -- Find and Replace prefs.js file -- ***
REM
REM 04/07/2009
REM

set parent=%appdata%\Mozilla\Firefox\Profiles

set newfile=\\10.100.4.9\sys\public\updates\prefs.js


C:
cd "C:\Documents and Settings\Default User\Application Data\Mozilla\Firefox\Profiles"
dir /a:d /b > c:\list.txt
for /f %%a in ('type C:\list.txt') do (
  xcopy "%newfile%" "C:\Documents and Settings\Default User\Application Data\Mozilla\Firefox\Profiles\%%a\" /C /H /R /Y)

C:
cd "%USERPROFILE%"\Application Data\Mozilla\Firefox\Profiles"
for /F "tokens=*" %%G in ('dir "%parent%" /A:D /B') do (xcopy "%newfile%" "%parent%\%%G\" /C /H /R /Y)

C:
cd "C:\Documents and Settings\Installer\Application Data\Mozilla\Firefox\Profiles"
dir /a:d /b > c:\list.txt
for /f %%a in ('type C:\list.txt') do (
  xcopy "%newfile%" "C:\Documents and Settings\Installer\Application Data\Mozilla\Firefox\Profiles\%%a\" /C /H /R /Y)


cls
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
parent control advice for app searches 4 40
Internet options/Settings 1 69
Internet Explorer 11.0 fails to open 34 87
Adware on Android hooked into Chrome 6 47
Problem I downloaded the Microsoft Internet Explorer 9 Beta, today, to give it a test drive and maybe write a review for the site, and it failed miserably and got stuck in a crash restart loop. The error message given is as illustrated below i…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question