File Explorer Group By Greyed Out – How to Fix It
In this article
Yes, you can restore the missing Group By option in Windows File Explorer by adjusting view settings, clearing saved folder customizations, or resetting the Explorer cache.
What You'll Need
- A Windows PC (Windows 10 or Windows 11)
- Standard user account (administrator rights are helpful but not mandatory)
- A moment of patience for a few quick restarts
Step-by-Step
- Open File Explorer and navigate to any folder where the Group By command is greyed out.
- Check the current view mode. Click the View tab on the ribbon, then select Details. Group By is only available in Detail view; other views such as Tiles, Content, or Large icons disable the command.
- If you are already in Details view, look at the right‑hand side of the ribbon for the Sort by dropdown. Click it and verify that Group by is not listed as an option. If it is missing, continue to the next step.
- Reset the folder’s view settings. In the same View tab, click Options on the far right to open Folder Options. Switch to the View tab, then press the Reset Folders button. Confirm the reset when prompted. This clears any per‑folder customizations that may have hidden Group By.
- Close all File Explorer windows and restart the Explorer process. Press Ctrl+Shift+Esc to open Task Manager, find Windows Explorer under the Processes tab, right‑click it and choose Restart. When Explorer restarts, open a folder again and verify that Group By is now active.
- If the option is still greyed out, clear the automatic folder view cache. Open the Run dialog with Win+R, type
regeditand press Enter. Navigate toHKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags. Right‑click the Bags key and choose Delete. Then go toHKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BagMRUand delete that key as well. These keys store per‑folder view settings; deleting them forces Explorer to rebuild a fresh cache. - After the registry keys are removed, restart the computer to let Windows recreate the default cache. Once the system boots, open File Explorer, switch to Details view, and the Group By command should be selectable.
- As an alternative to manual registry editing, you can use the built‑in “Reset folder view settings” feature. Open Settings > Apps > Apps & features, locate File Explorer (or “Windows Explorer” in older builds), click Advanced options, and select Reset. This performs a similar cache clear without touching the registry.
- Finally, confirm that no third‑party shell extensions are interfering. If you have installed custom file‑manager add‑ons, temporarily disable them via the program’s settings or uninstall them, then repeat steps 1‑7.
Common Mistakes
Many users assume the Group By command is hidden because of a bug in the ribbon. In reality, the most frequent cause is being in a view mode that does not support grouping. Switching to Details view resolves the majority of cases.
Another typical error is deleting the wrong registry branch. Deleting HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer can corrupt the entire Explorer configuration, requiring a full user‑profile reset. Always target the Bags and BagMRU keys only.
Some people try to edit the HKLM (machine) hive for folder views. Folder view settings are stored per‑user, so changes in HKLM have no effect on the Group By option.
Tips
- Use the keyboard shortcut Ctrl+Shift+6 to quickly switch to Details view without opening the ribbon.
- If you frequently need custom groupings, create a folder template: set the view and grouping you like, then copy the folder and paste it elsewhere. Windows will preserve the template for new folders.
- Keep your system up to date. Microsoft occasionally releases small Explorer patches that address UI glitches, including hidden Group By options.
- When editing the registry, export the
BagsandBagMRUkeys first (right‑click > Export). This gives you a quick restore point if something goes wrong.
Troubleshooting
If the Group By command remains greyed out after a restart: double‑check that you are indeed in Details view. The ribbon may show “Details” but the folder could be using a custom view that mimics Details while still disabling grouping. Click View > Reset view on the folder itself.
Check for corrupted system files. Open Command Prompt as administrator and run sfc /scannow. Let the scan complete; if it reports repaired files, restart and test again.
Verify that the folder is not a network share with limited permissions. Grouping may be disabled on remote locations where the server does not expose the necessary metadata. Copy a few files to a local folder and test there.
Disable third‑party shell extensions. Use a tool such as ShellExView (download from the official NirSoft site) to view all non‑Microsoft extensions. Disable them one by one, restarting Explorer after each change, until the Group By option reappears.
Last resort – create a new user profile. If none of the above works, the issue may be tied to a corrupted user profile. Create a new local account, log in, and see if Group By functions normally. If it does, migrate your files to the new profile.
Frequently Asked Questions
Why does Group By disappear only in some folders?
Folders can store individual view settings. If a folder was previously set to a view that does not support grouping, Windows remembers that preference and disables the command until the view is reset.
Can Group By be forced in List or Tiles view?
No. Group By is designed to work only with the Details view because it relies on column data that those other views do not display.
Do I need to be an administrator to reset the folder cache?
Resetting per‑user view settings does not require admin rights, but deleting the registry keys or using the Settings > Apps > Advanced options reset may prompt for elevation.
Will clearing the Bags registry keys delete my files?
No. Those keys only store visual preferences such as column width, sort order, and grouping. Deleting them merely resets the appearance of folders.
Is there a way to make Group By the default for all new folders?
Yes. Open any folder, set the desired grouping, then go to View > Options > View tab and click Apply to Folders. This copies the current view template to all folders of the same type.
Does disabling Quick Access affect Group By?
Quick Access is a separate navigation pane feature. Turning it off does not impact the Group By command, though it can reduce visual clutter when troubleshooting.