Blog Stats
  • Posts - 104
  • Articles - 0
  • Comments - 108
  • Trackbacks - 487

 

Hitchhikers guide to using "MMC : Microsoft Management Console"

Recently we decided that our tool should have management console that will have a management/configuration snap-in that will be hosted in MMC much like the ones we all see with IIS, SQL Server etc. So I was asked to look into all the possibilites of using and developing MMC snap-in. Following is a small narration of my findings for your information.

MMC an Introduction:

 MMC stands for Microsoft Management Console. It provides simple, consistent, and integrated administration user interface for managing windows based applications. MMC also provides and SDK that can be used to develop tools calles "Snap-Ins".
 
 Developing MMC Snap-Ins:
 MMC snap-ins can be developed in any development environment that supports producing COM Components. MMC snap-in exposes certain interfaces,methods and events that are available to MMC console. Likewise MMC Console also exposes certain interfaces,methods and events that are available to the snap in so thats how  a snap in talks to console and vice versa.

 One can develop MMC snap in using VC++ or VB. I myself started out developing an MMC snap in using  VC++6.0, I used ATL COM wizard and created a dll. And then I added an ATL object of type MMC snap in to my project. (MMC type object becomes  available to your Visual Studio once you have installed MMC SDK.) I dint have much success in playing with that becuase its been good 3-4 years since I last did any serious development VC++ 6.

 Yes, right, I am a .NET freak. So I needed some thing in .Net to write my snap in. And thats exactly when I bumped into this  .NET Wrapper implementation for accessing MMC SDK. For more details on .NET based development of MMC please visit: http://sourceforge.net/projects/mmclibrary/

I have also read it on some blog that Microsoft is going to offer some native support for MMC development in .NET 2.0.
 
 Following are some of the resources that can get any one started in MMC.
 
MSDN Home for MMC Snapin:
 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mmc/mmc/microsoft_management_console_start_page.asp 


Download MMC 2.-0:
 http://download.microsoft.com/download/C/4/F/C4F5FB61-F52B-436F-B436-81ADDC813DD5/sms20sdk.exe

John Perkins Article:
 http://www.jonperkins.com/exe/col0600.aspx

A Book that talks about MMC and WMI :
 http://www.wbem.co.uk/codesamples/books.shtml

MMC Snapin Designer for VB:
 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mmc/mmc/vb_introduction.asp

Dot Net Wrapper for MMC:
 http://www.ironringsoftware.com/DesktopDefault.aspx?PageId=1
 Source forge:
 http://sourceforge.net/projects/mmclibrary/

 Sample Code for .NET Wrapper for MMC:
 http://www.csharphelp.com/archives3/archive528.html


 Hammad Rajjoub,
MVP (Windows Server System - XML Web Services),
User Group Leader - Dot Net Wizards (http://dotnetwizards.blogspot.com),
Chariman UG Relations Committee (http://inetapakistan.org),
Member Speakers Bureau (http://mea.ineta.org)

Feedback

# re: Hitchhikers guide to using "MMC : Microsoft Management Console"

Gravatar Hi,
This is a Nice site talk about MMC for the developer. I thanks to these people who did the very nice presentation here.

Regards
Tim
timothyasir@yahoo.com 10/20/2005 12:02 PM | Timothy Asir

# re: Hitchhikers guide to using "MMC : Microsoft Management Console"

Gravatar Wow! This is a very good site I did't seen ever! to know about MMC. Even my Husband Timothy also suggested me to see this.
Friends can meet me at www.whywhywhy.itgo.com! 1/20/2006 6:43 AM | Rebecca

# re: Hitchhikers guide to using "MMC : Microsoft Management Console"

Gravatar Nice compilation Hammad. It really helps

best regards,
zahidnaseer@yahoo.com 4/12/2006 2:58 PM | Zahid Naseer

# re: Hitchhikers guide to using "MMC : Microsoft Management Console"

Gravatar So having created an MMC console. I find myself needing to edit it (to rearrange the order of the plug-ins, etc.)

How do I do this? 5/8/2006 9:44 AM | Vern Scott

# Re: Management Console

Gravatar If you want to develop for the actual management console: 6/13/2007 3:37 AM | Channel 9

# re: Hitchhikers guide to using "MMC : Microsoft Management Console"

Gravatar s 7/13/2007 3:48 AM | s

# re: Hitchhikers guide to using "MMC : Microsoft Management Console"

Gravatar Dear Sir,

My name is rajesh kumar, i need more information regarding MMC Snap-Ins Programming.

How to use MMC Snap-Ins like Disk Defragment, Event Viewer and Disk Management using VC++ Programme.

Please sir, iam doing a college challenging project relates on this.

This will be very help full for me

Regards
Rajesh Kumar R 10/4/2007 2:03 AM | Rajesh Kumar R

Post a comment





 

Please add 1 and 8 and type the answer here:

 

 

Copyright © INETA Pakistan