Home » Change Template of a Drive, Folder, or Library in Windows 10

Change Template of a Drive, Folder, or Library in Windows 10

If you want to change the template of a drive, folder, or library in Windows 10 then you’re at the right place today we are going to learn how to do that. In Windows, there are 5 inbuilt templates, namely General Items, Documents, Pictures, Music, or Videos, that you can select to optimize your drives’ view. Typically Windows automatically recognize the content of the folder and then assign the proper template to that folder. For example, if a folder contains a text file, it will be assigned the documents template.

Change Template of a Drive, Folder, or Library in Windows 10

If there are a mix of text, audio, or video files, then the folder will be assigned the General Items template. You could manually assign a different template to a folder or customize any of the above templates assigned to a folder. Now without wasting any time, let’s see how to Change Template of a Drive, Folder, or Library in Windows 10 with the help of the below-listed guide.

Change Template of a Drive, Folder, or Library in Windows 10

Make sure to create a restore point just in case something goes wrong.

Method 1: Change Template of a Drive or Folder

1. Press Windows Key + E to open File Explorer and then right-click on the Folder or Drive for which you want to change the template and select Properties.

properties for check disk | Change Template of a Drive, Folder, or Library in Windows 10

2. Switch to Customize tab and Optimize this folder for drop-down select the template you want to choose.

Switch to Customize tab & from the Optimize this folder for drop-down select the template which you want to choose

Note: If you want to apply the selected template to all of its sub-folder then checkmark the box which says “Also apply this template to all subfolders.

3. Click Apply, followed by OK.

4. Reboot your PC to save changes.

Method 2: Change Template of a Library

1. Open the File Explorer then select the library for which you want to choose a template.

2. Now from the File Explorer menu click on Manage and then from the “Optimize library for” drop-down select the desired template.

Now from the File Explorer menu click on Manage and then from the Optimize library for drop-down select the desired template

3. Reboot your PC to save changes.

Method 3: Reset Folder View Settings of All Folders to Default

1. Open Notepad and copy & paste the text as it is:

@echo off

:: To reset folder view settings of all folders
Reg Delete "HKCU\SOFTWARE\Microsoft\Windows\Shell\BagMRU" /F
Reg Delete "HKCU\SOFTWARE\Microsoft\Windows\Shell\Bags" /F

Reg Delete "HKCU\SOFTWARE\Microsoft\Windows\ShellNoRoam\Bags" /F
Reg Delete "HKCU\SOFTWARE\Microsoft\Windows\ShellNoRoam\BagMRU" /F

Reg Delete "HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU" /F
Reg Delete "HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags" /F

Reg Delete "HKCU\SOFTWARE\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\Bags" /F
Reg Delete "HKCU\SOFTWARE\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\BagMRU" /F

:: To reset "Apply to Folders" views to default
REG Delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults" /F

:: To reset size of details, navigation, preview panes to default
Reg Delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer" /F

:: To kill and restart explorer
taskkill /f /im explorer.exe
start explorer.exe

2. From the Notepad menu click on File then select Save As.

From Notepad menu click on File then select Save As | Change Template of a Drive, Folder, or Library in Windows 10

3. Now from the Save as type drop-down select All Files.

4. Name the file as reset_view.bat (.bat extension is very important).

5. Navigate to where you want to save the file and click Save.

Name the file as reset_view.bat then click Save

6. Right-click on the file (reset_view.bat) and select Run as Administrator.

7. Restart your PC to save changes.

Recommended:

That’s it you have successfully learned How to Change Template of a Drive, Folder, or Library in Windows 10 but if you still have any queries regarding this post then feel free to ask them in the comment’s section.

nv-author-image

Aditya Farrad

Aditya is a self-motivated information technology professional and has been a technology writer for the last 7 years. He covers Internet services, mobile, Windows, software, and How-to guides.

Leave a Reply

Your email address will not be published. Required fields are marked *