Windows: Howto set default folder view for all folders
I stumbled upon this reg key a few weeks ago. If you want to change the default folder view for all users on the local machine use HKEY_LOCAL_MACHINE. If you want to change it for a single user then use HKEY_CURRENT_USER.
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BagMRU]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\AllFolders\Shell]
“WFlags”=dword:00000000
“Status”=dword:00000000
“Mode”=dword:00000004
“vid”=”{137E7700-3573-11CF-AE69-08002B2E1262}”
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
“WFlags”=dword:00000000
“Status”=dword:00000000
“Mode”=dword:00000004
“vid”=”{137E7700-3573-11CF-AE69-08002B2E1262}”
Here are all of the possible “mode” and “vid” values that can be set:
Name | Mode | VID |
Icons | 1 | {0057D0E0-3573-11CF-AE69-08002B2E1262} |
List | 3 | {0E1FA5E0-3573-11CF-AE69-08002B2E1262} |
Details | 4 | {137E7700-3573-11CF-AE69-08002B2E1262} |
Thumbnail | 5 | {8BEBB290-52D0-11D0-B7F4-00C04FD706EC} |
Tiles | 6 | {65F125E5-7BE1-4810-BA9D-D271C8432CE3} |
Filmstrip | 7 | {8EEFA624-D1E9-445B-94B7-74FBCE2EA11A} |
After playing with above code, and not being able to get the correct result, I’ve noticed an error in de code.
The correct VID for Mode 4 is: {137E7700-3573-11CF-AE69-08002B2E1262}
I updated the post thnx lennard
After correcting the code, I still spent some time in getting the code to work. Unfortunately it doesn’t.
Any new suggestions?
I’ve detected the problem. The post is using a different character for the quotes.
“ and ” instead of ” .
After changing the character in the regfile, it worked.
You just made my life so much easier. Thank you!
This registry script does not work for me. It is executed and the keys are created/deleted but the folder view won’t change.
Do i need to do anything else