<p/> <HEAD> </HEAD> <BODY BGCOLOR="#ffffff" TEXT="#000000"> <a class='inlineblock cb lh2 dr tr p5' href='18'>[Previous]</a> <a class='inlineblock cb lh2 dr tr p5' href='20'>[Next]</a><p/><A NAME="107"><H1>Lesson 2: Using Consoles</H1></A> <p/>This lesson explains how you can create, use, and modify consoles. This lesson also explains how you can use consoles for remote administration.<p/><blockquote> <b>After this lesson, you will be able to</b> <ul> <p/><li>Create and use consoles.</li><p/><li>Create custom consoles for remote administration.</li><p/></ul> <p/><b>Estimated lesson time: 40 minutes</b><p/></blockquote><p/><A NAME="108"><H2>Creating Consoles</H2></A> <p/>You can create your own custom consoles by combining multiple preconfigured snap-ins with third-party snap-ins, which are provided by independent software vendors (ISVs) that perform related tasks. You can then do the following:<p/><ul> <p/><li>Save the custom consoles to be able to use them again.</li><p/><li>Distribute the custom consoles to other administrators.</li><p/><li>Use the custom consoles from any computer to centralize and unify administrative tasks.</li><p/></ul> <p/>Creating custom consoles allows you to meet your administrative requirements by combining snap-ins that you use to perform common administrative tasks. By creating a custom console, you don't have to switch between different programs because all of the snap-ins that you need to perform your job are located in the custom console. You start MMC with an empty console open as follows:<p/><ol> <p/><li> Click the Start button.</li><p/><li> Click Run.</li><p/><li> Type <b>mmc</b> in the Open box, and then click OK.</li><p/>A console window titled Console1 opens; it contains a window titled Console Root. This is an empty console that is ready for you to customize. Use the Console menu to create, open, save, and customize a console. The following table describes when to use the different commands on the Console menu.<p/><table cellpadding=5 width="95%"> <tr> <th>Command</th> <th>Purpose</th></tr> <tr> <td valign="top">New</td> <td valign="top">To create a new custom console</td></tr> <tr> <td valign="top">Open</td> <td valign="top">To use a saved console</td></tr> <tr> <td valign="top">Save or Save As</td> <td valign="top"> To use the console later</td></tr> <tr> <td valign="top">Add/Remove Snap-In</td> <td valign="top">To add or remove one or more snap-ins and their associated extensions to or from a console</td></tr> <tr> <td valign="top">Options</td> <td valign="top">To configure the console mode and create a custom console</td></tr> </table><p/><li> Close the MMC window.</li><p/></ol> <A NAME="109"><H2>Using Consoles for Remote Administration</H2></A> <p/>When you create custom consoles, you can set up a snap-in for remote administration. Remote administration allows you to perform administrative tasks from any location. For example, you can use a computer running Windows 2000 Professional to perform administrative tasks on a computer running Windows 2000 Server. You can't use all snap-ins for remote administration; the design of each snap-in dictates whether you can use it for remote administration.<p/>To perform remote administration<p/><ul> <p/><li>You can use snap-ins from computers running either Windows 2000 Professional or Windows 2000 Server.</li><p/><li>You must use specific snap-ins that are designed for remote administration. If the snap-in is available for remote administration, Windows 2000 prompts you to choose the target computer to administer.</li><p/></ul> <p/><img src="/image/library/english/10219_practic.JPG" width=92 height=74 border="0"> <p/><A NAME="110"><H2>Practice: Creating a Customized Microsoft Management Console</H2></A> <p/>In this practice, you will create a customized console. You will use this console to confirm the last time that your computer was started. You will also add a snap-in with extensions.<p/><li><b>To create a customized console</b></li><p/><ol> <p/><li>Click the Start button, and then click Run.</li><p/><li>In the Open box, type <b>mmc</b> and then click OK.</li><p/>MMC starts and displays an empty console.<p/><li> Maximize the Console1 window by clicking its Maximize button.</li><p/><li> Maximize the Console Root window by clicking its Maximize button.</li><p/><li> To view the currently configured options, click Options on the Console menu.</li><p/>Notice that the default console mode is Author mode. Remember that Author mode grants users full access to all MMC functionality.<p/><li> In the Console Mode box, make sure that Author Mode is selected, and then click OK.</li><p/><li> On the Console menu, click Add/Remove Snap-In.</li><p/>MMC displays the Add/Remove Snap-In dialog box.<p/><li> Click Add.</li><p/>MMC displays the Add Standalone Snap-In dialog box, as shown in Figure 3.3.<p/><A HREF="'F03tk03x')"> <img src="/image/library/english/10219_F03tk03.JPG" width=404 height=289 border=0 > </A> <p/><!-- caption --><b>Figure 3.3</b> <i>The Add Standalone Snap-In dialog box</i><!-- /caption --> <p/>Notice the available snap-ins. MMC allows you to add one or more snap-ins to a console, enabling you to create your own customized management tools.<p/><li> Select Computer Management and then click Add.</li><p/>The Computer Management dialog box displays.<p/><li> Ensure that Local Computer: (The Computer This Console Is Running On) is selected, and then click Finish.</li><p/>Notice that Computer Management (Local) appears in the Add/Remove Snap-In dialog box.<p/><li> Click Close to close the Add Standalone Snap-In dialog box.</li><p/><li> Click OK to close the Add/Remove Snap-In dialog box.</li><p/><li> On the Console menu, click Save As.</li><p/>MMC displays the Save As dialog box.<p/><li> In the File Name box, type <b>All Events</b> and then click Save.</li><p/>The name of your console appears on the MMC title bar.<p/>Now you will confirm that the console was saved in the Administrative Tools folder by closing and then reopening the console.<p/></ol> <p/><li><b>To confirm the location of a customized console</b></li><p/><ol> <p/><li> On the Console menu, click Exit.</li><p/>You have now created and saved a customized console named All Events.<p/><li> Click the Start button, click Run, type <b>mmc</b>, and then click OK.</li><p/><li> On the Console menu, click Open.</li><p/>MMC displays the Open dialog box. Notice that the console you created (All Events.Msc) is in the Administrative Tools folder.<p/><li> Click the All Events file and then click Open.</li><p/>Windows 2000 opens the All Events console that you saved previously.<p/></ol> <p/><li><b>To add the Event Viewer snap-in to a console</b></li><p/><ol> <p/><li> On the Console menu, click Add/Remove Snap-In.</li><p/>MMC displays the Add/Remove Snap-In dialog box with the Standalone tab showing. Notice that Computer Management is the only loaded snap-in. You will add a snap-in to the console root.<p/><li> In the Add/Remove Snap-In dialog box, click Add.</li><p/>MMC displays the Add Standalone Snap-In dialog box.<p/><li> In the Add Standalone Snap-In dialog box, select Event Viewer, and then click Add.</li><p/>MMC displays the Computer Management dialog box, allowing you to specify which computer you want to administer.<p/>Notice that you can add Event Viewer for the local computer on which you are working, or if your local computer is part of a network, you can also add Event Viewer for a remote computer.<p/>To add Event Viewer for a remote computer, you select the Another Computer option, and then click Browse. In the Select Computer dialog box, you click the remote computer for which you would like to add Event Viewer, and then click OK.<p/>In this case, you will add Event Viewer for your computer, the local computer.<p/><li> In the Select Computer dialog box, make sure that Local Computer is selected, and then click Finish.</li><p/><li> In the Add Standalone Snap-In dialog box, click Close; and in the Add/Remove Snap-In dialog box, click OK.</li><p/>Event Viewer (Local) now appears in the console tree along with Computer Management (Local).<p/></ol> <p/><blockquote><b>TIP</b><hr>To see the entire folder name, drag the border between the console and details panes to the right.</blockquote><p/><li><b>To determine the last time that the computer was started</b></li><p/><ol> <p/><li> In the console tree of the All Events console, expand the Event Viewer (Local) folder, and then click System.</li><p/>MMC displays the most recent system events in the details pane.<p/><li> In the details pane, double-click the most recent Information event listed as Eventlog in the Source column. If the Description box doesn't say &quot;The Event Log Service Was Started,&quot; click the up arrow until you find this description.</li><p/>The Event log service starts as part of your system startup. The date and time represents the approximate time that your system was started. Make a note of the date and time.<p/><li> To close the Event Properties dialog box, click OK.</li><p/><li> On the Console menu, click Exit to close the All Events console.</li><p/>A Microsoft Management Console dialog box appears, asking whether you want to save the console settings to All Events.<p/><li> Click No.</li><p/></ol> <p/><li><b>To remove extensions from a snap-in</b></li><p/><ol> <p/><li> Click the Start button, and then click Run.</li><p/><li> In the Open box, type <b>mmc</b>, if necessary, and then click OK.</li><p/>MMC displays an empty console.<p/><li> Maximize the Console1 and Console Root windows, if necessary.</li><p/><li> On the Console menu, click Add/Remove Snap-In.</li><p/>MMC displays the Add/Remove Snap-In dialog box with the Standalone tab showing. You will add a snap-in to the console root.<p/><li> Click Add.</li><p/>All snap-ins that are listed here are stand-alone snap-ins.<p/><li> In the Add Standalone Snap-In dialog box, in the Available Standalone Snap-Ins box, click Computer Management, and then click Add.</li><p/>MMC displays the Computer Management dialog box, allowing you to specify which computer you want to administer. In this procedure, you will add the Computer Management snap-in for your own computer.<p/><li> Verify that Local Computer is selected, and then click Finish.</li><p/><li> Click Close.</li><p/>Computer Management appears in the list of snap-ins that have been added.<p/><li> In the Add/Remove Snap-In dialog box, click OK.</li><p/>MMC displays the Computer Management snap-in in the console tree below Console Root. Console Root acts as a container for several categories of administrative functions.<p/><li> Expand Computer Management and review the available functions, and then expand System Tools.</li><p/></ol> <p/><blockquote><b>NOTE</b><HR>Do not use any of the tools at this point.</blockquote><p/><ol> <p/>Notice that several extensions are available, including Event Viewer, System Information, and Device Manager. You can restrict the functionality of a snap-in by removing extensions.<p/><li> On the Console menu, click Add/Remove Snap-In.</li><p/>The MMC displays the Add/Remove Snap-In dialog box with the Standalone tab active.<p/><li> Click Computer Management (Local), and then click the Extensions tab.</li><p/>The MMC displays a list of available extensions for the Computer Management snap-in.<p/>What option determines which extensions MMC displays in the Available Extensions list in this dialog box? <p/><a class='inlineblock cb lh2 dr tr p5' href='149'>Answer</a><p/><li> Clear the Add All Extensions check box, and then in the Available Extensions box, clear the Device Manager Extension check box and the System Information Extension check box.</li><p/><li> Click OK.</li><p/><li> Expand Computer Management and then expand System Tools to confirm that Device Manager and System Information have been removed.</li><p/></ol> <p/><blockquote><b>NOTE</b><HR>Do not use any of the tools at this point.</blockquote><p/><ol> <p/><li> Close the console.</li><p/>MMC displays a message, prompting for confirmation to save console settings.<p/><li> Click No.</li><p/></ol> <A NAME="111"><H2>Lesson Summary</H2></A> <p/>In this lesson, you learned how to create custom consoles to perform a unique set of administrative tasks. Once you create customized consoles, you can access them by using the Run command on the Start menu. In the practice portion of this lesson, you created two customized consoles. The first console contained the Computer Management snap-in and then you added the Event Viewer snap-in to it. You used the Event Viewer snap-in to determine the last time your computer was started. The second custom console you created contained the Computer Management snap-in. After you created the second customized console, you learned how to restrict the functionality of a console by removing two of the extensions normally available with the Computer Management snap-in. Finally, in this lesson, you learned how to create custom consoles for remote administration.<p/> - Microsoft Windows 1002000 Professional E2 [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Microsoft Windows 1002000 Professional E2 [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید






