Completely disable file grouping, always, everywhere, in all windows, dialogs, everything!

Anonymous
2022-02-23T22:25:42+00:00

Hello,

File grouping is degrading my productivity. It is constantly getting between me and my work.

I am aware of the methods to disable file grouping within individual folders. Please do not tell me how to do this, I already know.

I am also aware of the method that is supposed to disable file grouping within folders of a particular type (general, music, photos, etc.)... by setting the Explorer "Options > Apply to Folders". (As an aside, the auto-detection of folder contents often does not work and is a big headache.) Again, please do not tell me how to do this, I already know.

What I need to do is prevent Windows from grouping files -- EVERYWHERE. Not just in Windows Explorer, but in application file dialogs. That is, file Open and Save dialogs. That is the absolutely last place I ever want to see grouping.

This is seriously a problem for me. My assets are organized alphabetically for a reason. When I have to right-click and choose "Group By > None" every single time I access a folder through an application dialog, it wastes my time, increases my workload, and makes me very cranky.

I know that Microsoft has added this feature because they think it is going to save effort and time for their users. That may be true in some cases, but there is no one solution to maximize productivity in all possible use cases.

So please, how can I completely disable file grouping, always, everywhere, in all windows, dialogs, everything?

If this is not currently possible in Windows 10, please make it possible.

Such a simple, basic option can save literally millions of hours of wasted time for a global user base.

Thank you.

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Les Ferch 10,361 Reputation points Volunteer Moderator
2022-06-24T16:57:28+00:00

So please, how can I completely disable file grouping, always, everywhere, in all windows, dialogs, everything?

Option 1: Use WinSetView

The easiest solution is to use WinSetView. It's a free, open source, portable app that lets you choose your preferred Explorer default views, including grouping, and sets the registry values for you. It does not modify any system files and does not leave anything running (i.e. zero overhead). The settings will stick through typical Windows Updates, but will need to be reapplied after a major update.

Note: WinSetView resets all of your folder views to whatever you select as your default view preferences, which includes your grouping options. You may select one global view setting or select different views for each folder type.

Option 2: Clear saved views and "Apply to Folders"

This option uses the "Apply to Folders" button to set the user default view for the Downloads folder to Group by (None), but in order to ensure that all file open/save dialogs get the updated view, the currently saved views in the registry must be cleared out. To do that, first open RegEdit and delete the following registry keys:

HKCU\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU

HKCU\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags

After deleting those registry keys, set grouping to (None) in the usual way:

Windows 11:

  1. Open your Downloads folder and make the window wide enough to see all options.
  2. Sort menu > Group by > (None)
  3. > Options
  4. View tab > Apply to Folders > Yes > OK

Windows 10:

  1. Open your Downloads folder and make the window wide enough to see all options.
  2. View tab > Group by > (None)
  3. Options > Change folder and search options
  4. View tab > Apply to Folders > Yes > OK

This procedure must be applied for each folder TYPE. Typically, only the Downloads folder type is set to group by date, but if you have other folder types that are also grouped, the procedure will need to be repeated for those ones as well.

Once the above steps are complete, sign out and sign in (or restart the computer) to make the changes take effect everywhere.

Option 3: Modify the default in the registry

In this registry key:

HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}

Change the GroupBy value data from "System.DateModified" to "" (i.e. clear the data).

Note: The above key is protected. You will need to either change its permissions (not recommended) or access it using a tool that provides TrustedInstaller access, such as PowerRun, AdvancedRun, or RightClickTools.

If you make the above change for a new user before opening any Downloads folders, then you're done. Otherwise, you'll need to clear out the saved views using the following procedures:

Close all open apps.

Open RegEdit normally (i.e NOT as TrustedInstaller) and delete the following registry keys:

HKCU\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU

HKCU\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags

Run the following PowerShell script to clear views for Store apps such as the Windows 11 Notepad and MSPaint:

$Pkgs = "$env:LocalAppData\Packages"
Get-ChildItem $Pkgs -Directory | ForEach-Object {
  Remove-Item -Force -ErrorAction SilentlyContinue "$Pkgs\$_\SystemAppData\Helium\UserClasses.dat"
} 

Sign out and sign in (or restart the computer) to make the changes take effect everywhere.

Option 4: Per user script

