[转][cited]Setting the default folder view for all folders

修改注册表以改变默认的文件夹查看方式

This is a cited article. Original version can be viewed via this link:

http://smallvoid.com/article/winnt-default-folder-view.html

My favor part of this post is a registry approach to configure the default Folder Type template for all users.

Configure the default Folder Type template for all users

If having dynamic / roaming users and want and want to configure the default Folder view for all users through the registry:

[HKEY_LOCAL_MACHINE \Software \Microsoft \Windows \ShellNoRoam \Bags \AllFolders \Shell]
WFlags = 0
Mode = 4
vid = “{137E7700-3573-11CF-AE69-08002B2E1262}”

For more information, please refer to the original post. The following translated text is provided by dtm.

将所有文件夹的文件显示方式设置为相同:

  1. 用Windows文件浏览器浏览到某个文件夹,配置这个文件夹应该如何显示(包括所期望的查看方式 – 详细信息 / 列表 / 平铺 / 缩略图,选择列,调整列顺序,修改列的宽度,等等)。

  2. 在Windows文件浏览器中点击“工具”菜单,选择“文件夹选项…”。

  3. 切换到“查看”选项卡,按下“重置文件夹”按钮,再按“应用到所有文件夹”按钮。

更多信息 MSDN – New Windows XP Shell Features
更多信息 MS KB812003

修改文件夹类型模板

有时候尽管设置了所有文件夹都使用同样的样式,但是有一些文件夹仍然看上去不一样,因为他们的文件夹类型被修改了。对一个文件夹修改文件夹类型:

  1. 右键单击文件夹,选择“属性”。

  2. 选择“自定义”选项卡,在这里可以配置“你想要哪种文件夹?”,通过修改使用哪一种文件夹类型作为模板。不同的模板包含不同的预先配置好的列,以及可用的选项:

  • 图片(适合较多的文件) – 在Windows文件浏览器的“查看”菜单中引入“幻灯片”模式。

注 Windows XP 会自动缓存文件夹个性化设置,因此对某一个文件夹所做更改在下一次访问时会重现。

对所有用户修改默认的文件夹类型模板

如果有动态或漫游用户,并希望在注册表中修改所有用户的默认的文件夹视图:

[HKEY_LOCAL_MACHINE \Software \Microsoft \Windows \ShellNoRoam \Bags \AllFolders \Shell]
WFlags = 0
Mode = 4
vid = “{137E7700-3573-11CF-AE69-08002B2E1262}”

注 下表可用来配置上文中的数值(WFlags应始终为0)

查看方式 Mode vid
图标 1 {0057D0E0-3573-11CF-AE69-08002B2E1262}
列表 3 {0E1FA5E0-3573-11CF-AE69-08002B2E1262}
详细信息 4 {137E7700-3573-11CF-AE69-08002B2E1262}
缩略图 5 {8BEBB290-52D0-11D0-B7F4-00C04FD706EC}
平铺 6 {65F125E5-7BE1-4810-BA9D-D271C8432CE3}
幻灯片 7 {8EEFA624-D1E9-445B-94B7-74FBCE2EA11A}

注 如果不想在默认的文件夹视图中显示状态栏:

[HKEY_LOCAL_MACHINE \Software \Microsoft \Windows \ShellNoRoam \Bags \AllFolders \Shell]
Status = 0

Additional notes by dtm

If you’ve logged in as a local account, the registry key should be

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam]

My suggestion is before you change the default folder view type, all subkeys under BagMRU and Bags should be wiped out (you can delete the two parent keys and then re-create them). After the configuration, restart the explorer shell process.

Under the subkeys describing default folder view, more dwords can be customized: MaxPos, MinPos, and WinPos. These keys define the scale of the folder’s window.

Advertisements
  1. 留下评论

Log in or fill out contact info to leave a reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: