new1234.jpg
Home > Microsoft > Windows: Howto set default folder view for all folders

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}
  1. Lennard
    February 8th, 2010  (Quote) at 13:55  (Quote) | #1

    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}

  2. February 8th, 2010  (Quote) at 16:21  (Quote) | #2

    I updated the post thnx lennard

  3. Lennard
    February 26th, 2010  (Quote) at 14:11  (Quote) | #3

    After correcting the code, I still spent some time in getting the code to work. Unfortunately it doesn’t.
    Any new suggestions?

  4. Lennard
    March 2nd, 2010  (Quote) at 10:56  (Quote) | #4

    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.

  5. Crimson
    May 16th, 2011  (Quote) at 15:44  (Quote) | #5

    You just made my life so much easier. Thank you!

  6. ndaian
    October 12th, 2011  (Quote) at 01:49  (Quote) | #6

    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

  1. No trackbacks yet.