Go back to the Delta Guide Home Page. Download this article as a PDF file.

MMC Tutorial

If you've not used the Microsoft Management Console (MMC) before, this tutorial will help get you up and running quickly. Additionally, if you've only used the MMC in the form of Windows's preconfigured consoles, this tutorial will help you take advantage of some of the MMC's more advanced features, such as task pads and views.

The MMC is a stripped-down interface that looks very similar to the Windows Explorer. It includes a right pane with a tree view and a left pane for details. By itself, the MMC does practically nothing. Instead, it relies on various modules, called snap-ins, to provide various types of administrative functionality. In this way, the MMC is a bit like a video game console. By itself, it's not much fun. But once you snap in a game cartridge, you can have a great time! Figure 1 shows the blank MMC screen, which you can see by selecting Run from the Start menu of your computer, typing MMC, and clicking OK.

Figure 1Figure 1


All the Windows 2000 administrative tools are nothing more than preconfigured MMC consoles. A console is a collection of one or more snap-ins, allowing you to work with many administrative tasks from the same window. Figure 2 shows the Windows 2000 Computer Management console, which includes several snap-ins.

Figure 2Figure 2


Each of the major items in the right tree view is a snap-in. Selecting a snap-in causes the MMC to display the snap-in's properties in the left pane.

Why was the MMC invented? When Windows NT 3.51 and 4.0 were the major Microsoft operating systems, Microsoft received a lot of complaints that the administrative tools were too spread out. Administrators had to deal with completely separate programs for managing DHCP, SQL Server, DNS, IIS, and other functions. The MMC provides a consolidated place for all administrative tools, all of which share a similar look and feel. This enables an administrator to more easily learn new administrative tools and provides a single place for enterprise-wide administration.

The MMC was designed to be easy to use. If you don't want to take any time to configure the MMC, you can use the preconfigured consoles Windows 2000 and every .NET Server product sets up for you. Application Center 2000, for example, creates a default Application Center console in the Administrative Tools program group on the Start menu. But using the default consoles is not much better than using the individual administrative tools provided with Windows NT 4.0. To take advantage of the MMC, you need to learn how to configure your own custom consoles.

Starting the MMC

Every MMC runs in one of four modes:

These modes allow you to configure your own consoles and distribute them to other administrators. Configured in the correct mode, you can prevent those administrators from accessing specific areas of functionality and from modifying the console configuration. This is useful for distributing consoles to help desk administrators, for example.

If you are in Author mode, you can configure the console's mode by selecting Options from the Console menu. As shown in Figure 3, the mode is selected from a drop-down list box.

Figure 3Figure 3


To start the MMC in author mode, select Run from the Start menu, type MMC, and click OK. You'll start with a blank console that you can begin customizing to suit your needs.

Loading Snap-ins

The first step in customizing your console is to add the snap-ins that correspond to the administrative functionality you need. To load or remove snap-ins from a console, follow these steps:

  1. Open a blank console by selecting Run from the Start menu, typing MMC, and clicking OK.

  2. Select Add/Remove Snap-in from the Console menu. The Add/Remove Snap-in window appears. The window is blank because your console doesn't currently contain any snap-ins. If it did, you could remove or modify them here.

  3. Click the Add button to display the Add Standalone Snap-in window.

  4. Double-click a snap-in to add it to the console. Depending on the snap-ins you select, you might be prompted for additional information, such as the name of the computer to which you want the snap-in to connect.

  5. After you have finished adding snap-ins, click Close. This returns you to the Add/Remove Snap-in window, which now displays a list of the snap-ins that have been added to your console.

NOTE

Some snap-ins contain extensions. For example, the Computer Management snap-in contains extensions for the Device Manager, Disk Defragmenter, and so on. Extensions are "sub snap-ins" that depend on the main snap-in to work. If you select a snap-in in the Add/Remove Snap-in window, you can click the Extensions tab to view the selected snap-in's extensions. By default, all extensions associated with a snap-in are added to the console. You can change this by clearing the appropriate check box on the Extensions tab. Doing so allows you to determine which extensions will appear in your console.

  1. Click OK to close the Add/Remove Snap-in window. You will return to the main MMC window, which now shows the snap-ins you have added.

