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
    2022-12-11T04:29:27+00:00

    Fortunately, WinSetView did work so far. Though it's interface is pretty unweildy and the things it does should be built into File Explorer's options.

    Indeed, File Explorer should include options to change folder views across all folder types (and make exceptions where desired), but it's all been the same underlying design since Windows 7, so don't hold your breath on Microsoft making such interfaces.

    I've made some improvements to make WinSetView less "unwieldy", such as Copy and Paste buttons to copy one folder type's settings to another and a new feature to drag rearrange column headings instead of having to remove and re-add them in the correct order.

    Was this answer helpful?

    0 comments No comments
  2. Les Ferch 10,361 Reputation points Volunteer Moderator
    2022-12-11T04:11:12+00:00

    Here is the REG-modification that does the trick for me in Win11:

    *** Disable File-Grouping in Explorer ***

    REGEDIT4

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell{885A186E-A440-4ADA-812B-DB871B942259}]
    "GroupView"=dword:00000000

    That does not work. It has to be set along with a view, such as Details, and must be in HKCU, not HKLM. This is the correct entry (using Details as the view):

    [HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell{885A186E-A440-4ADA-812B-DB871B942259}]

    "Mode"=dword:00000004

    "LogicalViewMode"=dword:00000001

    "GroupView"=dword:00000000

    HOWEVER, this only works for a new profile or a profile where the Bags/BagMRU keys have been cleared. If you have already opened the Downloads folder, applying this (or any other similar registry change) by itself will not change those existing views.

    You need to use a script that clears out the existing per-folder views, sets the correct registry entries, and then restarts explorer.exe. That's what WinSetView does for you.

    Was this answer helpful?

    0 comments No comments
  3. Les Ferch 10,361 Reputation points Volunteer Moderator
    2022-12-06T16:38:33+00:00

    how to apply folder type "Downloads"

    in command prompt

    md aaa

    notepad aaa\desktop.ini

    in notepad

    [ViewState]

    Mode=

    Vid=

    FolderType=Downloads

    in command prompt

    attrib aaa +R

    explorer aaa

    in explorer

    (change folder view)

    folder options, apply folder

    Yes, the folder type can be specified in the hidden, system file desktop.ini. That should happen automatically when you use the Customize option to change folder type. There should be no need to set the Downloads folder to type Downloads, but manually creating the desktop.ini file may work to get around the bug that you sometimes cannot change the folder type via the GUI on Windows 11. However, I tested this on removable media on Windows 11, and it did not help.

    More details can be found in this thread .

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-12-06T14:04:20+00:00

    how to apply folder type "Downloads"

    in command prompt

    md aaa

    notepad aaa\desktop.ini

    in notepad

    [ViewState]

    Mode=

    Vid=

    FolderType=Downloads

    in command prompt

    attrib aaa +R

    explorer aaa

    in explorer

    (change folder view)

    folder options, apply folder

    Was this answer helpful?

    0 comments No comments