Close all open apps and run the following PowerShell script for each user (please see the comments):

# This script will remove grouping from all possible views of the Downloads folder. 
# The change is applied to the current user's profile only. 
# Warning: ALL folder views (except Downloads grouping) will revert to Windows defaults! 
# This is a minimal solution. To set ALL default folder views, use the free tool WinSetView. 

$RegExe = "$env:SystemRoot\System32\Reg.exe"
$File = "$env:Temp\Temp.reg"
$Key = 'HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}'
& $RegExe Export $Key $File /y
$Data = Get-Content $File
$Data = $Data -Replace 'HKEY_LOCAL_MACHINE', 'HKEY_CURRENT_USER'
$Data = $Data -Replace '"GroupBy"="System.DateModified"', '"GroupBy"=""'
$Data | Out-File $File
& $RegExe Import $File
$Key = 'HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell'
& $RegExe Delete "$Key\BagMRU" /f
& $RegExe Delete "$Key\Bags" /f
$Pkgs = "$env:LocalAppData\Packages"
Get-ChildItem $Pkgs -Directory | ForEach-Object {
  Remove-Item -Force -ErrorAction SilentlyContinue "$Pkgs\$_\SystemAppData\Helium\UserClasses.dat"
}
Stop-Process -Force -ErrorAction SilentlyContinue -ProcessName Explorer

Was this answer helpful?

1600+ people found this answer helpful.
0 comments No comments

355 additional answers

Sort by: Newest
  1. Les Ferch 10,361 Reputation points Volunteer Moderator
    2024-01-01T16:11:28+00:00

    What you're showing is a legacy file save dialog. That dialog always shows all special folders under Desktop. Here's a screenshot of a legacy dialog from a freshly built Windows 11 computer. I used RegEdit export for this example.

    From the same computer, here's the Save As from NotePad, which uses the modern file dialog:

    That's the obvious explanation. In some programs, such as RegEdit and IrfanView, you will see the legacy dialog, but in most other programs, you will see the modern dialog. This has nothing to do with WinSetView.

    I searched around old postings to see if there is any possibility that you had some patch in place that limited what was shown in the legacy dialog, but could find nothing. If you had such as patch, let me know where I can find it and I will investigate. Otherwise, I have to conclude that it's just a matter of what type of dialog you're looking at.

    I assume you created that second screenshot using a paint program. Is that correct?

    Also note that those checkboxes you show have no effect on a legacy dialog. They only affect the modern dialog.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-01-01T11:48:33+00:00

    Hello LesFerch,

    after using WinSetView to remove the grouping on win11 I now see these parasite folders on my desktop when I click open / save as on many programs.

    totally unnecessary if I want to go the the libraries - I will just click the button below.

    Image

    this was the situation until yesterday - none of them were visible, only items / folders I have created

    Image

    In basic - the folders are there In windows explorer, but after un-selecting "show all folders" and "show all libraries" - they were invisible in both explorer and save/ open dialog windows.

    so my guess is that it changes some registry, that it should not - and they are now visible, even if "show all folders is un-selected

    I don't see any option about this visibility inside the options of the programs - what I need to change in the registry to remove this "spam" in the desktop save / open dialog?

    Image

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-12-20T15:06:59+00:00

    Thank you so much @LesFerch!!! Works 100%!!

    Was this answer helpful?

    0 comments No comments
  4. Les Ferch 10,361 Reputation points Volunteer Moderator
    2023-12-15T18:44:32+00:00

    Pretty much everything you said applies to my system. I do have ExplorerPatch running. And I missed to enjoy the classic explorer menu in your application.

    Thanks for replying so extensively! Helped me a great deal to understand.

    Thanks for the update. I suspected ExplorerPatcher because I've seen it go into a restart loop with Explorer before. In both cases, where it happened to me, I had built fresh test machines and had not run my app at all. I have confirmed with other EP users that this sometimes happens and they learn to fix it via Task Manager. I did run some tests with EP installed and the context menu set back to the legacy version and then ran WinSetView with that option not checked. No problems occurred for me. The context menu just went back to the Windows 11 version and then I could set it back to the legacy version via EP or WinSetView. That's exactly as I expected. I've never been able to reproduce the EP Explorer restart issue on demand.

    Was this answer helpful?

    0 comments No comments