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: Oldest
  1. Les Ferch 10,361 Reputation points Volunteer Moderator
    2023-10-08T00:52:14+00:00

    Can MICROSOFT SOLVE THIS ISSUE? COME ON!

    We need quick solution to this. It's a simple matter but disabling all of it seems very difficult and a hassle!

    I've created a Feedback Hub item requesting that Microsoft make a simple registry change so the default for Downloads is NOT grouped.

    Please upvote this feedback if you have a regular Windows account:

    https://aka.ms/AAn07ax

    Please upvote this feedback if you have an Insider account: https://aka.ms/AAn004e

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-10-14T05:47:03+00:00

    Alors s'il vous plaît, comment puis-je désactiver complètement le regroupement de fichiers, toujours, partout, dans toutes les fenêtres, boîtes de dialogue, tout ?

    Solution:

    Utilisez WinSetView pour désactiver le regroupement de fichiers globalement. Il s'agit d'une application portable gratuite, open source, qui vous permet de choisir vos vues par défaut préférées de l'Explorateur de fichiers et de définir les valeurs de registre pour vous. Il ne modifie aucun fichier système et ne laisse rien fonctionner (c'est-à-dire aucune surcharge). Les paramètres resteront fidèles aux mises à jour Windows.

    Prudence:

    WinSetView réinitialise toutes vos vues de dossiers selon ce que vous sélectionnez comme préférences d'affichage par défaut, ce qui inclut vos options de regroupement. Vous pouvez sélectionner un paramètre d'affichage global ou sélectionner différentes vues pour chaque type de dossier.


    Solution alternative (partielle) :

    Pour de nombreux utilisateurs, la procédure Appliquer aux dossiers (voir ci-dessous) fonctionne assez bien, mais veuillez noter...

    La procédure « Appliquer aux dossiers » :

    • Ne réinitialise PAS les vues des boîtes de dialogue d'ouverture/d'enregistrement de fichiers. Par conséquent, tous les dossiers qui ont été précédemment ouverts via une boîte de dialogue de fichier resteront inchangés lorsqu'ils seront affichés via une boîte de dialogue de fichier (c'est-à-dire que le regroupement restera activé).
    • Doit être appliqué pour chaque TYPE de dossier. En règle générale, seul le type de dossier Téléchargements est défini pour être regroupé par date, mais si vous avez d'autres types de dossiers également regroupés, la procédure devra également être répétée pour ceux-là.
    • Peut ne pas fonctionner si vous avez atteint le maximum de 5 000 vues enregistrées ou si les clés de registre contenant les vues enregistrées sont corrompues.
    • Peut ne pas tenir à long terme. Plus précisément, il a été signalé à plusieurs reprises que les mises à jour Windows entraînaient le retour du regroupement.

    Les étapes « Appliquer aux dossiers » :

    1. Ouvrez n'importe quel dossier pour lequel le regroupement est activé et qui n'est pas un dossier "bibliothèque".
    2. Rendez la fenêtre suffisamment large pour voir toutes les options.
    3. Si vous utilisez Windows 10, cliquez sur l' onglet Affichage .
    4. Sélectionnez (Aucun) dans le menu Regrouper par (sous Windows 11, Regrouper par se trouve dans le menu Trier ).
    5. Sélectionnez Options , Modifier le dossier et les options de recherche (sous Windows 11, sélectionnez , Options ).
    6. Cliquez sur l' onglet Affichage .
    7. Cliquez sur le bouton Appliquer aux dossiers , puis sur Oui .

    Questions et réponses :

    Pourquoi ne puis-je pas simplement définir et/ou effacer manuellement les mêmes paramètres de registre ?

    Vous pouvez, mais bonne chance. Ce n'est pas un simple interrupteur marche/arrêt. Les options de regroupement font partie de la vue enregistrée pour n'importe quel dossier donné dans les clés BagMRU/Bags, les valeurs par défaut intermédiaires proviennent de la clé Streams\Defaults et les valeurs par défaut de base proviennent de la clé FolderTypes. En d'autres termes, c'est compliqué. Cela fonctionne de la même manière depuis la sortie de Windows 7 en 2009. S'il s'agissait d'un simple commutateur, il serait bien connu, facile à appliquer, et ce fil très long n'existerait pas.

    Que puis-je faire si je ne suis pas autorisé à utiliser des outils tiers sur nos ordinateurs ?

    Tout d’abord, comprenez que WinSetView n’est pas « installé ». L'EXE est simplement une interface graphique qui crée un fichier INI (fichier texte) contenant vos préférences. Le fichier INI est transmis à un script PowerShell qui définit/efface les valeurs de registre appropriées. Mais si vous ne pouvez pas/ne voulez pas l'utiliser, veuillez considérer les options répertoriées ci-dessous.

    IMPORTANT : les options ci-dessous sont destinées aux utilisateurs techniques (généralement les administrateurs système et les ingénieurs de bureau).

    Option 1:

    • Utilisez une VM pour exécuter WinSetView.
    • Copiez le fichier INI mis à jour (c'est-à-dire Win10.ini).
    • Utilisez ensuite le script PowerShell via la ligne de commande (comme détaillé dans le manuel) pour appliquer les paramètres de ce fichier INI au profil de chaque utilisateur. Si vous comprenez PowerShell, vous pouvez parcourir chaque ligne du script et voir exactement ce qu'il fait. Autrement dit, vous pouvez vous approprier ce script et vous l’approprier. Pour un pro, ce n'est pas grave.

    Option 2:

    • Utilisez une VM pour exécuter WinSetView.
    • Capturez les résultats dans un fichier REG (voir le manuel pour plus de détails).
    • Appliquez ce fichier REG à tous les nouveaux profils utilisateur.
    • Pour les profils utilisateur existants, vous devrez également effacer les vues enregistrées de l'utilisateur en supprimant les clés de registre BagMRU et Bags, puis redémarrer l'Explorateur.

    Option 3 :

    • Dans cette clé de registre :

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

    Modifiez les données de la valeur GroupBy de "System.DateModified" à "" . Remarque : La clé ci-dessus est protégée . Vous devrez soit modifier ses autorisations (non recommandé), soit y accéder à l'aide d'un outil qui fournit un accès TrustedInstaller , tel que AdvancedRun , soit configurer la modification via une tâche planifiée qui s'exécute en tant que TrustedInstaller. Si vous ne savez pas ce que vous faites, n'essayez pas.

    • Pour les profils utilisateur existants, vous devrez également effacer les vues enregistrées de l'utilisateur en supprimant les clés de registre BagMRU et Bags, puis redémarrer l'Explorateur.

    Option 4 :

    • Exécutez le script PowerShell suivant pour chaque utilisateur (veuillez consulter les commentaires) :

      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 Stop-Process -Force -ErrorAction SilentlyContinue -ProcessName Explorer

    Commentaires à Microsoft

    J'ai créé un élément du Hub de commentaires demandant à Microsoft d'effectuer une simple modification du registre afin que la valeur par défaut pour les téléchargements ne soit PAS regroupée.

    Veuillez voter positivement pour ce commentaire si vous disposez d'un compte Windows classique :

    https://aka.ms/AAn07ax

    Veuillez voter positivement pour ce commentaire si vous avez un compte Insider : https://aka.ms/AAn004e

    solution Appliquer aux dossiers c'est super, elle etait avans dans windows direct, mais la il faut chercher un peu ma ca marche super bien. Merci

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-10-18T23:44:23+00:00

    I can't understand how to make the above work... I can figure out how to get rid of the 'sort by week/month' back to None when it's a folder this is happening to. But I cannot figure out how to make this stop in Print to PDF Dialog box. Please Help. This is really making navigation with one particular folder I save to on a regular basis incredibly difficult!

    Was this answer helpful?

    0 comments No comments
  4. Les Ferch 10,361 Reputation points Volunteer Moderator
    2023-10-19T00:09:21+00:00

    I can figure out how to get rid of the 'sort by week/month' back to None when it's a folder this is happening to. But I cannot figure out how to make this stop in Print to PDF Dialog box.

    If you are using WinSetView to set the default views, then it should reset all file dialog views as well. One thing that can prevent that from happening, as noted in the documentation, is having applications open while trying to reset the views. Make sure you close all windows, including your browser, when running WinSetView. Another possibility is if the dialog belongs to a Microsoft Store app and your machine has a restriction set that causes PowerShell to run in constrained mode.

    Within what application are you trying to get the Print to PDF Dialog box view reset? Please paste a screenshot in your reply.

    Also note that in any dialog, you can manually set the view, including setting the Group by selection, by right-clicking in the white space of the dialog.

    Was this answer helpful?

    0 comments No comments