The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,595 other followers

Saving MMC files as MSC and prevent the “save console settings” dialog.

Posted by jpluimers on 2015/07/24

Two tricks when creating MSC files that contain the snap-in configuration of the MMC (Management Console).

Normally you do this once:

  1. Start MMC
  2. Add some snap-ins
  3. Save your configuration as an MSC file

And then when you need that particular configuration, each time:

  1. Open the MSC file
  2. Perform some actions
  3. Close the MMC
  4. Answer No to this question:

---------------------------
Microsoft Management Console
---------------------------
Save console settings to [filename].msc?
---------------------------
Yes No Cancel
---------------------------

The trick around this last question is:

  1. Open the “File” menu.
  2. Choose the “Options” sub-menu.
  3. Change the “Console mode” from “Author mode” to any of the “User mode values”

Now MMC will not bug you asking to save again.

What this trick does is actually the reverse of what I found in The Administration Console in Win7 x64:

  1. Open the MSC file in a text editor that understands Unicode.
  2. Change changing the value of the ProgramMode attribute from "Author" to "UserSDI" .
  3. Save the MSC file.

This is the mapping table of ProgramMode values to the UI:

  • User=User mode – full access
  • UserMDI=User mode – limited access, multiple window
  • UserSDI=User mode – limited access, single window (this is the default for many *.msc files shipping with Windows).

Note that if the MSC file is still in Author mode, you can even customize the MSC file further:

  • Change the Icon from the “File” menu, choose the “Options” sub-menu, then click the “Change Icon” button and choose a new icon (optionally from a separate Exe file).

–jeroen

via: The Administration Console in Win7 x64

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: