Customize 7-Zip Toolbar, File Associations & Context Menu
This guide shows you how to tailor 7-Zip’s interface and integration with Windows. You’ll learn to change which file types open with 7-Zip by default, add or remove items from the right-click context menu, and adjust the toolbar buttons in the 7-Zip File Manager. No special tools are needed—everything is done through 7-Zip’s built-in settings and Windows’ default apps panel.
What You’ll Need
- A working installation of 7-Zip (version 19.00 or later recommended; the steps are similar for older versions).
- Administrator rights on your Windows PC to change file associations and context menu settings.
- Windows 10 or Windows 11 (the exact menu names may differ slightly on older Windows versions).
Step-by-Step
Part 1: Customize the Toolbar in 7-Zip File Manager
- Open 7-Zip File Manager. You can find it in the Start menu or by double-clicking the 7-Zip icon on your desktop.
- Click Tools in the menu bar, then select Options. This opens the 7-Zip Options dialog.
- Go to the Editor tab. Here you can set which text editor opens when you press F4 or click the “Edit” button. Type the full path to your preferred editor (e.g.,
C:\Windows\notepad.exe). - Switch to the 7-Zip tab. Under “Toolbar buttons,” you’ll see a list of available buttons with checkboxes. Check or uncheck the buttons you want to show or hide (e.g., Add, Extract, Test, Copy, Move, Delete, Info).
- Click OK to save your changes. The toolbar in the main window updates immediately.
- To change the order of buttons, you can’t drag them directly. Instead, you’ll need to edit the registry (advanced) or simply accept the default order. For most users, showing/hiding is enough.
Part 2: Change File Associations
- Open 7-Zip File Manager again.
- Click Tools > Options.
- Go to the System tab. You’ll see a list of archive file extensions (e.g., .7z, .zip, .rar, .tar). Each has a checkbox.
- To associate an extension with 7-Zip, check its box. To remove the association, uncheck it.
- Click OK. 7-Zip will ask for confirmation if you’re changing associations that are currently set to another program. Click Yes to proceed.
- If you want 7-Zip to be the default for all supported types, you can also use Windows Settings: go to Settings > Apps > Default apps, search for 7-Zip, and assign it to each file type manually. This is useful if the System tab doesn’t cover all types.
Part 3: Customize the Context Menu
- In the same Options dialog (Tools > Options), go to the 7-Zip tab.
- Look for the section labeled “Context menu items.” Here you’ll see checkboxes for items like “Add to archive,” “Extract to,” “Extract here,” “Compress and email,” etc.
- Check the items you want to appear when you right-click a file or folder. Uncheck the ones you don’t use.
- For more advanced control, you can also enable “Cascaded context menu” which groups all 7-Zip actions under a single submenu instead of cluttering the main context menu. Check the box for “Cascaded context menu” if you prefer that.
- Click OK. The changes take effect immediately—no need to restart Windows.
Common Mistakes
- Not running as administrator: If you’re not an administrator, the System tab may be grayed out or changes may not save. Right-click 7-Zip File Manager and select “Run as administrator” before changing associations.
- Overwriting associations unintentionally: When you check a box in the System tab, 7-Zip takes over that file type. If you later uncheck it, Windows may not revert to the previous program automatically—you’ll need to set it manually.
- Confusing the Editor tab with the toolbar: The Editor tab only sets which program opens when you click “Edit” inside 7-Zip—it doesn’t change the toolbar buttons. The toolbar buttons are on the 7-Zip tab.
- Expecting drag-and-drop toolbar customization: 7-Zip doesn’t support dragging buttons to reorder them. You can only show/hide them.
Tips
- Use the “Cascaded context menu” option if you have many 7-Zip items enabled—it keeps your right-click menu clean.
- For file associations, it’s often better to use the System tab in 7-Zip than Windows Settings, because 7-Zip updates the icons and default actions correctly.
- If you want to associate a file type that isn’t listed in the System tab (like .apk or .docx), you can add it manually by editing the registry, but that’s risky. Instead, use Windows Default Apps to assign 7-Zip to that extension.
- To quickly test your context menu changes, right-click any file on your desktop—no need to restart Explorer.
Troubleshooting
- Changes don’t stick after clicking OK: Make sure you’re running 7-Zip as administrator. If you’re not, close 7-Zip, right-click its icon, and choose “Run as administrator,” then repeat the steps.
- Context menu items missing after update: Sometimes Windows caches the context menu. Restart Windows Explorer: open Task Manager (Ctrl+Shift+Esc), find “Windows Explorer,” right-click it, and choose “Restart.”
- File association shows the wrong icon: This usually happens when Windows hasn’t refreshed its icon cache. Restart your PC, or rebuild the icon cache using a tool like
ie4uinit.exe -show(run in Command Prompt). - 7-Zip doesn’t appear in “Open with” list: Navigate to the 7-Zip executable (usually
C:\Program Files\7-Zip\7zFM.exe) and select it manually. If it’s not there, reinstall 7-Zip. - Toolbar buttons revert to default after restart: This can happen if your 7-Zip configuration file is read-only. Check
%APPDATA%\7-Zip\and ensure the config file is writable.
Frequently Asked Questions
How do I remove 7-Zip from the context menu entirely?
Open 7-Zip Options, go to the 7-Zip tab, and uncheck all items under “Context menu items.” Then click OK. If you want to completely remove 7-Zip from the right-click menu, you may need to uninstall the program.
Can I add a custom command to the context menu, like “Open with 7-Zip”?
Yes, but it requires registry editing. You can add a new key under HKEY_CLASSES_ROOT\*\shell that points to 7zFM.exe. This is advanced and should be done carefully with a backup.
Why does 7-Zip not show up as an option for .zip files?
Windows has built-in ZIP support and may override 7-Zip. In 7-Zip Options, System tab, make sure the .zip checkbox is checked. If it still doesn’t work, go to Windows Default Apps and set 7-Zip as the default for .zip.
Does changing file associations in 7-Zip affect existing archives?
No, it only changes which program opens when you double-click an archive. Existing files are not modified.
How do I reset all 7-Zip settings to default?
Close 7-Zip, then delete the configuration file located at %APPDATA%\7-Zip\7-Zip.ini. On next launch, 7-Zip will recreate it with default settings.
Can I have different context menu items for different file types?
No, 7-Zip applies the same context menu items to all file types. For per-extension customization, you’d need to edit the registry manually.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.