Personalizing the Start Menu

Windows XP has a nice new Start menu. And you can customize it more thoroughly than you could with any earlier version of Windows. Open the Taskbar And Start Menu Properties dialog box by clicking Start, Control Panel, Appearance And Themes, and then Taskbar And Start Menu. On the Start Menu tab, select either the Start Menu option or the Classic Start Menu option to choose which version of the Start menu to use, and then click Customize. The result is the Customize Start Menu dialog box, which you use to customize what Windows XP displays on the Start menu and in what form.

You can customize the Start menu other ways, too. For example, you can use Tweak UI to control which programs appear in the frequently used programs list. You learn how to use Tweak UI in Chapter 5, "Mapping Tweak UI." You can also use Tweak UI to customize which icons you see on the Start menu. In addition, Windows XP has dozens of policies that control the Start menu's behavior. Those policies aren't useful as hacks, however, because it's difficult to script and deploy policies to users in the Users and Power Users groups. Neither group can change settings in the Policies branch of the registry. This section focuses on deployable settings, and you can learn more about the policies in Appendix D, "Group Policies."

The following sections describe the most useful Start menu hacks. First you learn how to configure what appears and what doesn't appear on the Start menu. Then you learn how to prevent some programs from appearing on the frequently used programs list. You also learn how to restore the Start menu's sort order when it's not in alphabetical order.

Configuring the Menu's Contents

Even though you can completely customize the Start menu in the user interface, power users and IT professionals will likely want to script Start menu customizations. Power users don't want to reconfigure the Start menu every time they install Windows XP. IT Professionals can use scripts to deploy these settings or configure them automatically when creating default user profiles (see Chapter 10, "Deploying User Profiles").

If you want to script these settings, you need to know where to find them in the registry. As it happens, all these settings are in the same place: HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced. Table 4-4 describes the values you can add to this key if they aren't already present. You see two sections in this table. The first section, "Class Start Menu," contains values that affect the classic Start menu. The second section, "New Start Menu," contains values that affect the new Start menu, better known as the Start panel. Most of these settings are REG_DWORD values, but some are REG_SZ values. If the possible data for one of the settings in Table 4-4 includes 0x01, 0x02, and so on, it's a REG_DWORD value. If the possible data includes NO or YES, it's a REG_SZ value.

Table 4-4: Start Menu Settings

Name

Data

Classic Start Menu

 

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 in Start menu

0x01 —Show large icons in 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

New Start Menu

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

Trimming the Frequently Used Programs List

Each time you run a program, Windows XP adds it to the list of frequently used programs you see on the Start menu (see Figure 4-6). You might not want every program you open to appear in this list, however. For example, I don't want to see Notepad in this list, nor do I want to see Command Prompt. You can choose which programs do and don't pop up in this list by customizing HKCR\Applications.

click to expand
Figure 4-6: Windows XP displays the programs you frequently use on the Start menu.

HKCR\Applications contains subkeys for a variety of programs that Windows XP knows about. The name of each subkey is the name of the program file. Thus, you see the subkeys notepad.exe and explorer.exe in HKCR\Applications. If you want to customize another program, add its subkey to this key. For example, to customize whether Command Prompt appears in the list of frequently used programs, add the subkey cmd.exe to HKCR\Applications. Then, to keep the program off of the list, add the REG_SZ value NoStartPage to it.

Restoring the Sort Order

Unless you disable dragging and dropping on the Start menu (see Table 4-4), users can sort the All Programs menu. Windows XP also sometimes adds new shortcuts to the bottom of the All Programs menu. In either case, finding the program you want to run is difficult when the sort order of the Start menu gets out of hand.

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.

I like to keep a script handy that automatically removes MenuOrder. The following listing is an example. Save this listing to the text file Resort.inf, right-click it, and then click Install. This script is different from the others you've seen in this chapter because you can't uninstall it; its changes are permanent:

Listing 4-5: Resort.inf

start example

 [Version] Signature=$CHICAGO$ [DefaultInstall] DelReg=Reg.Settings [Reg.Settings] HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder 

end example

Tip 

You sorted the Start menu just the way you wanted it—wouldn't it be dandy if you could transfer that sort order to another computer? You're in luck. Export the key MenuOrder to a REG file, and then import that REG file to the computer on which you want to use that sort order.



Microsoft Windows XP Registry Guide
Microsoft Windows XP Registry Guide (Bpg-Other)
ISBN: 0735617880
EAN: 2147483647
Year: 2005
Pages: 185

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net