Saving a Console

After you've taken the time to create a custom console, be sure to save it. That way, you'll be able to return to your custom console whenever you need to. Consoles can be saved by selecting Save As from the Console menu. Consoles are saved in files with an .MSC extension, and you can double-click an .MSC file to automatically launch the MMC and open the console.

Opening a New Window

If you create a console with many snap-ins, at some point you might want to view the details of two snap-ins simultaneously. Normally, of course, you can't do that. Whenever you select a snap-in, the details pane of the MMC changes to the details of the currently selected snap-in.

Instead, the MMC enables you to open multiple windows. Each window runs within the main MMC window and contains the same snap-ins as the first window. The console must not be running in User - Limited, Single Window mode for multiple windows to be available.

To open a new window, select New Window from the Window menu. Figure 4 shows a custom MMC console with two windows open. Each window is pointed at a different snap-in, so two sets of details can be viewed simultaneously.

Figure 4Figure 4


Using the Action Menu

The Action menu changes depending on what's selected in the MMC. Every object in the MMC has a list of actions associated with it. You can right-click the object to display its actions in a pop-up menu, or you can select the object and find its actions on the Action menu.

Using the View Menu

The View menu enables you to make changes to the appearance of the console and the snap-ins it contains. You have the following options:

Using Favorites

The MMC supports a Favorites feature, which enables you to jump to a particular area of a console with a single click. You can use this to quickly move to the most important administrative tasks you need to perform.

To add an item to you Favorites list, select the item in the MMC and select Add to Favorites from the Favorites menu. To jump to a favorite item, just select it from the Favorites menu.

You can also select Organize Favorites from the Favorites menu to call up a simple organization window. This window enables you to create subfolders for your favorites, much like you would in Internet Explorer.

Creating Task Pads

Task pads are a special type of view that the MMC offers. Task pads are designed to group several related administrative functions in a single, easy-to-use screen for less experienced administrative personnel. They offer a great deal of flexibility and can be used to make administration easier and more efficient. To create a new task pad, follow these steps:

  1. Select the desired snap-in in the console. Then, select New Taskpad View from the Action menu.

  2. The New Taskpad View Wizard appears. Click Next on the Welcome screen.

  3. In the Taskpad Display window, select a style for the task pad. You can choose from a vertical list, a horizontal list, or no list at all. The wizard displays an example of each style as you select it. Select an option, and click Next.

  4. In the Taskpad Target window, you can indicate whether you want to display the entire selected tree item in the task pad or whether you want the task pad to include all items in the tree that are the same type as the selected one. Select an option, and click Next.

  5. The next window enables you to configure a name and a description for your new task pad. Type this information and click Next.

  6. A summary window appears, describing your new task pad. A check box allows you to immediately open the New Task Wizard. Leave this checked, and click Finish.

  7. Your task pad is created, and the New Task Wizard appears. Click Next on the Welcome screen.

  8. On the Command Type window, you have three options:

    I will configure a Navigation command as an example. You can experiment with the other command types. You'll find that they are pretty self-explanatory. After selecting your command type, click Next.

  9. The Navigation Task screen appears if you chose to create a Navigation-type command. Simply select the favorite to which this command will navigate, and click Next.

  10. The Name and Description screen appears, allowing you to configure a name and description for your new task. Enter the information and click Next.

  11. The Task Icon screen enables you to select an icon to represent this task. Select an icon and click Next.

  12. The wizard concludes with a summary screen that shows you the tasks currently configured on the task pad. You can select the check box to immediately create a new task. In this example, I'll clear the check box and click Next to finish the wizard.

When the wizard has finished, you have a complete task pad, along with the tasks you created shown as icons along the bottom of the task pad.

You can edit your task pad by selecting Edit Taskpad View from the Action menu.

Configuring Console Options

In addition to allowing you to change the console's operating mode, the Options dialog box allows you to specify three important options for consoles running in a User mode. These three options are

© Copyright Pearson Education. All rights reserved.

Go back to the Delta Guide Home Page. Download this article as a PDF file.