.MSC

MSC File

Microsoft Management Console Snap-in Control File
Ask a question
QUICK ANSWER

An MSC file is a Microsoft Management Console configuration file that opens a Windows administrative tool - Device Manager, Group Policy, Services, and others all run as .msc files. Double-click one or type its name in the Win+R dialog to open it. Never open an MSC file from an email or download; it can execute code on your machine.

Developer: Microsoft Corporation Category: System Files MIME: application/octet-stream
OPENS ON Windows
Related: .NOMEDIA · .DLL · .TMP · .LNK

On this page

19k+ extensions indexed
Last reviewed Jun 26, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the MSC file format?

.msc files belong to the category of snap-in control files for Windows administration. .msc files contain the functional snap-in tools that plug into Microsoft Management Console (mmc.exe). This administrative console has been part of Windows since Windows 2000, first appearing in the Windows NT 4.0 Option Pack (1998). Snap-in modules for MMC are stored in .msc files. Modern .msc files (MMC 3.0, Windows Vista and later) are written in XML markup and can be opened in Notepad or any text editor. Older .msc files from Windows XP and earlier use a binary OLE2 Structured Storage format, not plain text.

The built-in Windows console, Microsoft Management Console, allows managing the system, monitoring its operation, and carrying out administrative tasks such as disk management, service control, and event log viewing. Standard modules, stored in .msc files, are distributed along with the operating system from Microsoft. Well-known built-in .msc files include:

  • devmgmt.msc - Device Manager
  • services.msc - Services
  • diskmgmt.msc - Disk Management
  • gpedit.msc - Group Policy Editor (Pro/Enterprise editions only)
  • eventvwr.msc - Event Viewer

Any .msc file can be launched directly from the Win+R run dialog or from a command prompt.

When the standard functionalities provided by Windows prove insufficient, it is possible to develop custom snap-in modules and save them in .msc files. This is facilitated by the MMC SDK distributed through the Microsoft Developer Network environment. With it, developers can create new and modify existing .msc files, thereby gaining access to new functionalities of the administrative console.

A 2024 security technique (GrimResource) demonstrated that crafted .msc XML can be used to trigger malicious DLL loading. Exercise caution with .msc files received from untrusted sources.

Security & safety

RISK: HIGH

MSC files can load COM snap-ins and execute code - never open .msc files from untrusted sources (email, download). In 2024, the GrimResource technique exploited crafted .msc files to silently load malicious DLLs without user interaction beyond opening the file. Windows SmartScreen may not warn for .msc files by default. Legitimate .msc files come from Windows system directories or trusted admin tools.

Format details

in a nutshell
FULL NAMEMicrosoft Management Console Snap-in Control Fileaka MMC Console File, MMC Snap-in File
DEVELOPERMicrosoft Corporationsince 1998 (Windows NT 4.0 Option Pack, MMC 1.0)
CATEGORYSystem Files
MIME TYPEapplication/octet-stream
TYPEXML document (modern) or OLE2 Structured Storage (legacy binary)
This extension is also used by…
  • MuseScore 1.x Project File - MuseScore (music notation software) version 1.x saved projects as .msc (XML-based score format); superseded by .mscz (compressed) in MuseScore 2+.
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304
HEX
3C3F786D6C
ASCII
<?xml
Modern MSC files (Windows Vista+, MMC 3.0) are XML with root element <MMC_ConsoleFile>. Legacy MMC 1.x/2.x files are OLE2/CFBF binary (magic D0 CF 11 E0 at offset 0). Both variants use the .msc extension; type detectable by reading first bytes.

Programs that open MSC files

Windows3 apps
Windows Notepad Built-in Right-click → Open with → Notepad to read the XML content of MMC 3.0 .msc files. Legacy binary files will display garbage.
Microsoft Management Console (mmc.exe) Built-in Double-click the .msc file, or press Win+R, type the .msc filename (e.g. devmgmt.msc), press Enter. Some consoles require administrator privileges (right-click → Run as administrator).
Visual Studio Code Open-source Open in VSCode for syntax-highlighted XML viewing/editing of modern .msc files.

Technical details

deep spec
Modern file formatUTF-16 LE XML with root element <MMC_ConsoleFile> (MMC 3.0, Windows Vista and later)
Legacy file formatOLE2 Structured Storage binary (MMC 1.x/2.x, Windows NT4/XP/2003)
Magic bytes (modern)3C 3F 78 6D 6C (<?xml) at offset 0
Magic bytes (legacy)D0 CF 11 E0 at offset 0 (OLE2 Compound File Binary signature)
Embedded resourcesIcons and bitmap images encoded as Base64 within XML elements
MMC version historyMMC 1.0 (NT4, 1998), MMC 2.0 (XP/2003), MMC 3.0 (Vista+, XML-based)
PlatformWindows NT 4.0 Option Pack (1998) through Windows 11
Launch methodWin+R run dialog, command prompt (mmc.exe path.msc), or double-click in Explorer
Notable built-in filesdevmgmt.msc, services.msc, diskmgmt.msc, gpedit.msc, eventvwr.msc
SDK extensibilityCustom snap-ins built via MMC SDK distributed through Microsoft Developer Network
Security concernGrimResource technique (2024) uses crafted .msc XML to execute malicious DLL code via apds.dll XSL transform
Typical file size5 KB - 500 KB
Released1998 (Windows NT 4.0 Option Pack, MMC 1.0)
Latest versionMMC 3.0 (Windows Vista/Server 2008 and later)
Specificationlearn.microsoft.com

MSC conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with MSC files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about MSC files.

Frequently asked questions

How do I open an MSC file?
Double-click it or press Win+R, type the filename (e.g. gpedit.msc), press Enter. Some require 'Run as administrator'.
What is gpedit.msc and why can't I open it?
gpedit.msc is the Group Policy Editor, available only on Windows Pro, Enterprise, and Education. Windows Home does not include it.
Can I edit an MSC file in a text editor?
Yes - modern MMC 3.0 .msc files (Windows Vista+) are XML. Open with Notepad or VS Code. Older binary .msc files from XP/2003 are OLE2 format and not human-readable.
Is an MSC file dangerous?
It can be. Malicious .msc files were used in the 2024 GrimResource attack to execute code. Never open .msc files from emails, downloads, or unknown sources.
Where are Windows built-in MSC files stored?
In C:\Windows\System32\ (e.g. devmgmt.msc, services.msc, compmgmt.msc).
Why do my MSC file conversions (to PDF, LilyPond, MuseScore) not work?
Those conversion listings on some sites confuse two different formats: the Microsoft Management Console .msc and the MuseScore 1.x .msc music score. They are entirely unrelated.

References

1Microsoft Learn - MMC Console Fileslearn.microsoft.com
2Wikipedia - Microsoft Management Consoleen.wikipedia.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.JPGJPEG Image
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.RPMSGRestricted Permission Message
7.DBSQLite Database File
8.BINCD/DVD Disc Image (BIN/CUE)
9.PARTPartial Download File
10.JSONJavaScript Object Notation file

Related extensions

.NOMEDIAAndroid No-Media Marker File
.DLLDynamic Link Library
.TMPTemporary File
.LNKWindows Shell Link (Shortcut)
.PKGmacOS Installer Package
.ETLEvent Trace Log

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z