BrainDump
  Home arrow BrainDump arrow Page 3 - Controlling the Vista Start Menu
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Controlling the Vista Start Menu
By: O'Reilly Media
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 10
    2007-12-06

    Table of Contents:
  • Controlling the Vista Start Menu
  • Adding and changing a menu
  • Controlling Start menu behavior with the registry
  • Controlling the Taskbar

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Controlling the Vista Start Menu - Controlling Start menu behavior with the registry


    (Page 3 of 4 )

     

    As mentioned, what appears on the Start menu is also a byproduct of certain registry settings, and you can control the Start menu by making direct edits to the registry. The registry is a database of information that tells the operating system—in this case, Vista—how to behave.

    To edit the registry, first you need to open the Vista registry editing tool. It’s the same one used in previous versions of Windows—Regedit—and opening it is pretty straightforward. From the Start menu, simply type regedit, and the utility should appear in the program list.


    Figure 4-8.  Changing the Start menu picture

    Now that the Registry Editor is open, navigate to this key, shown in Figure 4-9:

      HKEY_CURRENT_USER\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer


    Figure 4-9.  Start menu changes can also be performed by editing the registry

    Once there, you can add something called DWORD values to the Explorer key to modify Start menu behavior. To add a DWORD value, follow these steps:

    1. Use the Registry Editor’s Edit menu, or just right-click in the Details (righthand) pane, and choose New -> DWORD (32-bit) value.
    2. The new DWORD value appears, with a name similar to “New Value #1.” Rename this value using a name from Table 4-2.
    3. Now, assign the DWORD a value. Fortunately, we have only two options for the values discussed here: 1 or 0. In other words, the feature will be on or off, with 1 signifying on and 0 indicating off. Either setting can be used to force an administrative change.

    For example, if you want to make sure the username is removed from the Start menu, add the DWORDNoUserNameInStartMenuand set the value to 1. If you want to make sure the username is always displayed, on the other hand, add the same DWORD and set the value to 0.

    Now, refer to Table 4-2 for other Start menu changes that you can force through the registry.

    Table 4-2. Start menu changes you can force through the
    registry

    DWORD Description
    NoSimpleStartMenu Disables the new Simple Start menu and forces the Classic Start menu.
    NoStartMenuPinnedList Removes the pinned programs list from the Start menu.
    NoStartMenuMFUprogramsList Removes the frequently used programs list from the Start menu.
    NoRecentItemsMenu Removes the list of recently used items from the Start menu.
    NoSMPictures Removes the Pictures item from the Start menu.
    NoStartMenuMusic

    Removes the Music item from the Start menu. Also removes the corresponding checkboxes from the Taskbar and Start Menu Properties dialog box. 

    NoWindowsUpdate Removes the Windows Update link from the Programs list. It also prevents access to http://windowsupdate.microsoft.com.
    ClearRecentItemsOnExit Deletes all shortcuts in the Recent Items menu as users log off.
    DisablePersonalDirChange Prevents users from changing the Documents folder directory path.
    NoNetwork

    Removes the Network item from the Start menu. Also removes corresponding items from the Taskbar and Start Menu Properties dialog box.

    NoSMHelp Removes the Help item from the Start menu. Users can still access help files, however.
    NoChangeStartMenu

    Prevents changes to the Start menu by dragging and dropping. Other methods of customizing are still enabled.

    NoSetTaskbar Disables access to the Taskbar and Start Menu Properties dialog box.
    NoUserNameInStartMenu Removes the username from the Start menu.

    You can then go back and safely remove any DWORD values you’ve added by accessing the following registry key and then simply deleting the DWORD itself:

      HKEY_CURRENT_USER\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer

    Deleting registry keys is generally not a good idea. You’re in effect performing brain surgery on Vista when you do, and the wrong deletion can leave Vista with the equivalent of a lobotomy, or worse. In fact, Vista warns you about these implications every time you delete a registry entry, and now you’ve been warned in this book as well.

    As a final thought, also note that all of the preceding will change if you’re using the 64-bit version of Windows Vista, but not by much. Instead of adding 32-bit DWORD values, you’ll add 64-bit QWORD values. The names of the entries themselves should remain the same.

    You can also change the Start menu power button behavior, but I think that fits better in the discussion about startup and shutdown, including a full mention of hibernate, sleep, and so on. Chapter 6 covers these topics.

    More BrainDump Articles
    More By O'Reilly Media


       · This article is an excerpt from the book "Windows Vista Administration: The...
     

    Buy this book now. This article is excerpted from chapter four of Windows Vista Administration: The Definitive Guide, written by Brian Culp (O'Reilly; ISBN: 0596529597). Check it out today at your favorite bookstore. Buy this book now.

    BRAINDUMP ARTICLES

    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection
    - Advanced Firebug Techniques in Windows XP Ho...
    - Editing CSS with Firebug in Windows XP Home
    - Using Firebug in Windows XP Home
    - Migrating to Exchange Server 2007
    - Using System Restore on a Non-Bootable PC
    - Finding Logged on Users and More Scripting S...
    - Developing Macro Commands in MS Excel





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    Stay green...Green IT