Occasionally, a stale registry mutex can cause this.
Create the file extension key:
Define the file type:
Set the default icon:
Set the open command:
Add a custom context-menu entry ("Open with Notepad"):
Refresh icon and association:
If you’ve ever typed "file regedit ff" into a search engine, you are likely a Windows user trying to accomplish one of three things:
The Windows Registry is a hierarchical database that stores low-level settings for the operating system and applications like Mozilla Firefox. Mishandling it can crash your system, but when used correctly, "filing" (exporting/saving) Regedit keys is a powerful troubleshooting skill.
This guide walks you through everything you need to know about filing regedit data for Firefox, including step-by-step instructions, safety precautions, and advanced tweaks. file regedit ff
| Purpose | Registry Path |
|---------|----------------|
| Installation folder | HKLM\SOFTWARE\Mozilla\Firefox |
| 32-bit on 64-bit | HKLM\SOFTWARE\WOW6432Node\Mozilla\Firefox |
| Current user settings | HKCU\SOFTWARE\Mozilla\Firefox |
| Policies (machine) | HKLM\SOFTWARE\Policies\Mozilla\Firefox |
| Policies (user) | HKCU\SOFTWARE\Policies\Mozilla\Firefox |
| File association: HTTP | HKCU\SOFTWARE\Classes\FirefoxURL |
| File association: HTML | HKCU\SOFTWARE\Classes\FirefoxHTML |
| Registered apps | HKLM\SOFTWARE\RegisteredApplications |
| Maintenance service | HKLM\SYSTEM\CurrentControlSet\Services\MozillaMaintenance |
Common locations:
Save the following as set-fffile.reg and double-click to import (edit paths if needed): Occasionally, a stale registry mutex can cause this
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.ff]
@="FFFile"
[HKEY_CLASSES_ROOT\FFFile]
@="FF Document"
[HKEY_CLASSES_ROOT\FFFile\DefaultIcon]
@="C:\\Windows\\System32\\notepad.exe,0"
[HKEY_CLASSES_ROOT\FFFile\shell\open\command]
@="\"C:\\Windows\\System32\\notepad.exe\" \"%1\""
[HKEY_CLASSES_ROOT\FFFile\shell\OpenWithNotepad]
@="Open with Notepad"
[HKEY_CLASSES_ROOT\FFFile\shell\OpenWithNotepad\command]
@="\"C:\\Windows\\System32\\notepad.exe\" \"%1\""
| Task | Better method than Regedit |
|------|----------------------------|
| Change homepage, search engine | about:preferences |
| Reset profile | about:support → Refresh Firefox |
| Manage policies | C:\Program Files\Mozilla Firefox\distribution\policies.json |
| File associations | Windows Settings → Apps → Default Apps |
| Full clean reinstall | Use Revo Uninstaller (scans registry) |
Once you have filed (exported) a regedit key for FF, you can modify it manually in a text editor to change multiple computers at once.