From: drwatson32 on
The topic of setting the "details" view as default in Windows Explorer
has come up a few times already, but there seems to be a special
difficulty with respect to Terminal Server resp. CITRIX Metaframe.

We are using a rather large CITRIX farm (W2k3) and roaming profiles for
users. Users are complaining that the explorer view mode settings do not
persist between sessions, i.e. they set the view to "details", "apply to
all folders", "dont save views for each folder separately" and logoff.
After re-logon, more often than not the view is back to default, namely
"symbols" which is not the most productivity enhancing mode, not to say
more.
This phenomenon occurs if the new session is opened on a server
different from the first.

What I am looking for is a way to
a) define "details" view as a default in a way which is persistent
between sessions (fiddling the reg value
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams:Settings
did not work so far)
or
b) switch the view mode to details programmatically, possibly in the
login script.

Thanks in advance for any ideas, suggestions,...
From: super pippo on
I used to apply the following vbscript as a Logon Script GPO (my goal
was to reset view back to default values):


'***************************************************************************
' Script : UserFolderView.vbs
' Description : Sets the folder view according to the default values
' Author : Super Pippo
' Date : 22.07.2003
' Revision :
' Argument :
'***************************************************************************
Dim WshShell,bKey
Set WshShell = Wscript.CreateObject("Wscript.Shell")
Key =
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\"
WshShell.RegWrite Key & "Hidden", 00000002, "REG_DWORD"
WshShell.RegWrite Key & "ShowCompColor", 00000001, "REG_DWORD"
WshShell.RegWrite Key & "HideFileExt", 00000001, "REG_DWORD"
WshShell.RegWrite Key & "DontPrettyPath", 00000000, "REG_DWORD"
WshShell.RegWrite Key & "ShowInfoTip", 00000001, "REG_DWORD"
WshShell.RegWrite Key & "iDigits", 2, "REG_DWORD"
WshShell.RegWrite Key & "HideIcons", 00000000, "REG_DWORD"
WshShell.RegWrite Key & "MapNetDrvBtn", 00000000, "REG_DWORD"
WshShell.RegWrite Key & "WebView", 00000001, "REG_DWORD"
WshShell.RegWrite Key & "Filter", 00000000, "REG_DWORD"
WshShell.RegWrite Key & "SuperHidden", 00000001, "REG_DWORD"
WshShell.RegWrite Key & "SeparateProcess", 00000000, "REG_DWORD"
WshShell.RegWrite Key & "ListviewAlphaSelect", 00000001, "REG_DWORD"
WshShell.RegWrite Key & "ListviewShadow", 00000001, "REG_DWORD"
WshShell.RegWrite Key & "ListviewWatermark", 00000001, "REG_DWORD"
WshShell.RegWrite Key & "TaskbarAnimations", 00000001, "REG_DWORD"
WshShell.RegWrite Key & "NoNetCrawling", 00000000, "REG_DWORD"
WshShell.RegWrite Key & "FolderContentsInfoTip", 00000001, "REG_DWORD"
WshShell.RegWrite Key & "FriendlyTree", 00000001, "REG_DWORD"
WshShell.RegWrite Key & "WebViewBarricade", 00000000, "REG_DWORD"
WshShell.RegWrite Key & "DisableThumbnailCache", 00000000, "REG_DWORD"
WshShell.RegWrite Key & "ShowSuperHidden", 00000000, "REG_DWORD"
WshShell.RegWrite Key & "ClassicViewState", 00000000, "REG_DWORD"
WshShell.RegWrite Key & "PersistBrowsers", 00000000, "REG_DWORD"
wshShell.RegWrite Key & "ClassicViewState", 00000000, "REG_DWORD"
wshShell.RegWrite Key & "TaskbarSizeMove", 00000000, "REG_DWORD"
wshShell.RegWrite Key & "TaskbarGlomming", 00000000, "REG_DWORD"
wshShell.RegWrite Key & "StartMenuInit", 00000002, "REG_DWORD"
WshShell.RegWrite Key & "StartButtonBalloonTip", 00000002, "REG_DWORD"

From: drwatson32 on
Thanks,

this supplied me with the missing pieces...

For more information, see also
news://msnews.microsoft.com:119/beb6v1htbommun15cbiinac1pkloffojk2(a)4ax.com
(gourp msnews.public.scripting.vbscript, look for "Scripting Windows
Explorer to show details view").

The value I needed was
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\"
ClassicViewState= dword:0x1 (="dont save views for each folder separately")

It seems that folder view options are not "roaming"