Page 1 of 1 1
Topic Options
#174973 - 2007-03-26 05:42 PM Force Windows Explorer to show files in "List" view
Grumpy Offline
Just in Town

Registered: 2007-03-26
Posts: 3
I need to implement a way of forcing users of (Windows 2003 Citrix Metaframe) to display files shown in Windows Explorer as the "List" option, under View in Windows Explorer.

 Code:
$RegKey = "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell"
$RetVal = WriteValue("$RegKey", "Vid", "{0E1FA5E0-3573-11CF-AE69-08002B2E1262}", "REG_SZ")


My environment defaults all user sessions to "Icons", even moving between folders, views default back to icon. The environment automatically purges all user registry changes at logoff, except for branches I specify in a ini file. Because of the above script and the envrionment (architecture), shouldn't the default file view for all folders be "List". I do not want to save user views for all folders - which I understand could up to about 400 by default. I understand I might need to include some script for MRUBags also.

Top
#174978 - 2007-03-26 09:36 PM Re: Force Windows Explorer to show files in "List" view [Re: Grumpy]
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
I may be way off base on this there are many others here that know more about the registry than I do. But maybe if you were to except this branch and make it read only.
_________________________
Today is the tomorrow you worried about yesterday.

Top
#174982 - 2007-03-27 12:30 AM Re: Force Windows Explorer to show files in "List" view [Re: Grumpy]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
Maybe part of your goal has been discussed before one kixtart.org?
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=146253&site_id=1#import

Top
#174987 - 2007-03-27 10:39 AM Re: Force Windows Explorer to show files in "List" view [Re: Witto]
Grumpy Offline
Just in Town

Registered: 2007-03-26
Posts: 3
Yes, thats close. Since my original post and before seeing your replies, I implemented this.....
 Code:
 
$RetVal = WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ClassicViewState", "1", "REG_DWORD")

which sets the view for all folders to the same view... depending on what I select in the view option.
Thanks for the link.... guess I shouold have done a more thorough search before posting.

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.03 seconds in which 0.014 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org