"List View" to default in XP Explorer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I know this is easily solved on a per user basis, by changing the setting
and then hitting "Apply to All Folders".

However, the user accounts on our machines (200+) are dynamic, therefore any
changes like this that are made do not save when they logout and log back in.

I know there are *alot* of people who will use the image (and myself) where
this would make alot of difference.

Where can the default view's be set (registry path?) per machine, or by
default programatically.

Cheers
Paul
 
There is a registry key that will do what you want, but it doesn't exist by default, you would need
to create it. It is:

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell"

It contains the same values that are found in numerous keys under:

"HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\<bag number>\Shell"

So the easiest way to create your template is the following:

1. Open regedit & navigate to:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags"

2. Save the "...\Bags" key by exporting it; then delete it.

3. Open a normal document folder that is on the desktop or via shortcut (so you don't have to browse
to it)

4. Set all view settings to your liking (icon style, status bar, etc); then close the folder.

5. Refresh your view in regedit & you should see that the 'Bags' key has been recreated & has one
numbered subkey which has a subkey named 'Shell'

6. Right-click the subkey & export.

7. Open the .reg file for editing & change:

"[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\<bag number>\Shell]"

to:

"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell]"

You may also want to delete certain values that you don't want applied to all folders:

'FolderType' -- deleting this will allow Music & Picture folders to display their special tasks.

'ColInfo' -- deleting this will allow Music & Picture folders to show extra columns in detail view.

8. Save the .reg file and then merge it to create the new key.

9. Import the saved 'Bags' .reg file to restore your saved views. ( you can delay this to examine
the effects of your new template)

You should note that this key will only be read if a folder does not already have a saved view under
'HKCU\...\ShellNoRoam', but that shouldn't be an issue if you are merging this reg file into a fresh
install to be used as an image.
 
Hi Keith

Thanks for the tip, it sounded very hopeful but it still hasnt seemed to work.

The process I followed was, as directed to export and delete the
"HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags" key

In an already active Explorer session, clicked C:, set the view as List View
Tools > View Options.. Apply this Setting to all Folders OK

Exported the key, edited and imported the resultant
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"Mode"=dword:00000003
"ScrollPos1024x768(1).x"=dword:00000000
"ScrollPos1024x768(1).y"=dword:00000000
"Sort"=dword:00000000
"SortDir"=dword:00000001
"Col"=dword:ffffffff
"ColInfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,0f,\
00,04,00,20,00,10,00,28,00,3c,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,\
00,00,b4,00,60,00,78,00,78,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,\
00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"FolderType"="Documents"

Logged off and re logged in with another user account (all dynamic).
However on opening Explorer and navigating to C: or elsewhere this hasnt come
through.

Can you advise any futher?

Greatly appreciated
Paul

Keith Miller said:
There is a registry key that will do what you want, but it doesn't exist by default, you would need
to create it. It is:

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell"

It contains the same values that are found in numerous keys under:

"HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\<bag number>\Shell"

So the easiest way to create your template is the following:

1. Open regedit & navigate to:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags"

2. Save the "...\Bags" key by exporting it; then delete it.

3. Open a normal document folder that is on the desktop or via shortcut (so you don't have to browse
to it)

4. Set all view settings to your liking (icon style, status bar, etc); then close the folder.

5. Refresh your view in regedit & you should see that the 'Bags' key has been recreated & has one
numbered subkey which has a subkey named 'Shell'

6. Right-click the subkey & export.

7. Open the .reg file for editing & change:

"[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\<bag number>\Shell]"

to:

"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell]"

You may also want to delete certain values that you don't want applied to all folders:

'FolderType' -- deleting this will allow Music & Picture folders to display their special tasks.

'ColInfo' -- deleting this will allow Music & Picture folders to show extra columns in detail view.

8. Save the .reg file and then merge it to create the new key.

9. Import the saved 'Bags' .reg file to restore your saved views. ( you can delay this to examine
the effects of your new template)

You should note that this key will only be read if a folder does not already have a saved view under
'HKCU\...\ShellNoRoam', but that shouldn't be an issue if you are merging this reg file into a fresh
install to be used as an image.


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


