For instance, if you have a folder where you saved only videos, you can set the folder to show thumbnails of the videos instead of a list or file details. You can also customize each folder to display medium, large, or extra-large icons. After making these changes, you may want to back them up in order to restore the folder view settings if they get reset. This guide shows you how to back up and restore your folder view settings by using a batch file.

Back up and restore Folder View settings in Windows 11/10

Follow the steps below to back up and restore your Folder View settings in Windows 11/10. Without further ado, we’ll now jump right into the detailed steps involved in carrying out the above operations.

1] Create the backup-and-restore batch file

Click on the Start button and search for Notepad. Select the Notepad app from the search results to launch it. Enter the following text in the new Notepad file: You can copy and paste the above text into the note. Next, press CTRL + S and save the file on your desktop with the .bat extension. Do this by adding .bat at the end of the filename before hitting the Save button.

Files saved in the .bat extension are batch files and when done correctly, they’ll let you run commands on your Windows system. Learn more about batch files and explore these cool tricks.

2] Unblock the .bat file

After successfully saving the newly created file as a .bat file, Windows may block it. To run this file, you’ll need to unblock it first. To do this, right-click on the file and select Properties from the context menu. Switch to the General tab of the Properties window and find the Unblock checkbox towards the bottom of the window. Check this box and hit the OK button to unblock the batch file. NOTE: If the Unblock checkbox is missing in your setup, it means that Windows didn’t block the file and you can move to the next step.

3] Run the .bat file

After unblocking the .bat file, you’re good to go. You can run .bat file by double-clicking on it. Running the batch file opens a Command Prompt window that shows you the following options:

Back up your folder view settings.Restore folder view settings from backup.Cancel.

To back up your folder view settings, press 1 and hit the ENTER key. If you wish to restore your folder view settings, press 2 and press ENTER. Alternatively, press 3 to cancel the operation. Hope this helps.