Export (0) Print
Expand All
250 out of 360 rated this helpful - Rate this topic

Step-by-Step Guide to the Microsoft Management Console

Published: January 01, 2000

The Microsoft Management Console (MMC) lets system administrators create much more flexible user interfaces and customize administration tools. This step-by-step guide explores some of these new features.

On This Page

Introduction
Creating Consoles
Customizing the Display of Snap-ins in the Console: New Windows
Creating Console Taskpads
Setting Console File Options
Additional Information

Introduction

MMC unifies and simplifies day-to-day system management tasks. It hosts tools and displays them as consoles. These tools, consisting of one or more applications, are built with modules called snap-ins. The snap-ins also can include additional extension snap-ins. MMC is a core part of Microsoft's management strategy and is included in Microsoft Windows® 2000 operating systems. In addition, Microsoft development groups will use MMC for future management applications.

Microsoft Management Console enables system administrators to create special tools to delegate specific administrative tasks to users or groups. Microsoft provides standard tools with the operating system that perform everyday administrative tasks that users need to accomplish. These are part of the All Users profile of the computer and located in the Administrative Tools group on the Startup menu. Saved as MMC console (.msc) files, these custom tools can be sent by e-mail, shared in a network folder, or posted on the Web. They can also be assigned to users, groups, or computers with system policy settings. A tool can be scaled up and down, integrated seamlessly into the operating system, repackaged, and customized.

Using MMC, system administrators can create unique consoles for workers who report to them or for workgroup managers. They can assign a tool with a system policy, deliver the file by e-mail, or post the file to a shared location on the network. When a workgroup manager opens the .msc file, access will be restricted to those tools provided by the system administrator.

Building your own tools with the standard user interface in MMC is a straightforward process. Start with an existing console and modify or add components to fulfill your needs. Or create an entirely new console. The following example shows how to create a new console and arrange its administrative components into separate windows.

Prerequisites and Requirements

There are no prerequisites: you don't need to complete any other step-by-step guide before starting this guide. You need one computer running either Windows 2000 Professional or Windows 2000 Server. For the most current information about hardware requirements and compatibility for servers, clients, and peripherals, see the Check Hardware and Software Compatibility page on the Windows 2000 website.

Creating Consoles

The most common way for administrators to use MMC is to simply start a predefined console file from the Start menu. However, to get an idea of the flexibility of MMC, it is useful to create a console file from scratch. It is also useful to create a console file from scratch when using the new task delegation features in this version of MMC.

Creating a New Console File

  1. On the Start Menu, click Run, type MMC, and then click OK. Microsoft Management Console opens with an empty console (or administrative tool) as shown in Figure 1 below. The empty console has no management functionality until you add some snap-ins. The MMC menu commands on the menu bar at the top of the Microsoft Management Console window apply to the entire console.

    Figure 1: Beginning Console Window

    Figure 1: Beginning Console Window
  2. Click Console (under Console1). On the Console Menu, click Add/Remove Snap-in. The Add/Remove Snap-in dialog box opens. This lets you enable extensions and configure which snap-ins are in the console file. You can specify where the snap-ins should be inserted in the Snap-in's "added to drop-down box." Accept the default, Console Root, for this exercise.

  3. Click Add. This displays the Add Standalone Snap-in dialog box that lists the snap-ins that are installed on your computer.

  4. From the list of snap-ins, double-click Computer Management to open the Computer Management wizard.

  5. Click Local computer and select the check box for "Allow the selected computer to be changed when launching from the command line."

  6. Click Finish. This returns you to the Add/Remove Snap-ins dialog box. Click Close.

  7. Click the Extensions tab as shown in Figure 2 below. By selecting the check box Add all extensions, all locally-installed extensions on the computer are used. If this check box is not selected, then any extension snap-in that is selected is explicitly loaded when the console file is opened on a different computer.

    Figure 2: Select All Extensions

    Figure 2: Select All Extensions
  8. Click OK to close the Add/Remove Snap-in dialog box. The Console Root window now has a snap-in, Computer Management, rooted at the Console Root folder.

Customizing the Display of Snap-ins in the Console: New Windows

After you add the snap-ins, you can add windows to provide different administrative views in the console.

