Fix: How to Stop File Explorer sorting by Week and Month
The File Explorer of your system may show the sorting by week and month if the folder options (Group by or Customization option) are not configured properly. Moreover, the wrong configuration of the system’s registry may also cause the issue at hand.
The issue arises when a folder (e.g., the Downloads folder) of the user’s PC shows sorting by week and month; the issue is reported to mainly occur after a Windows update. Whenever a user changes the setting, upon relaunching the folder, the folder reverts to the older view.
Before moving on with the solutions to stop Explorer from soring, make sure to scan your system with an antimalware tool to rule out any malware infection of the system. Also, check if your system’s Windows is updated to the latest build.
Solution 1: Change the ‘Group by’ Option to None
To stop File Explorer (mainly the Downloads folder) from grouping its contents like Week and Month-wise, you may have to set the’ Group by’ option to none.
- Launch the File Explorer and navigate to the problematic (or one of the problematic folders) folder like Downloads.
- Now steer to the View tab and then click on Group by.
- Then, in the menu shown, select None (you can achieve the same by right-clicking in the blank area of the folder, then hoover over on the Group by and choose None) and check if the sorting issue is resolved.
- If the issue returns after a folder or system relaunch, then change the Group by to None (as discussed above) and click on Options which is present in the View menu of the folder.
- Now select ‘Change Folder and Search Options’ and steer to the View tab.
- Then click on the Apply to Folders button and check if the sorting is working as per your requirement.
If the issue occurs in a Save as dialog box (for example when saving a download in a browser) of an application, then right-click in the Save as dialog box and choose Group By>>None.
Solution 2: Change the Customize Options of the Folder
You may clear the glitch (causing the sorting issue) by changing the customize options of the problematic folder. For illustration, we will discuss the process for the Downloads folder.
- Launch the File Explorer and in the left pane, right-click on the Downloads folder.
- Now select Properties and then steer to the Customize tab.
- Then expand the option of ‘Optimize This Folder for’ and select another option that is already not selected (e.g., if it is already set to General Items, then set it to Pictures).
- Now click on the Apply/OK and check if the sorting is working as per your liking. If so, then change the Customization back to General Items and check if the sorting is as per your requirement.
- If the issue persists, make sure no folder is open on the system.
- Then press the Windows key and in the Windows Search, type File Explorer Options. Now select File Explorer Options.
- Now, click on the Clear button located in front of Clear File Explorer History (in the Privacy section) and then click on Apply/OK.
- Then open a folder and change its View to Small Icons.
- Now right-click in the empty area of the folder and select Sort By >> Name.
- Then open the File Explorer Options (step 5) and steer to the View tab.
- Now double-click on any of the options (to tick/untick) to activate the Apply button.
- Then click on the Apply button and click on Apply to Folders (which should activate now).
- Now click on the OK button and reboot your PC.
- Upon reboot, check if the sorting is working fine.
Solution 3: Use the Registry Editor
You may fail to change the sorting (or permanently store the change) if the total saved views that your system can store is maxed out. In this case, editing the relevant registry entries may solve the problem. Before moving on, make sure to create a backup of your system’s registry.
Warning: Advance at your own risk as editing the system’s registry requires a certain level of proficiency and if not done properly, you may cause undying damage to your system/data.
Delete the Bags Key
- Make sure there is no folder opened on the system.
- Then hit the Windows key and in the search, type Regedit. Then right-click on Registry Editor and choose Run as Administrator.
- Now navigate to the following path:
Computer\HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU
- Now, in the left pane, delete all the sub-keys of BagMRU and then navigate to the following path:
Computer\HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags
- Then, in the left pane, delete the sub-keys of Bags and reboot your PC.
- Upon reboot, check if the sorting is working fine (you may try solution 2).
Delete the Downloads Folder Keys
- Navigate to the following path:
Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams
- Now, in the left pane, open Defaults and then, in the right pane, delete the following entry (if present):
{885A186E-A440-4ADA-812B-DB871B942259}
- Now reboot your PC and upon reboot, check if the sorting is working fine.
- If not, then check if creating a registry file in the Notepad (having the extension of .reg) having the following contents and then double-click it to add it to the registry:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}] "ColumnList"="prop:0(34)System.ItemNameDisplay;0System.DateModified;0System.ItemTypeText;0System.Size;1System.DateCreated;1System.Author;1System.Category;1System.Keywords;1System.Title" "LogicalViewMode"=dword:00000001 "Name"="NoName" "Order"=dword:00000000 "SortByList"="prop:System.ItemNameDisplay"
- Now reboot your PC and check if the sorting problem is solved.
Delete Group View Keys
- Navigate to the following path:
Computer\HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags
- Now search (use the Edit menu and use Find to perform the search) for GroupView and set all the GroupView entries value to 0 which are already not set to 0 (a tedious task for some of the users). For example:
Computer\HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\1\Shell\{885A186E-A440-4ADA-812B-DB871B942259}\GroupView=0
- Now reboot your PC and upon reboot, check if the system is clear of the sorting issue.
Rename SortByList Key
- Navigate to the following path:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}
- Then open TopViews and select the folder in it (named with lots of zeros).
- Now, in the right pane, change the SortByList to ‘prop:System.ItemNameDisplay‘ (you may have to take ownership of the key).
If the issue is still there, then you can try the different PowerShell commands to solve the issue at hand. Right-click on the Windows button and in the Quick Access menu, choose PowerShell (Admin).
Then you may try the following commands (one by one) and check if the sorting issue is resolved.
Use PowerShell to Delete the Bags and Saved Views Keys
- Execute the following command in the PowerShell window:
'BagMRU', 'Bags' | %{ri "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\$_" } gps explorer | spps
- Now repeat solution 1 (but make sure to press the Apply to Folders button) and then execute the following in the PowerShell window:
$Bags = 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags' $DLID = '{885A186E-A440-4ADA-812B-DB871B942259}' gci $bags -recurse | ?{$_.GetSubkeyNames() -contains $DLID} | remove-item -Path { join-path $_.PSPath $DLID } gps explorer | spps
- Now reboot your PC and upon reboot, check if the sorting is working fine.
- If the issue is still there, then execute the following (but make sure to reboot the PC afterward):
gci 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags' -recurse | ?{$_.GetValueNames() -contains 'GroupView'} | ?{$_.GetValue('GroupView') -ne 0} | %{ $splat = @{ 'Path' = $_.PSPath 'Name' = 'GroupView' 'Value' = 0 } Set-ItemProperty @splat $splat.Name = 'GroupByKey:PID' $splat.Value = 0 Set-ItemProperty @splat $splat.Name = 'GroupByKey:FMTID' $splat.Value = '{00000000-0000-0000-0000-000000000000}' Set-ItemProperty @splat } gps explorer | spps
Use PowerShell to Delete Downloads Folder Key
If you are having the sorting issue with the Downloads folder, then you may try the following in the PowerShell (Admin) window:
$Bags = 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags' $DLID = '{885A186E-A440-4ADA-812B-DB871B942259}' gci $bags -recurse | ?{$_.GetSubkeyNames() -contains $DLID} | remove-item -Path { join-path $_.PSPath $DLID }
Solution 4: Create a New User Profile
The File Explorer may show week and months sorting if the user profile is corrupt. In this context, creating a new user profile and using that account may let you sort the problematic folder as per your requirements.
- Create a new user profile on your system.
- Now log out of the current user account and log-in using the new account.
- Now launch the File Explorer and steer to the problematic folder (e.g., the Downloads folder).
- If the folder is using the week and month sorting, then repeat solution 2 (make sure to click on the Apply to Folders button) to remove the sorting to check if the sorting is working fine.
If the issue persists, then you may use a 3rd party utility (for example Desktop INI Fix) to manage the File Explorer sorting but make sure to create a system’s Restore Point.