Questions tagged [mmc]

The Microsoft Management Console (MMC) is a component of Windows that provides an administrative interface for system configuration. It can be extended with _snap-ins_, which are COM or managed code components that provide the user interface for a particular administrative domain.

The Microsoft Management Console (MMC) is a Windows application used by administrators and power users to administer a Windows system. Administration of varying domains -- such as event logs or starting and stopping [Windows service]s -- can be done within the same console.

MMC hosts components called snap-ins. These are implemented Snap-ins are extensions to the MMC executable, which hosts them and provides a window frame into which they expose their user interfaces. Traditionally, snap-ins have been implemented as COM components, but in recent releases of Windows, support is provided for snap-ins written for the managed runtime.

181 questions
4
votes
1 answer

Form has different style when shown from MMC snap-in

I'm displaying a dialog in an MMC snap-in. When the dialog is called from the result pane it has the Windows theme. However when the dialog is called from the snap-in scope pane context menu it has a different style. The snap-in is written in C++…
ugerjo
  • 43
  • 2
4
votes
0 answers

How do I pin MMC with a parameter to the taskbar with Chocolatey?

I'm using PowerShell and a Chocolatey cmdlet Install-ChocolateyPinnedTaskBarItem and attempting to pin the Hyper-V Manager shortcut to the Windows taskbar. This is a 64 bit installation of Windows. Normally you can…
p.campbell
  • 98,673
  • 67
  • 256
  • 322
4
votes
1 answer

Why does an equality check fail when copy/pasting certificate thumbprint strings?

I have two certificate thumbprints, retrieved from Microsoft Management Console. When I copy/paste the values into my program, and then manually type the same values to perform an equality check, they fail. Does anyone know why, when pasting the…
user2049023
4
votes
1 answer

Why do we need to install the .pfx certificate (as opposed to .cer) in Windows before you can make calls using the client certificate?

I've written a small console application to make a HTTP call to a server using a client certificate. The code I've written reads the .cer file from the specificed location to make the request: X509Certificate Cert =…
GrowinMan
  • 4,891
  • 12
  • 41
  • 58
4
votes
1 answer

How to create a Private-Key exportable self-signed certificate?

I've tried the below template which creates the certificate and installs it in the localmachine Personal certificate store: makecert -sk <> -iv RootCATest.pvk -n "CN=<>" -ic RootCATest.cer -sr localmachine -ss my -sky…
The Light
  • 26,341
  • 62
  • 176
  • 258
4
votes
2 answers

Can I host an MMC snapin in an application

Is there a way to host an MMC snapin in an application? Specifically, we have an "Enterprise Management Application" that we use to manage our applications / services, and we want to add certain functionality to this utility that is already…
Real John Connor
  • 447
  • 5
  • 12
3
votes
2 answers

Where should I reference Microsoft.ManagementConsole.dll from?

I'm trying to follow the instructions located at How-To Create a Hello World Snap-in using Visual Studio 2010 and it tells me I need to reference Micorosft.MagamentConsole.dll which can be found in the MMC 3.0 SDK, which is in turn part of the…
Justin
  • 84,773
  • 49
  • 224
  • 367
3
votes
0 answers

Using old MMC snap-in on windows 2003 x64 and windows 2008 x64 with .NET 4.0 Framework

We are using the ironring MMC C# library, on win2003 32bit it's work good using .NET 1.1 framework. we do some upgrade to the ironring MMC C# library and convert it to .NET 4.0. it's seems to work good except that we see a corrupted text in our…
Yaron Amar
  • 181
  • 1
  • 14
3
votes
3 answers

Open event viewer from a certain node

What is the command to open windows event viewer displaying a particular node details? For example if I simply use eventvwr command; it opens the UI with Root Node selected. I want Application node selected when it is opened OR any other node. Can…
Azodious
  • 13,752
  • 1
  • 36
  • 71
3
votes
2 answers

curl: (35) schannel: SNI or certificate check failed: SEC_E_WRONG_PRINCIPAL (0x80090322) - The target principal name is incorrect

I am trying to setup a https server for local development.I am using a Windows 10 machine . I have generated a self signed Certificate using openssl. I used the following commands. openssl genrsa -out key.pem openssl req -new -key key.pem -out…
Mukesh Kumar
  • 302
  • 1
  • 2
  • 9
3
votes
1 answer

Warning on certificate keyUsage

I have created a certificate using MMC console and assigned it to a website. However, when I view the certificate there is a warning icon on the KeyUsage part. You can see this in the below screenshot: Also, I'm getting error in one of the…
3
votes
1 answer

Access denied with mmc.exe

I have a strange error that came up in front of me. I am getting an mmc.exe error (MMC is the Microsoft Management Console). When I open services.msc it gives me this error and it says Your administrator has blocked this service for security…
Rohan Rao
  • 2,505
  • 3
  • 19
  • 39
3
votes
0 answers

How can I call MMC Snap-In to Import Certificates

I'm working on an application to a client and he asked me to make call to the MMC Import Certificate Wizard and also the Export Certificate Wizard. Even I told him we can develop an "internal and easier routine" to perform these jobs, my client told…
David BS
  • 1,822
  • 1
  • 19
  • 35
3
votes
1 answer

How do I determine if services.msc snap-in is loaded into mmc console?

I need to prompt user to close services.msc snap-in on program uninstall. How do I do that?
user10101
  • 1,704
  • 2
  • 20
  • 49
3
votes
2 answers

MMC SnapIn and .Net 4.x

We recently upgraded all of our projects to Visual Studio 2012 and .Net 4.5. Most of our projects have custom MMC snapins that handle product configuration. I've now learned that MMC 3.0 doesn't natively handle the .Net 4.0 runtime, since the…
Joe
  • 447
  • 2
  • 8
  • 15
1
2
3
12 13