HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
contains settings for Windows Explorer and the Start menu. You configure these settings in two places. The first is the Folder Options dialog box. The second is the Taskbar And Start Menu Properties dialog box. Table C-6 describes these settings.
Table C-6
Start Menu Settings
|
Name
|
Data
|
|
Folder Options dialog box
|
|
ClassicViewState
|
0x00
—Use the classic folder view
0x01
—Don't use the classic folder view
|
|
SeparateProcess
|
0x00—Don't run folders in separate processes
0x01
—Launch folders in separate processes
|
|
DisableThumbnailCache
|
0x00
—Cache thumbnails
0x01
—Do not cache thumbnails
|
|
FolderContentsInfoTip
|
0x00
—Do not display file sizes in folder tips
0x01
—Display file sizes in folder tips
|
|
FriendlyTree
|
0x00
—Don't display simple folder tree
0x01
—Display simple folder tree in Folders list
|
|
Hidden
|
0x01
—Don't show hidden files and folders
0x02
—Show hidden files and folders
|
|
HideFileExt
|
0x00
—Show known file extensions
0x01
—Don't show known file extensions
|
|
NoNetCrawling
|
0x00
—Don't search for network folders, printers
0x01
—Search for network folders, printers
|
|
PersistBrowsers
|
0x00
—Don't restore previous folders
0x01
—Restore previous folders at logon
|
|
ShowCompColor
|
0x00
—Don't display compressed files in
color
0x01
—Display compressed files in color
|
|
ShowInfoTip
|
0x00
—Don't display tips for folders, desktop items
0x01
—Display tips for folders, desktop items
|
|
ShowSuperHidden
|
0x00
—Don't show protected operating system files
0x01
—Show protected operating system files
|
|
WebViewBarricade
|
0x00
—Don't display contents of system folders
0x01
—Display contents of system folders
|
|
Customize Classic Start Menu dialog box
|
|
StartMenuAdminTools
|
NO
—Hide Administrative Tools
YES
—Display Administrative Tools
|
|
CascadeControlPanel
|
NO
—Display Control Panel as link
YES
—Display Control Panel as menu
|
|
CascadeMyDocuments
|
NO
—Display My Documents as link
YES
—Display My Documents as menu
|
|
CascadeMyPictures
|
NO
—Display My Pictures as link
YES
—Display My Pictures as menu
|
|
CascadePrinters
|
NO
—Display Printers as link
YES
—Display Printers as menu
|
|
IntelliMenus
|
0x00
—Don't use personalized
menus
0x01
—Use personalized menus
|
|
CascadeNetworkConnections
|
NO
—Display Network Connections as link
YES
—Display Network Connections as menu
|
|
Start_LargeMFUIcons
|
0x00
—Show small icons on Start menu
0x01
—Show large icons on Start menu
|
|
StartMenuChange
|
0x00
—Disable dragging and dropping
0x01
—Enable dragging and dropping
|
|
StartMenuFavorites
|
0x00
—Hide Favorites
0x01
—Display Favorites
|
|
StartMenuLogoff
|
0x00
—Hide Log Off
0x01
—Display Log Off
|
|
StartMenuRun
|
0x00
—Hide Run command
0x01
—Display Run command
|
|
StartMenuScrollPrograms
|
NO
—Don't scroll Programs menu
YES
—Scroll Programs menu
|
|
Customize Start Menu dialog box
|
|
Start_ShowControlPanel
|
0x00
—Hide Control Panel
0x01
—Show Control Panel as link
0x02
—Show Control Panel as menu
|
|
Start_EnableDragDrop
|
0x00
—Disable dragging and dropping
0x01
—Enable dragging and dropping
|
|
StartMenuFavorites
|
0x00
—Hide Favorites menu
0x01
—Show the Favorites menu
|
|
Start_ShowMyComputer
|
0x00
—Hide My Computer
0x01
—Show My Computer as link
0x02
—Show My Computer as menu
|
|
Start_ShowMyDocs
|
0x00
—Hide My Documents
0x01
—Show My Documents as link
0x02
—Show My Documents as menu
|
|
Start_ShowMyMusic
|
0x00
—Hide My Music
0x01
—Show My Music as link
0x02
—Show My Music as menu
|
|
Start_ShowMyPics
|
0x00
—Hide My Pictures
0x01
—Show My Pictures as link
0x02
—Show My Pictures as menu
|
|
Start_ShowNetConn
|
0x00
—Hide Network Connections
0x01
—Show Network Connections as link
0x02
—Show Network Connections as menu
|
|
Start_AdminToolsTemp
|
0x00
—Hide Administrative Tools
0x01
—Show on All Programs menu
0x02
—Show on All Programs menu and Start menu
|
|
Start_ShowHelp
|
0x00
—Hide Help and Support
0x01
—Show Help and Support
|
|
Start_ShowNetPlaces
|
0x00
—Hide My Network Places
0x01
—Show My Network Places
|
|
Start_ShowOEMLink
|
0x00
—Hide Manufacturer Link
0x01
—Show Manufacturer Link
|
|
Start_ShowPrinters
|
0x00
—Hide Printers and Faxes
0x01
—Show Printers and Faxes
|
|
Start_ShowRun
|
0x00
—Hide Run command
0x01
—Show Run command
|
|
Start_ShowSearch
|
0x00
—Hide Search command
0x01
—Show Search command
|
|
Start_ScrollPrograms
|
0x00
—Don't scroll Programs menu
0x01
—Scroll Programs menu
|
Windows defines templates, similar to the policy templates that define how to collect and store policies, for these settings. You find these templates in the following places:
-
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartMenu
contains templates for the settings in the Advanced Start Menu Options area of the Customize Classic Start Menu dialog box. To
open
this dialog box, in Control Panel launch Taskbar And Start Menu. Then on the Start Menu tab, select the Classic Start Menu option, and click Customize.
-
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel
contains templates for the settings on the Advanced tab of the Customize Start Menu dialog box. To open this dialog box, in Control Panel launch Taskbar And Start Menu. Then on the Start Menu tab, select the Start Menu option, and click Customize.
-
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder
contains templates for the settings in the Folder Options dialog box, most of which are on the View tab. To open this dialog box, in Control Panel launch Folder Options.
Explorer\AutoComplete
The subkey
AutoComplete
contains a single value that controls the
AutoComplete
feature in Windows Explorer. If the
\CONSOLE
value
AutoComplete
is
Yes
, Windows Explorer uses
AutoComplete
;
otherwise
, it doesn't.
Explorer\ComDlg32
The subkey
ComDlg32
contains two subkeys. Both are history lists. To clear the history list that the common dialog boxes use, delete both subkeys. The first is
LastVisitedMRU
, which contains a list of folders that you've opened.
The second is
OpenSaveMRU
, which is a little more complicated. Within the key
OpenSaveMRU
are subkeys for different types of files. For example, you see the subkey
doc
in
OpenSaveMRU
that lists all the files with the
.doc
extension that you've opened. The subkey
*
contains all the files you've opened in the common dialog boxes, regardless of their extensions. Thus, the common dialog boxes can display a history list by type or display all the files in the history.
Explorer\HideDesktopIcons
In
HideDesktopIcons
, you see two subkeys:
ClassicStartMenu
and
NewStartPanel
. The first subkey determines which icons to hide when Windows is using the classic Start menu. The second determines which icons to hide when Windows is using the new Start menu. Add a
REG_DWORD
value named for the icon's class ID to either subkey to hide it in that view. Set the value to
0x01
. Hide the Recycle Bin icon by creating a
REG_DWORD
value called
{645FF040-5081-101B-9F08- 00AA002F954E}
in the subkey
HideDesktopIcons\NewStartPanel
, for example, and then set it to
0x01
. Click the desktop and then press F5 to refresh. Appendix A, “File Associations,” lists the class IDs you might want to hide.
Explorer\HideMyComputerIcons
The key
HideMyComputerIcons
enables you to hide icons in My Computer. To hide icons in My Computer, add a
REG_DWORD
value to
HideMyCompu
terIcons
—the name is the class ID of the icon you want to hide—and set it to
0x01
. See Appendix A, “File Associations,” for a list of class IDs. Refresh Windows Explorer to see your changes.
Explorer\MenuOrder
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder
contains the
sort
order of the Favorites menu and Start menu. The subkey
Favorites
contains the sort order of the Favorites menu. The subkey
Start Menu
contains the sort order of the classic Start menu, and the subkey
Start Menu2
contains the sort order of the new Start menu. Deciphering the contents of these three keys is
next
to ridiculous, but you can remove any of them to re-sort the corresponding menu in alphabetical order. For example, to restore the All Programs menu to alphabetical order, remove the subkey
Start Menu2
. To restore the Favorites menu in both Windows Explorer and Internet Explorer, remove the subkey
Favorites
.
Explorer\RecentDocs
The subkey
RecentDocs
is the list of recent documents that you see on the Start menu. Within this key are subkeys for different types of files and folders. For example, you see the subkey
txt
that lists all the files with the
.txt
extension that you've opened. To clear your list of recent documents, remove this subkey. Along with this subkey, you must remove the documents shortcuts that Windows creates in your profile folder, %UserProfile%\Recent.
Explorer\RunMRU
The subkey
RunMRU
contains a list of programs that you've run using the Run dialog box. You can remove individual programs from this list or delete the
RunMRU
subkey to clear the list of programs.
Explorer\User Shell Folders
Special folders include the My Documents, My Pictures, and Favorites folders, among many others. Table C-7 shows the special folders that Windows creates after a fresh installation and their default paths. The first column contains each folder's internal name as Windows and other programs know it. The second column contains each folder's default
path
, which almost always starts with %UserProfile%, making these folders part of each user's profile folder. Chapter 12, “Deploying User Profiles,” describes these user profile folders in depth.
Table C-7
Special Folders
|
Name
|
Default Path
|
|
AppData
|
%UserProfile%\Application Data
|
|
Cache
|
%UserProfile%\Local Settings\Temporary Internet Files
|
|
Cookies
|
%UserProfile%\Cookies
|
|
Desktop
|
%UserProfile%\Desktop
|
|
Favorites
|
%UserProfile%\Favorites
|
|
History
|
%UserProfile%\Local Settings\History
|
|
Local AppData
|
%UserProfile%\Local Settings\Application Data
|
|
Local Settings
|
%UserProfile%\Local Settings
|
|
My Pictures
|
%UserProfile%\My Documents\My Pictures
|
|
NetHood
|
%UserProfile%\NetHood
|
|
Personal
|
%UserProfile%\My Documents
|
|
PrintHood
|
%UserProfile%\PrintHood
|
|
Programs
|
%UserProfile%\Start Menu\Programs
|
|
Recent
|
%UserProfile%\Recent
|
|
SendTo
|
%UserProfile%\SendTo
|
|
Start Menu
|
%UserProfile%\Start Menu
|
|
Startup
|
%UserProfile%\Start Menu\Programs\Startup
|
|
Templates
|
%UserProfile%\Templates
|
{% if main.adsdop %}{% include 'adsenceinline.tpl' %}{% endif %}
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
is the key where Windows stores the location of per-user special folders. Each value in this key is a special folder, as shown in Table C-7. These are
REG_EXPAND_SZ
values, so you can use environment
variables
in them. Use %UserProfile% in a path to direct the folder somewhere inside users' profile folders or %UserName% in a path to include users'
names
. To redirect users' Favorites folders to the network, set the value
Favorites
, which you can look up in Table C-7, to
\\
Server
\
Share
\%USERNAME% \Favorites
, where
\\
Server
\
Share
is the server and share containing the folders. Windows updates a second key,
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
, with the paths from
User Shell Folders
the next time the user logs on to the operating system, so you don't have to update it. In fact, Microsoft's documentation says Windows doesn't use
Shell Folders
.