Paul B said:
Hi

I know this is easily solved on a per user basis, by changing the setting
and then hitting "Apply to All Folders".

However, the user accounts on our machines (200+) are dynamic, therefore any
changes like this that are made do not save when they logout and log back in.

I know there are *alot* of people who will use the image (and myself) where
this would make alot of difference.

Where can the default view's be set (registry path?) per machine, or by
default programatically.

Cheers
Paul
 
Not sure what you mean by 'dynamic' user account -- roaming profile? When you log on to one of
these accounts -- before you explore any folders -- do any of the following registry keys/values
exist?

Is there a value named 'Settings' in the key:

"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams"?


Is there a subkey of the above key named 'Defaults'?


If so, any entries under there?


Does the user account already have numbered subkeys under:

"HKCU\Software\Microsoft\Windows\ShellNoRoam\Bags"?

Any of the above settings would override a machine-wide setting.

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


Paul B said:
Hi Keith

Thanks for the tip, it sounded very hopeful but it still hasnt seemed to work.

The process I followed was, as directed to export and delete the
"HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags" key

In an already active Explorer session, clicked C:, set the view as List View
Tools > View Options.. Apply this Setting to all Folders OK

Exported the key, edited and imported the resultant
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"Mode"=dword:00000003
"ScrollPos1024x768(1).x"=dword:00000000
"ScrollPos1024x768(1).y"=dword:00000000
"Sort"=dword:00000000
"SortDir"=dword:00000001
"Col"=dword:ffffffff
"ColInfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,0f,\
00,04,00,20,00,10,00,28,00,3c,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,\
00,00,b4,00,60,00,78,00,78,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,\
00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"FolderType"="Documents"

Logged off and re logged in with another user account (all dynamic).
However on opening Explorer and navigating to C: or elsewhere this hasnt come
through.

Can you advise any futher?

Greatly appreciated
Paul

Keith Miller said:
There is a registry key that will do what you want, but it doesn't exist by default, you would need
to create it. It is:

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell"

It contains the same values that are found in numerous keys under:

"HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\<bag number>\Shell"

So the easiest way to create your template is the following:

1. Open regedit & navigate to:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags"

2. Save the "...\Bags" key by exporting it; then delete it.

3. Open a normal document folder that is on the desktop or via shortcut (so you don't have to browse
to it)

4. Set all view settings to your liking (icon style, status bar, etc); then close the folder.

5. Refresh your view in regedit & you should see that the 'Bags' key has been recreated & has one
numbered subkey which has a subkey named 'Shell'

6. Right-click the subkey & export.

7. Open the .reg file for editing & change:

"[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\<bag number>\Shell]"

to:

"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell]"

You may also want to delete certain values that you don't want applied to all folders:

'FolderType' -- deleting this will allow Music & Picture folders to display their special tasks.

'ColInfo' -- deleting this will allow Music & Picture folders to show extra columns in detail view.

8. Save the .reg file and then merge it to create the new key.

9. Import the saved 'Bags' .reg file to restore your saved views. ( you can delay this to examine
the effects of your new template)

You should note that this key will only be read if a folder does not already have a saved view under
'HKCU\...\ShellNoRoam', but that shouldn't be an issue if you are merging this reg file into a fresh
install to be used as an image.


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


Paul B said:
Hi

I know this is easily solved on a per user basis, by changing the setting
and then hitting "Apply to All Folders".

However, the user accounts on our machines (200+) are dynamic, therefore any
changes like this that are made do not save when they logout and log back in.

I know there are *alot* of people who will use the image (and myself) where
this would make alot of difference.

Where can the default view's be set (registry path?) per machine, or by
default programatically.

Cheers
Paul
 
*** Follow-up for the benefit of future googlers ***

I worked with Paul via e-mail and found that his 'AllFolders' entry was missing two critical values:
'Wflags' and 'Vid'. These are actually the only two entries needed to force a default icon style
for all folders. So a reg file for list view would look like this:

------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"Vid"="{0E1FA5E0-3573-11CF-AE69-08002B2E1262}"
"WFlags"=dword:00000000

------------------------------

The valid values for 'Vid' are:

Icons {0057D0E0-3573-11CF-AE69-08002B2E1262}
List {0E1FA5E0-3573-11CF-AE69-08002B2E1262}
Details {137E7700-3573-11CF-AE69-08002B2E1262}
Thumbnail {8BEBB290-52D0-11D0-B7F4-00C04FD706EC}
Tiles {65F125E5-7BE1-4810-BA9D-D271C8432CE3}
Filmstrip {8EEFA624-D1E9-445B-94B7-74FBCE2EA11A}

Having an 'AllFolders' entry with the 'WFlags' value turns the status bar on by default -- So if you
want the status bar displayed for all folders while still allowing windows to autoselect the icon
style (as opposed to using 'Apply to All Folders', which sets a default icon style), you simply need
this:

------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"WFlags"=dword:00000000

------------------------------


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


Keith Miller said:
Not sure what you mean by 'dynamic' user account -- roaming profile? When you log on to one of
these accounts -- before you explore any folders -- do any of the following registry keys/values
exist?

Is there a value named 'Settings' in the key:

"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams"?


Is there a subkey of the above key named 'Defaults'?


If so, any entries under there?


Does the user account already have numbered subkeys under:

"HKCU\Software\Microsoft\Windows\ShellNoRoam\Bags"?

Any of the above settings would override a machine-wide setting.

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


Paul B said:
Hi Keith

Thanks for the tip, it sounded very hopeful but it still hasnt seemed to work.

The process I followed was, as directed to export and delete the
"HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags" key

In an already active Explorer session, clicked C:, set the view as List View
Tools > View Options.. Apply this Setting to all Folders OK

Exported the key, edited and imported the resultant
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"Mode"=dword:00000003
"ScrollPos1024x768(1).x"=dword:00000000
"ScrollPos1024x768(1).y"=dword:00000000
"Sort"=dword:00000000
"SortDir"=dword:00000001
"Col"=dword:ffffffff
"ColInfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,0f,\
00,04,00,20,00,10,00,28,00,3c,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,\
00,00,b4,00,60,00,78,00,78,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,\
00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"FolderType"="Documents"

Logged off and re logged in with another user account (all dynamic).
However on opening Explorer and navigating to C: or elsewhere this hasnt come
through.

Can you advise any futher?

Greatly appreciated
Paul

Keith Miller said:
There is a registry key that will do what you want, but it doesn't exist by default, you would need
to create it. It is:

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell"

It contains the same values that are found in numerous keys under:

"HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\<bag number>\Shell"

So the easiest way to create your template is the following:

1. Open regedit & navigate to:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags"

2. Save the "...\Bags" key by exporting it; then delete it.

3. Open a normal document folder that is on the desktop or via shortcut (so you don't have to browse
to it)

4. Set all view settings to your liking (icon style, status bar, etc); then close the folder.

5. Refresh your view in regedit & you should see that the 'Bags' key has been recreated & has one
numbered subkey which has a subkey named 'Shell'

6. Right-click the subkey & export.

7. Open the .reg file for editing & change:

"[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\<bag number>\Shell]"

to:

"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell]"

You may also want to delete certain values that you don't want applied to all folders:

'FolderType' -- deleting this will allow Music & Picture folders to display their special tasks.

'ColInfo' -- deleting this will allow Music & Picture folders to show extra columns in detail view.

8. Save the .reg file and then merge it to create the new key.

9. Import the saved 'Bags' .reg file to restore your saved views. ( you can delay this to examine
the effects of your new template)

You should note that this key will only be read if a folder does not already have a saved view under
'HKCU\...\ShellNoRoam', but that shouldn't be an issue if you are merging this reg file into a fresh
install to be used as an image.


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


Hi

I know this is easily solved on a per user basis, by changing the setting
and then hitting "Apply to All Folders".

However, the user accounts on our machines (200+) are dynamic, therefore any
changes like this that are made do not save when they logout and log back in.

I know there are *alot* of people who will use the image (and myself) where
this would make alot of difference.

Where can the default view's be set (registry path?) per machine, or by
default programatically.

Cheers
Paul
 
Back
Top