[Previous] [Next]

Lesson 2: Using Consoles


This lesson explains how you can create, use, and modify consoles. This lesson also explains how you can use consoles for remote administration.


After this lesson, you will be able to

  • Create and use consoles.
  • Create custom consoles for remote administration.

Estimated lesson time: 40 minutes

Creating Consoles


You can create your own custom consoles by combining multiple preconfigured snap-ins with third-party snap-ins, which are provided by independent software vendors (ISVs) that perform related tasks. You can then do the following:


  • Save the custom consoles to be able to use them again.
  • Distribute the custom consoles to other administrators.
  • Use the custom consoles from any computer to centralize and unify administrative tasks.

Creating custom consoles allows you to meet your administrative requirements by combining snap-ins that you use to perform common administrative tasks. By creating a custom console, you don't have to switch between different programs because all of the snap-ins that you need to perform your job are located in the custom console. You start MMC with an empty console open as follows:


  1. Click the Start button.
  2. Click Run.
  3. Type mmc in the Open box, and then click OK.
  4. A console window titled Console1 opens; it contains a window titled Console Root. This is an empty console that is ready for you to customize. Use the Console menu to create, open, save, and customize a console. The following table describes when to use the different commands on the Console menu.




















    CommandPurpose
    NewTo create a new custom console
    OpenTo use a saved console
    Save or Save As To use the console later
    Add/Remove Snap-InTo add or remove one or more snap-ins and their associated extensions to or from a console
    OptionsTo configure the console mode and create a custom console

  5. Close the MMC window.

