Having troubles getting mozilla.adm working
-
- Posts:4
- Joined:Wed May 10, 2006 10:38 am
I'm using the 1.5.0.3 msi, and I finally got it to deploy properly through a GPO, but I can't get the proxy settings that I set up with the mozilla.adm policies to apply. Any suggestions?
I'm testing this with the 1.5.03 FFCE .msi
Hi,
Apply the GPO localy throught the firefox.adm at the computer level works for me.
I've uncomment these lines:
; NAME "Automatic Proxy Configuration URL" VALUE NUMERIC 2
END ITEMLIST
END PART
; PART "Automatic Proxy Configuration URL" EDITTEXT
; VALUENAME AutoProxyURL
; END PART
And put this value into the field Automatic Proxy Configuration URL:
http://thewebproxy/proxy.pac
I have to test via a domain policy.
Cheers.
Apply the GPO localy throught the firefox.adm at the computer level works for me.
I've uncomment these lines:
; NAME "Automatic Proxy Configuration URL" VALUE NUMERIC 2
END ITEMLIST
END PART
; PART "Automatic Proxy Configuration URL" EDITTEXT
; VALUENAME AutoProxyURL
; END PART
And put this value into the field Automatic Proxy Configuration URL:
http://thewebproxy/proxy.pac
I have to test via a domain policy.
Cheers.
-
- Posts:4
- Joined:Wed May 10, 2006 10:38 am
- DraconPern
- Site Admin
- Posts:1218
- Joined:Thu Oct 30, 2003 11:47 pm
- Location:Texas
- Contact:
-
- Posts:4
- Joined:Wed May 10, 2006 10:38 am
- DraconPern
- Site Admin
- Posts:1218
- Joined:Thu Oct 30, 2003 11:47 pm
- Location:Texas
- Contact:
- DraconPern
- Site Admin
- Posts:1218
- Joined:Thu Oct 30, 2003 11:47 pm
- Location:Texas
- Contact:
for the automatic proxy config, the firefox.adm seems to be half way implemented. AutoProxyURL shouldn't be working, and I think nico just got lucky that it worked. ^^;
use mozilla.adm instead.
network.proxy.type=2
network.proxy.autoconfig_url=a url to a .pac file
network.proxy.type=1
network.proxy.http, .http_port, ftp, ftp_port ... etc.
use mozilla.adm instead.
network.proxy.type=2
network.proxy.autoconfig_url=a url to a .pac file
network.proxy.type=1
network.proxy.http, .http_port, ftp, ftp_port ... etc.
FrontMotion Lead Developer
-
- Posts:4
- Joined:Wed May 10, 2006 10:38 am
-
- Posts:3
- Joined:Mon Oct 02, 2006 6:27 am
I have the same problem
I have tryed this on an new build and an old one. I apply the .07.msi file and that works great. no problem. but i have the firefox.adm in AD and when i look in the local reg the setting are there but firefox dose not see them. any iders. thanks
simon
simon
Hi,
I had a lot of problems making this working.
Right now, I have mixed up the Firefox MSI file from the fantastic job made by DraconPern and an extension called Group Policy Extension for Firefox 1.x made by Mark and downloaded here : http://homepages.ed.ac.uk/mcs/GPOforFirefox.zip
This only works after making the following changes to the mozilla.adm made by DragonPern :
Every entry in the ADM file HAS to be a REG_SZ type.
You do that by changing for example this :
POLICY "network.proxy.http_port"
PART "network.proxy.http_port" NUMERIC
VALUENAME "network.proxy.http_port"
END PART
END POLICY
into this :
POLICY "network.proxy.http_port"
PART "network.proxy.http_port" EDITTEXT
VALUENAME "network.proxy.http_port"
END PART
END POLICY
It worked for me like this. And it works for every settings even the ones for the extensions.
Right now, I'm having a new problem :
How can I set a parameter without preventing the user from being able to change it. I would like to be able to set the parameter (for example, the homepage) AND let the user change it if he wants to.
At the moment, with this method, every parameter I set is not changeable by the user. It's locked and no one can change it except by changing the GPO itself.
This causes me problems when a user with a laptop wants to use it outside our network. He has to change the proxy settings (to use a direct connection instead of a proxy) but he cannot do it.
The other problem is in ForecastFox. I can set a location for the weather but I cannot set another one because the location is locked.
I guess I have to change the GPO for a USER SIDE GPO and not a MACHINE SIDE GPO. I'll try this if I can but I'm not sure the extension will read this in the HKCU section.
I'll ask Mark if it's something he can do and let you know here.
I hope this is clear enought to help you all.
Edit : I just noted that Marks says it's also working for the HKCU keys so I'm gonna try right now
Edit 2 : Mark just gave me the solution to my problem. The keys have to be in the FireFox section and not the Locked section.
If the ADM file contains this :
CLASS MACHINE
CATEGORY "Mozilla Firefox Group Policy Settings"
KEYNAME "Software\Policies\ADM\Firefox\Locked"
All the settings will be locked and unchangeable by the user.
If the ADM file contains this :
CLASS MACHINE
CATEGORY "Mozilla Firefox Group Policy Settings"
KEYNAME "Software\Policies\ADM\Firefox"
The settings won't be locked.
You can mix both and make a locked and not locked ADM file that will apply them both. If the options are set in both locations, the locked location will be used.
I, now, have exactely what I was looking for.
I'm happy
I had a lot of problems making this working.
Right now, I have mixed up the Firefox MSI file from the fantastic job made by DraconPern and an extension called Group Policy Extension for Firefox 1.x made by Mark and downloaded here : http://homepages.ed.ac.uk/mcs/GPOforFirefox.zip
This only works after making the following changes to the mozilla.adm made by DragonPern :
Every entry in the ADM file HAS to be a REG_SZ type.
You do that by changing for example this :
POLICY "network.proxy.http_port"
PART "network.proxy.http_port" NUMERIC
VALUENAME "network.proxy.http_port"
END PART
END POLICY
into this :
POLICY "network.proxy.http_port"
PART "network.proxy.http_port" EDITTEXT
VALUENAME "network.proxy.http_port"
END PART
END POLICY
It worked for me like this. And it works for every settings even the ones for the extensions.
Right now, I'm having a new problem :
How can I set a parameter without preventing the user from being able to change it. I would like to be able to set the parameter (for example, the homepage) AND let the user change it if he wants to.
At the moment, with this method, every parameter I set is not changeable by the user. It's locked and no one can change it except by changing the GPO itself.
This causes me problems when a user with a laptop wants to use it outside our network. He has to change the proxy settings (to use a direct connection instead of a proxy) but he cannot do it.
The other problem is in ForecastFox. I can set a location for the weather but I cannot set another one because the location is locked.
I guess I have to change the GPO for a USER SIDE GPO and not a MACHINE SIDE GPO. I'll try this if I can but I'm not sure the extension will read this in the HKCU section.
I'll ask Mark if it's something he can do and let you know here.
I hope this is clear enought to help you all.
Edit : I just noted that Marks says it's also working for the HKCU keys so I'm gonna try right now
Edit 2 : Mark just gave me the solution to my problem. The keys have to be in the FireFox section and not the Locked section.
If the ADM file contains this :
CLASS MACHINE
CATEGORY "Mozilla Firefox Group Policy Settings"
KEYNAME "Software\Policies\ADM\Firefox\Locked"
All the settings will be locked and unchangeable by the user.
If the ADM file contains this :
CLASS MACHINE
CATEGORY "Mozilla Firefox Group Policy Settings"
KEYNAME "Software\Policies\ADM\Firefox"
The settings won't be locked.
You can mix both and make a locked and not locked ADM file that will apply them both. If the options are set in both locations, the locked location will be used.
I, now, have exactely what I was looking for.
I'm happy
-
- Posts:3
- Joined:Thu Nov 04, 2010 12:32 am
Re: Having troubles getting mozilla.adm working
Some answers will tell you to modify a file called "prefs.js". Please be careful when doing that and make a copy of this file before making any changes. There needs to be a semicolon (;) at the end of each line and an empty line at the end of the file. If something is not changed/entered correctly in this file, it may lead to this error, possibly causing Mozilla to not work. If that happens, simply replace the modified version of "prefs.js" with the backup copy you made.
It is safer to either edit the preferences or add new ones in Mozilla itself by typing about:config in Mozilla's address bar (this only works in newer versions of Mozilla and Netscape 7.1) or to create a file called "user.js" in the same directory as "prefs.js" where you can add new preference(s). This will work in all versions of Mozilla and Netscape 6/7. To do so, simply create a new text file, edit it in a text editor like Notepad and change the file extension from ".txt" to ".js" when you have saved your changes. Mozilla will automatically copy the new preferences you have added to "prefs.js" the next time you run it.
Remember: All these instructions are to my best knowledge correct and work. However, you are making any changes / applying any settings at your own risk!
It is safer to either edit the preferences or add new ones in Mozilla itself by typing about:config in Mozilla's address bar (this only works in newer versions of Mozilla and Netscape 7.1) or to create a file called "user.js" in the same directory as "prefs.js" where you can add new preference(s). This will work in all versions of Mozilla and Netscape 6/7. To do so, simply create a new text file, edit it in a text editor like Notepad and change the file extension from ".txt" to ".js" when you have saved your changes. Mozilla will automatically copy the new preferences you have added to "prefs.js" the next time you run it.
Remember: All these instructions are to my best knowledge correct and work. However, you are making any changes / applying any settings at your own risk!