MMC Dark Mode
Dark theme for the console snap-ins: Device Manager, Event Viewer, Services, Task Scheduler and Disk Management.
Author: metanoid18
A dark theme for the Microsoft Management Console: Device Manager, Services,
Event Viewer, Task Scheduler, Disk Management and anything else hosted by
mmc.exe. Version 1.1 builds on work contributed by FadeMind.
Screenshots
Device Manager with the mod off:

Device Manager with the mod on:

What it does
The mod themes MMC windows in the mmc.exe process, including common trees,
list views, property sheets and chrome. It also contains targeted handling for
Services, Event Viewer, Task Scheduler and Disk Management. Existing menus and
toolbars remain available. Some embedded content draws itself and is not themed.
Switching the mod off restores native styles, colours and painting without
altering the system-wide colour table. If every view of an embedded host class
(such as AtlAxWinEx) was already closed before unloading, no live window of
that class remains to reset its background brush, so newly opened views of that
host keep the dark background until MMC restarts.
Known limits
- MMC hosts many snap-ins and not every control or embedded page is covered.
Layouts, visual styles and Windows builds may differ from those tested.
- The Actions pane caption adjustment is x64-only and uses private DirectUI
interfaces. If the required interfaces or hooks are unavailable, the native
appearance is retained. Other custom-drawn content may remain light.
- Disk Management's selected partition frame adjustment is x64-only and checks
an exact native drawing-code signature. On an unknown or changed build it
leaves that frame unchanged rather than guessing. The blue partition colour
is adjusted only when the native renderer requests the observed stock navy.
Any region or legend configured to that same navy will also be recoloured;
other brush colours and native patterns are left unchanged.
- The mod checks high contrast at load and does not activate when it is already
enabled. Switching high contrast while MMC is running is not guaranteed to
update every themed control; restart the console or disable the mod.
- Some GDI brushes are deliberately retained until the MMC process exits because
native controls may cache them. Repeatedly reloading the mod in the same
process can increase GDI handle use.
- The property-sheet tab strip is custom-painted; other tab layouts keep their
native drawing. Some native and WinForms push buttons have scoped dark faces
and text. Custom images, drawing methods or unavailable hooks can affect
their appearance; controls outside the scoped paths keep native visuals.
- The maximized child window's menu-row buttons use scoped custom drawing.
Other layouts may keep the native appearance. Restored child-window captions
and their buttons can remain light.
Changelog
1.1.1
- Dialog check boxes and radio buttons paint their own dark glyph and caption.
- Wizard pages (including Insert ActiveX Control): page labels, divider/header
lines and blank 49-pixel header bitmaps are drawn in the dark palette; wizard
detection works whether or not a hidden tab control is present.
- Result-view host windows use the dark class brush, MMC's empty background
placeholder static paints dark,
FillRect swaps COLOR_xxx+1 pseudo-brushes
for the dark palette, Shell Embedding and Shell DocObject View paint empty
areas dark, and new embedded web views stay clipped behind an empty window
region for up to 800 ms until their page loads.
- Result list panes and Actions captions drop their white 3D frames, and the
Actions group header drops its pale gradient-caption bottom row.
- Windows created with
CreateWindowExA (including MMC's OCX view host) are
themed at creation.
- Message boxes and user32 dialogs are themed through a per-thread
WM_INITDIALOG watcher rather than wrapping modal calls, and unhandled
messages pass straight through the subclass proc so open modals cannot stall
unloading.
- Unloading waits for busy UI threads instead of skipping them, ignores
non-UI helper windows, and restores class brushes, window styles, list
palettes and web-view regions.
1.1
- Scoped handling covers read-only WinForms fields, hosted lists, and button
faces and text. Some controls and transitions may still keep native colours.
- Edit fields in property sheets use classic painting: no light themed frame,
no light fill for read-only fields. Editable fields get a slightly raised fill.
- Hosted WinForms separator lines (thin sunken labels) are drawn as a single
line in the border colour instead of the system's white 3D edge.
- Task Scheduler: the General tab (the first page, which WinForms builds before
the view is attached) is themed like the other tabs. Hosted WinForms windows
are recognised by class name instead of by their parent chain.
- Task Scheduler: combo boxes on the Conditions and Settings tabs (including the
editable ones such as idle time) are dark and are no longer limited to a fixed
nesting depth under the summary pane.
- Task Scheduler: the details pane of a selected task paints its page body and
group-box frames in the dark palette, captions use light text, and hosted
WinForms tab strips share the dark tab painter.
- Tab strips refresh as soon as a tab is selected, added or renamed from code,
rather than waiting for a mouse click or key press.
- Palette: all colours are named constants. Hover and pressed states are neutral
greys, borders and captions use explicit colours, list rows distinguish hot,
selected and inactive selection states, and accent blue marks the active tab,
focused edit field and default push button.
- Status bar text uses the control's own font instead of the raster system font,
and panes are separated by thin dividers.
- Toolbar buttons show a pressed state.
- Fixed the first property-sheet tab strip paint falling back to native light
drawing.
- Fixed
Dark title bar and Rounded window corners not reverting when switched
off while the mod is running.
- Group box captions with
& mnemonics measure accurately, disabled captions
are dimmed, and offsets scale with window DPI.
- Removed frame styles are tracked in a map instead of a fixed 64-slot table.