It will work from the templates created via 'Apply to Folders', but 'Apply
to Folders' works on a per-type basis in Vista. The templates are found
under:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Streams\Defaults]
with REG_BINARY values for the various types of folders. Here are some of
the values:
{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7} All Items (NotSpecified)
{7D49D726-3C21-4F05-99AA-FDC2C9474656} Documents
{B3690E58-E961-423B-B687-386EBFD83239} Pictures & Videos
{AF9C03D6-7DB9-4A15-9464-13BF9FB69A2A} Music Details
{0B7467FB-84BA-4AAE-A09B-15B71097AF9E} Music Icons
{DE2B70EC-9BF7-4A93-BD3D-243F7881D492} Contacts
{0C3794F3-B545-43AA-A329-C37430C58D2A} Control Panel Classic
{57807898-8C4F-4462-BB63-71042380B109} Control Panel
Home/Desktop/Printers/UserFolder on Desktop/
All the view settings are crammed into the binary value. If you examine one
of the binary values via the Edit Binary Value dialog, near the end you will
see:
F.F.l.a.g.s.
in the ASCII column. 7 bytes beyond, you will see the bytes of FFlags low
byte to high byte 01 00 08 40 (with flag set)
Here is a script that will set the flag for all saved templates & saved
views:
http://home.mchsi.com/~k.miller79/Sc...NUMREFRESH.zip
If you want to use AllFolders, you can, But you need to construct the entry
as follows:
---------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\Local
Settings\Software\Microsoft\Windows\Shell\Bags\All Folders]
[HKEY_CURRENT_USER\Software\Classes\Local
Settings\Software\Microsoft\Windows\Shell\Bags\All Folders\Shell]
"FolderType"="NotSpecified"
[HKEY_CURRENT_USER\Software\Classes\Local
Settings\Software\Microsoft\Windows\Shell\Bags\All Folders\Shell\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}]
"Mode"=dword:00000004
"FFlags"=dword:40080001
---------------------------------------------------
This just shows the entry for All Items, you would need similar subkeys of
the Shell key with the appropriate CLSID to control the other templates. If
the 'Mode' value is not present, Explorer doesn't look for FFlags. Values
for Mode are as follows:
Mode LogicalViewMode IconSize Vid Description
2 3 10 {089000C0-3573-11CF-AE69-08002B2E1262} Small Icons
3 3 10 {0E1FA5E0-3573-11CF-AE69-08002B2E1262} List
4 1 10 {137E7700-3573-11CF-AE69-08002B2E1262} Details
5 3 30/60/100 {8BEBB290-52D0-11D0-B7F4-00C04FD706EC} Medium/Large/X-Large
Icons
6 2 30 {65F125E5-7BE1-4810-BA9D-D271C8432CE3} Tiles
Have fun!
--
Good Luck,
Keith
Microsoft MVP [Windows Shell/User]
"9al3a" <9al3a.36e8l0@no-mx.forums.net> wrote in message
news:9al3a.36e8l0@no-mx.forums.net...
>
> like many people, i didn't like the auto arrange by "list view" in vista
> explorer
>
> but fortunately i can turn it off by "FFlags" with "00080000" value
> (thanks to Keith Miller)
>
> but i can't make it defaults for newly created folders, i tried the
> "apply to folders" but with no luck
>
> also i tried the "AllFolders" under "bags" with FFlags set to 00080000
> and failed again.
>
> so any tips??
>
>
> --
> 9al3a