Solved

Disable Proxy In Firefox

Posted on 2009-04-03
3
2,178 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

After uninstalling Opera browser (for example ver. 10.63), your attempts to open a web page by clicking on a URL link may fail with an error message.  The error is "This operation has been canceled due to restrictions in effect on this computer. Ple…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
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 +…

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now