Solved

Disable Proxy In Firefox

Posted on 2009-04-03
3
2,174 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
Comment Utility
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
Comment Utility
Sorry... Windows XP SP3.
0
 
LVL 1

Accepted Solution

by:
januismer earned 0 total points
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Due to recent concerns over the inevitable depletion of the current pool of IPv4 addresses and the desire to provide additional functionality for modern devices, an upgrade to IPv6 on my Internet connection was needed for me to explore the world of …
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…
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 +…

772 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

11 Experts available now in Live!

Get 1:1 Help Now