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: Most helpful
  1. Les Ferch 10,361 Reputation points Volunteer Moderator
    2023-06-21T18:33:16+00:00

    They just need to disable *automatic* grouping.

    So then grouping is turned *off*.

    Remove the line of code that says:

    "Something *else* changed, let's annoy the user and turn file grouping *on*".

    No setting is needed, just remove that one line of code.

    Default grouping is based on the settings in the FolderTypes registry key. The only folder type that has a grouping option enabled by default, that really annoys people, is the special Downloads folder type. The Home (Quick Access) folder is also grouped by default (by property "Group"), to separate recent items from pinned items, but that one is generally just fine with most users. As noted in the answer, there is just one protected registry entry that Microsoft can change (and should change IMO) to set the default grouping for Downloads to (None). No code needs to be touched to do that.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-06-21T18:15:53+00:00

    They just need to disable *automatic* grouping.

    So then grouping is turned *off*.

    Remove the line of code that says:

    "Something *else* changed, let's annoy the user and turn file grouping *on*".

    No setting is needed, just remove that one line of code.

    Was this answer helpful?

    0 comments No comments
  3. Les Ferch 10,361 Reputation points Volunteer Moderator
    2023-06-21T17:58:51+00:00

    Can people stop posting a link to some 3rd party software. Why can't this be handled within Windows itself, seems like a massive oversight for something so simple.

    As already stated, the accepted answer provides several options for setting the Grouping to (None) that do not require any 3rd party software. However, based on your screenshot and description, you are asking about something completely different.

    When I sort by date modified, I want to see files sorted by DATE ORDER.

    Why the hell does windows group by type (folder, image, pdf etc..) even with grouping disabled.

    If i want the newest files on top, I've done that for a reason. I don't then expect to have to scroll down through all the differnet types of files in order to see my files in date order. And when i say "files" I mean everything. I want everything inside a directroy to be sorted by date modified, not sorted by type, and then date modfied...

    Image

    Why is "test folder 2" not showing at the very top here, because I'm sorting by date modified (newest on top) and you can clearly see that it was modified 1m later than the other files/dirs. Grouping is disabled, yet they're still grouped. Why?

    You are seeing files sorted by Date modified. A folder is not a file. File Explorer always separates folders from files. They can be at the top of the list, or the bottom, but not mixed together. It's always been that way, but you certainly can submit a request via the Feedback Hub for a new feature that allows files and folders to be mixed together when sorted by Name, Date, etc. Otherwise, you'll need to use a 3rd party file manager to get a mixed view.

    However, you should NOT be seeing your files sorted first by Type (JPG, PDF, etc.) and then by Date modified, unless you have unintentionally set up a two-level sort. If you are seeing that, please post a screenshot and I'll be happy to step you through fixing that, but it should just be a matter of clicking on the Date modified or Name heading once or twice to reset the sort order.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2023-06-20T14:28:55+00:00

    Thanks for that additional information, To be honest I wasn't 100% sure if MS did respond on here, I guess if they can get the community to help with issues instead of their own staff, that is a very nice situation for them! I will certainly be sending them some feedback on grouping then, for what it's worth.

    All I can say is, thank goodness for people like you Les who actually give useful advice on issues like this!! In the past I have found community responses such as on here, and random people on youtube, giving much better help and solutions than any MS help pages I have seen.

    So thank you once again Les for all you're doing on here!!!!!

    Was this answer helpful?

    0 comments No comments