Reset Folder View For All Folders in Windows 10

All Windows versions allow you to customize a specific folder's view to make it more suitable for the content in that folder. View changes are remembered by File Explorer/Windows Explorer or, all folders can be set globally to the same view via Folder Options. Sometimes, folder views get messed up in which case you might want to reset those customizations to clear out all the changes you made. In this article, we will see how to reset the folder view using Registry Editor for all folders at once in Windows 10.
Default Thumbnail Previews In File Explorer In Windows 10

When you change the view of a folder, File Explorer remembers your preferences and the changes you made.

👉 Tip: You can change the number of folder views to remember in Windows 10.

These include sorting, grouping, and the selected view mode. If some day you decide to revert everything to defaults and get the folder view as it was originally in File Explorer, you can apply a Registry tweak.

Reset the folder view for all folders in Windows 10

Step 1: Open Registry editor.

Step 2: Go to the following Registry key:

HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell

Tip: How to jump to the desired Registry key with one click.

Step 3: Right-click the Bags subkey under Shell and select Delete in the context menu.

Step 4: Now, delete the subkey named BagMRU.

Step 5: Restart Explorer.

You are done! All folders in File Explorer will get their default view.

There is a way to save your time and avoid Registry editing. You can create a special batch file to reset the folder view with just one click. As a bonus, we will make the batch file export the current value of the Bags and BagsMRU keys, so you will be able to restore the folder view any time.

Reset the folder view with a batch file

  1. Open Notepad.
  2. Copy and paste the following text to a new document:
    @echo off
    echo This batch file will reset folder view settings for all folders and restart Explorer automatically. 
    echo Folder view settings will be backed up to the Desktop before being deleted.
    set /p "answer=Press [y] to continue"
    IF /I NOT %answer%==y IF /I NOT %answer%==Y GOTO cancel
    set BAGS="HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags"
    set BAGMRU="HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU"
    set FILENAME="%date:~10,4%-%date:~4,2%-%date:~7,2%-%time::=_%.reg"	
    rem Backup of current views 
    reg export %BAGS% "%userprofile%\Desktop\bags-%FILENAME%"
    reg export %BAGMRU% "%userprofile%\Desktop\bagmru-%FILENAME%"
    timeout /t 2 /nobreak > NUL
    reg delete %BAGS% /f
    reg delete %BAGMRU% /f
    taskkill /im explorer.exe /f
    timeout /t 2 /nobreak > NUL
    start "" explorer.exe
    echo Done
    goto end
    echo The operation was canceled by the user
  3. Save the document as a *.cmd file. Alternatively, you can download it here:

Download the batch file

Unpack it and double-click the file. You will be prompted to confirm the folder view reset operation. Type "y" on your keyboard and you are done.

The batch file will create a backup of your current view preferences in a reg file on your Desktop for the Bags and BagMRU keys. The file names are bags-currentdate-currenttime.reg and bagmru-currentdate-currenttime.reg. To restore the previous folder view options, double-click on the files and confirm the Registry merge operation.

This method also works in Windows 8 and Windows 7.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

5 thoughts on “Reset Folder View For All Folders in Windows 10”

  1. Is there a way to globally change ALL views to one type? I wish to change all views to details, but it seems no matter what I do, I sometimes get an icon view even when I’ve changed the view for that folder type.

      1. I have the same desire as hurricane51 — to see all files in the “details” view, all the time. I checked on the link you provided to change all the templates, and the work required is rather onerous! Especially when you consider that on the next forced Windows Update, all that work will probably be destroyed. This would be a great addition to Winaero Tweaker (to be able to handle the folder view templates more easily). I know third-party file explorers can take care of this, but your posts are very helpful to understand the capabilities, and work-arounds, of the built-in Windows components.

  2. Can you add this(“Reset Folder View For All Folders in Windows 10” and “Change folder view template for all folders in Windows 10” To Winaero Tweaker?

Leave a Reply

Your email address will not be published.

Exit mobile version
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.