It looks like the way to set a custom template for .zip
folders is via an AllFolders
regtistry entry. These can be per-user modifications if created under:
HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell\{80213e82-bcfd-4c4f-8817-bb27601267a9}
or machine-wide if created under:
HKLM\SOFTWARE\Microsoft\Windows\Shell\bags\AllFolders\Shell\{80213e82-bcfd-4c4f-8817-bb27601267a9}
Because the view property bags are strored with binary data specifying Columns, sort, etc., it's best to copy an existing saved view that has been set to the preferred defaults. Locating the bag you want to copy is the only tricky part. You'll be looking for an entry With the registry path:
HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\<Bag#>\Shell\{80213e82-bcfd-4c4f-8817-bb27601267a9}
Warning:
For a .zip
folder to use its dedicated FolderType
({80213e82-bcfd-4c4f-8817-bb27601267a9}
), it must be created/opened in a folder that does not have Inheritance set for itself or any ancestor.
ProcMon is one way to determine what bag is being writeen to when an Explorer window is closed (that is when any view modifications are saved). Another way is to:
- determine the highest numbered bag currently in use.
- Open Explorer, create a new
.zip
folder, set its view to your liking, close the Explorer window.
- The view you just created should now be saved with the name:
...\Bags\<MaxBag# + 1>\Shell\{80213e82-bcfd-4c4f-8817-bb27601267a9}
<MaxBag# + 1>
Once you've located the bag you want to copy you simply have to:
Export the registry key:
HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\<Bag#>\Shell\{80213e82-bcfd-4c4f-8817-bb27601267a9}
Open the .reg
file and edit the key path:
- For a per-user mod, simply replace the bag number with the string
AllFolders
- For a machine-wide mod, in addition to replacing the bag#, replace:
HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software
- with:
HKEY_LOCAL_MACHINE\SOFTWARE
Windows Registry Editor Version 5.00
; Copied From:
; [HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell\{80213E82-BCFD-4C4F-8817-BB27601267A9}]
; Per-user path
[HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell\{80213E82-BCFD-4C4F-8817-BB27601267A9}]
; Machine-wide path would be:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell\{80213E82-BCFD-4C4F-8817-BB27601267A9}]
Save and then merge the modified .reg
file
Verify you've created a registry entry similar to the following (don't forget to refresh the view in RegEdit if already opened):
Sign out and back in (per-user) or restart (machine-wide) for changes to take effect.