Using Consoles for Remote Administration


When you create custom consoles, you can set up a snap-in for remote administration. Remote administration allows you to perform administrative tasks from any location. For example, you can use a computer running Windows 2000 Professional to perform administrative tasks on a computer running Windows 2000 Server. You can't use all snap-ins for remote administration; the design of each snap-in dictates whether you can use it for remote administration.

To perform remote administration


  • You can use snap-ins from computers running either Windows 2000 Professional or Windows 2000 Server.
  • You must use specific snap-ins that are designed for remote administration. If the snap-in is available for remote administration, Windows 2000 prompts you to choose the target computer to administer.


Practice: Creating a Customized Microsoft Management Console


In this practice, you will create a customized console. You will use this console to confirm the last time that your computer was started. You will also add a snap-in with extensions.

  • To create a customized console

    1. Click the Start button, and then click Run.
    2. In the Open box, type mmc and then click OK.
    3. MMC starts and displays an empty console.

    4. Maximize the Console1 window by clicking its Maximize button.
    5. Maximize the Console Root window by clicking its Maximize button.
    6. To view the currently configured options, click Options on the Console menu.
    7. Notice that the default console mode is Author mode. Remember that Author mode grants users full access to all MMC functionality.

    8. In the Console Mode box, make sure that Author Mode is selected, and then click OK.
    9. On the Console menu, click Add/Remove Snap-In.
    10. MMC displays the Add/Remove Snap-In dialog box.

    11. Click Add.
    12. MMC displays the Add Standalone Snap-In dialog box, as shown in Figure 3.3.


      Figure 3.3 The Add Standalone Snap-In dialog box

      Notice the available snap-ins. MMC allows you to add one or more snap-ins to a console, enabling you to create your own customized management tools.

    13. Select Computer Management and then click Add.
    14. The Computer Management dialog box displays.

    15. Ensure that Local Computer: (The Computer This Console Is Running On) is selected, and then click Finish.
    16. Notice that Computer Management (Local) appears in the Add/Remove Snap-In dialog box.

    17. Click Close to close the Add Standalone Snap-In dialog box.
    18. Click OK to close the Add/Remove Snap-In dialog box.
    19. On the Console menu, click Save As.
    20. MMC displays the Save As dialog box.

    21. In the File Name box, type All Events and then click Save.
    22. The name of your console appears on the MMC title bar.

      Now you will confirm that the console was saved in the Administrative Tools folder by closing and then reopening the console.


  • To confirm the location of a customized console

    1. On the Console menu, click Exit.
    2. You have now created and saved a customized console named All Events.

    3. Click the Start button, click Run, type mmc, and then click OK.
    4. On the Console menu, click Open.
    5. MMC displays the Open dialog box. Notice that the console you created (All Events.Msc) is in the Administrative Tools folder.

    6. Click the All Events file and then click Open.
    7. Windows 2000 opens the All Events console that you saved previously.


  • To add the Event Viewer snap-in to a console

    1. On the Console menu, click Add/Remove Snap-In.
    2. MMC displays the Add/Remove Snap-In dialog box with the Standalone tab showing. Notice that Computer Management is the only loaded snap-in. You will add a snap-in to the console root.

    3. In the Add/Remove Snap-In dialog box, click Add.
    4. MMC displays the Add Standalone Snap-In dialog box.

    5. In the Add Standalone Snap-In dialog box, select Event Viewer, and then click Add.
    6. MMC displays the Computer Management dialog box, allowing you to specify which computer you want to administer.

      Notice that you can add Event Viewer for the local computer on which you are working, or if your local computer is part of a network, you can also add Event Viewer for a remote computer.

      To add Event Viewer for a remote computer, you select the Another Computer option, and then click Browse. In the Select Computer dialog box, you click the remote computer for which you would like to add Event Viewer, and then click OK.

      In this case, you will add Event Viewer for your computer, the local computer.

    7. In the Select Computer dialog box, make sure that Local Computer is selected, and then click Finish.
    8. In the Add Standalone Snap-In dialog box, click Close; and in the Add/Remove Snap-In dialog box, click OK.
    9. Event Viewer (Local) now appears in the console tree along with Computer Management (Local).


    TIP
    To see the entire folder name, drag the border between the console and details panes to the right.

  • To determine the last time that the computer was started

    1. In the console tree of the All Events console, expand the Event Viewer (Local) folder, and then click System.
    2. MMC displays the most recent system events in the details pane.

    3. In the details pane, double-click the most recent Information event listed as Eventlog in the Source column. If the Description box doesn't say "The Event Log Service Was Started," click the up arrow until you find this description.
    4. The Event log service starts as part of your system startup. The date and time represents the approximate time that your system was started. Make a note of the date and time.

    5. To close the Event Properties dialog box, click OK.
    6. On the Console menu, click Exit to close the All Events console.
    7. A Microsoft Management Console dialog box appears, asking whether you want to save the console settings to All Events.

    8. Click No.

  • To remove extensions from a snap-in

    1. Click the Start button, and then click Run.
    2. In the Open box, type mmc, if necessary, and then click OK.
    3. MMC displays an empty console.

    4. Maximize the Console1 and Console Root windows, if necessary.
    5. On the Console menu, click Add/Remove Snap-In.
    6. MMC displays the Add/Remove Snap-In dialog box with the Standalone tab showing. You will add a snap-in to the console root.

    7. Click Add.
    8. All snap-ins that are listed here are stand-alone snap-ins.

    9. In the Add Standalone Snap-In dialog box, in the Available Standalone Snap-Ins box, click Computer Management, and then click Add.
    10. MMC displays the Computer Management dialog box, allowing you to specify which computer you want to administer. In this procedure, you will add the Computer Management snap-in for your own computer.

    11. Verify that Local Computer is selected, and then click Finish.
    12. Click Close.
    13. Computer Management appears in the list of snap-ins that have been added.

    14. In the Add/Remove Snap-In dialog box, click OK.
    15. MMC displays the Computer Management snap-in in the console tree below Console Root. Console Root acts as a container for several categories of administrative functions.

    16. Expand Computer Management and review the available functions, and then expand System Tools.

    NOTE
    Do not use any of the tools at this point.


      Notice that several extensions are available, including Event Viewer, System Information, and Device Manager. You can restrict the functionality of a snap-in by removing extensions.

    1. On the Console menu, click Add/Remove Snap-In.
    2. The MMC displays the Add/Remove Snap-In dialog box with the Standalone tab active.

    3. Click Computer Management (Local), and then click the Extensions tab.
    4. The MMC displays a list of available extensions for the Computer Management snap-in.

      What option determines which extensions MMC displays in the Available Extensions list in this dialog box?

      Answer

    5. Clear the Add All Extensions check box, and then in the Available Extensions box, clear the Device Manager Extension check box and the System Information Extension check box.
    6. Click OK.
    7. Expand Computer Management and then expand System Tools to confirm that Device Manager and System Information have been removed.

    NOTE
    Do not use any of the tools at this point.


    1. Close the console.
    2. MMC displays a message, prompting for confirmation to save console settings.

    3. Click No.

    Lesson Summary


    In this lesson, you learned how to create custom consoles to perform a unique set of administrative tasks. Once you create customized consoles, you can access them by using the Run command on the Start menu. In the practice portion of this lesson, you created two customized consoles. The first console contained the Computer Management snap-in and then you added the Event Viewer snap-in to it. You used the Event Viewer snap-in to determine the last time your computer was started. The second custom console you created contained the Computer Management snap-in. After you created the second customized console, you learned how to restrict the functionality of a console by removing two of the extensions normally available with the Computer Management snap-in. Finally, in this lesson, you learned how to create custom consoles for remote administration.

    / 156