If Firefox appears to ignore mozilla.cfg, first confirm the filenames, folder paths, and loader values. Small mistakes can prevent the configuration from loading.
Check file locations
The mozilla.cfg file belongs in the Firefox installation root. The autoconfig.js loader belongs in defaults/pref under the installation directory, not the profile folder.
Check encoding and first line
Start the CFG file with a JavaScript comment. If the loader uses obscure_value = 0, the CFG file should be plain text rather than byte-shift encoded.
Check syntax
Review quotations, semicolons, preference names, and JavaScript syntax. Our CFG Validator performs only preliminary checks; for complete syntax verification use a JavaScript parser and test Firefox itself.
Test with a fresh setup
Test one preference at a time in a controlled installation and consult the current Firefox enterprise documentation.
Reference: Firefox enterprise and AutoConfig documentation. Always verify settings against your installed Firefox release.