Windows Vista · How-To
HOW-TO: Reset Windows Explorer's View Settings
This is the original archived post. For the current, step-by-step way on today's Windows, see our up-to-date guide: How to Reset File Explorer Folder Views in Windows 11.
Consider this scenario. You have customized your "Documents" folder the way you like it with icon sizes and grouping settings. However, after you have applied these customizations and you re-open the "Documents" folder, you may see that the customizations are improperly applied, have been lost, or the folder has defaulted to a different view (for instance, the Pictures view, where all files are now displayed as large icons and thumbnails). Also, if you open the root directory of a hard drive, you may notice that columns such as "Date Taken" and "Rating" are displayed for example, when they should not be displayed. You have tried navigating to the Control Panel and opening Folder Options and clicking "Reset Folders", however this does not resolve the issue.
Another scenario to consider: You have selected the "Extra Large Icons" option for a folder full of pictures. However, when you browse to that folder at a later date, you may notice that the pictures are now displayed in "Detail" view, and you must manually change the folder view to your desired settings.
There are three methods in which this task can be completed: Automatic (which is the easiest), semi-manual, or manual.
This article applies to:
- Microsoft Windows Vista Home Basic, 32-bit
- Microsoft Windows Vista Home Premium, 32-bit
- Microsoft Windows Vista Business, 32-bit
- Microsoft Windows Vista Ultimate, 32-bit
- Microsoft Windows Vista Enterprise, 32-bit
- Microsoft Windows Vista Home Basic, 64-bit
- Microsoft Windows Vista Home Premium, 64-bit
- Microsoft Windows Vista Business, 64-bit
- Microsoft Windows Vista Ultimate, 64-bit
- Microsoft Windows Vista Enterprise, 64-bit
The automatic method
- Download the command script that I have created and extract the file to your Desktop. Once you have
extracted the file, simply double click on "resetviews.cmd" and read the precautions in the command prompt
window that appears. Editor's note: that link is not part of the restored archive.
This file has been scanned for viruses and does not perform any malicious tasks, it simply automates the task required to reset the Windows Explorer view settings.
The semi-manual method
- Click on Start, and in the Start Search field copy and paste the following command that is in bold text:
REG DELETE "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags" /f - Press the Enter key and the command will be executed
- Click on Start, press the arrow next to the power buttons, and select Log Off from the menu that appears.
- Log back in.
The manual method
- Click on Start, and in the Start Search field type "REGEDIT", and then press Enter.
- If User Account Control prompts you, provide consent by clicking on Continue or entering a password.
- In the left hand pane, navigate to
HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell - Right click on the "Bags" sub-key and click on Delete. When asked to confirm the operation click on Yes.
- Close the Registry Editor.
- Click on Start, press the arrow next to the power buttons, and select Log Off from the menu that appears.
- Log back in.
Hope these instructions prove to be helpful, if you know anyone who has been affected by this please feel free to pass them a link to this article.
The Bags and BagMRU keys that store per-folder view settings still exist in
Windows 10 and Windows 11, so the core idea in this 2008 guide — deleting the Bags sub-key
under HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell and signing out
to clear Explorer's cached folder views — still works today. On modern Windows you can also set one folder
the way you like it and use View → Options → Change folder and search options → View → Apply to
Folders to push that layout to every folder of the same type. We have preserved the original 2008
method above unchanged for accuracy.
Frequently asked
Why do my customized folder view settings keep getting lost or changed?
After you customize a folder in Windows Vista, re-opening it may show that the customizations are improperly applied, have been lost, or that the folder has defaulted to a different view — for instance the Pictures view, where all files are displayed as large icons and thumbnails. Opening the root directory of a hard drive may also show columns such as Date Taken and Rating when they should not be displayed. Clicking Reset Folders in Folder Options does not resolve the issue.
How do I reset Windows Explorer's view settings in Windows Vista?
Delete the Bags sub-key under HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell, then log off and log back in. You can run the command REG DELETE "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags" /f from the Start Search field, or delete the Bags sub-key manually in the Registry Editor.