To add windows

  1. In the left pane of the tree view in Figure 3 below, click the + next to Computer Management. Click System Tools.

    Bb742442.mmc3(en-us,TechNet.10).gif

    Figure 3: Console1: System Tools
  2. Right-click the Event Viewer folder that opens, and then click New window from here. As shown in Figure 4 below, this opens a new Event Viewer window rooted at the Event Viewer extension to computer management.

    Figure 4: Event Viewer

    Figure 4: Event Viewer
  3. Click Window and click Console Root.

  4. In the Console Root window, click Services and Applications, right-click Services in the left pane, and then click New Window. As shown in Figure 5 below, this opens a new Services window rooted at the Event Viewer extension to Computer Management. In the new window, click the Show/Hide Console Tree toolbar button to hide the console tree, as shown in the red circle in Figure 5 below.

    Bb742442.mmc5(en-us,TechNet.10).gif

    Figure 5: Show/Hide Button
  5. Close the original window with Console Root showing in it.

  6. On the Window menu, select Tile Horizontally. The console file should appear and include the information shown in Figure 4 and Figure 5 above.

  7. You can now save your new MMC console. Click the Save as icon on the Console window, and give your console a name. Your console is now saved as a .msc file, and you can provide it to anyone who needs to configure a computer with these tools.

Note: Each of the two smaller windows has a toolbar with buttons and drop-down menus. The toolbar buttons and drop-down menus on these each of these two windows apply only to the contents of the window. You can see that a window's toolbar buttons and menus change depending on the snap-in selected in the left pane of the window. If you select the View menu, you can see a list of available toolbars.

Tip: The windows fit better if your monitor display is set to a higher resolution and small font.

Creating Console Taskpads

If you are creating a console file for another user, it's useful to provide a very simplified view with only a few tasks available. Console taskpads help you to do this.

To create a console taskpad

  1. From the Window menu, select New Window. Close the other two windows (you will save a new console file at the end of this procedure). Maximize the remaining window.

  2. In the left pane, click the + next to the Computer Management folder, then click the + next to the System Tools folder. Click System, click the Event Viewer folder, right-click System, and select New Taskpad View.

  3. Go through the wizard accepting all the default settings. Verify the checkbox on the last page is checked so that the Task Creation wizard can start automatically.

  4. Choose the defaults in the Task Creation wizard until you come to the page shown below in Figure 6, then choose a list view task and select Properties:

    Figure 6: New Task Wizard

    Figure 6: New Task Wizard
  5. Click Next and accept the defaults for the rest of the screens. By selecting an Event and clicking Properties, you can see the property page for that Event.

    After you click Finish on the last screen, your console should look like Figure 7 below:

    Bb742442.mmc7(en-us,TechNet.10).gif

    Figure 7: New Console Showing System Event Log
  6. Click the Show/Hide console tree toolbar button.

  7. From the view menu, click Customize and click each of the options except the Description bar to hide each type of toolbar.

The next section discusses how to lock the console file down so that the user sees only a limited view. For right now your console file should look like Figure 8 below.

Bb742442.mmc8(en-us,TechNet.10).gif

Figure 8: Customized View

Setting Console File Options

If you are creating a console file for another user, it is useful to prevent that user from further customizing the console file. The Options dialog box allows you to do this.

To set console file options

  1. From the Console menu, select Options.

  2. Change the Console Mode by selecting User Modelimited access, single window from the drop-down dialog box. This will prevent a user from adding new snap-ins to the console file or rearranging the windows.

  3. You can change the name from Console1. Click OK to continue.

  4. Save the console file. The changes will not take effect until the console file is opened again.

This is just one example of how the Microsoft Management Console lets you group information and functionality that previously would have required opening a Control Panel option plus two separate administrative tools. The modular architecture of MMC makes it easy for system network developers to create snap-in applications that leverage the platform while easing administrative load.

Additional Information

For the latest information on the Windows 2000 network operating system, visit the Windows 2000 website and the Microsoft Windows NT Forum on the Microsoft Network.

For specific help about installing and using Windows 2000, see Windows 2000 Professional Online Help and Windows 2000 Server Online Help.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.