Windows 8/8.1 Display Switch Recreation
This mod recreates the Windows 8/8.1 Display Switch (Second screen / Project) pane on Windows 10 and Windows 11
Author: babamohammed
IMPORTANT: This modification runs in explorer.exe and does not require adding the critical
dwm.exe process to Windhawk's inclusion list. When an elevated window or a secure desktop is
active, Windows may not deliver keyboard input to Explorer; in that case the native Project
flyout remains available.
This mod recreates the Windows 8/8.1 display switch panel (the Second screen flyout in
Windows 8 and the Project pane in Windows 8.1) on Windows 10 and Windows 11. It uses the
real Windows display configuration and does not replace system files, patch the graphics driver,
or modify native display binaries. Topology changes and Set as main display use documented
Windows APIs and persist like the native Project flyout. This modification has been tested on Windows 10 21H2 and Windows 11 24H2.
Screenshot

Features
- Four native display modes: PC screen only, Duplicate, Extend, and Second screen only.
- Live display state with monitor hotplug and Settings-app changes reflected while the panel is open.
- Windows 8.1-style layout, embedded icons, accent color, per-monitor DPI support, and translations
for English, Italian, Spanish, French, Portuguese, German, Russian, Simplified Chinese, Japanese,
and Korean.
- Right-click commands: Set as main display, Detect displays, More settings, and
Copy monitor information.
- Keyboard controls:
Win+P to open or toggle, Left/Right/Up/Down to select, Enter or
Space to apply, 1-4 for direct selection, F5 to detect displays, and Esc to dismiss.
- While the panel is open, repeated
Win+P presses cycle through the modes; releasing Win applies
the selected mode and closes the panel.
- Click-outside and foreground-change dismissal, plus a status line for display API errors.
- The Windows 8/8.1 Devices > Second screen/Project route and a no-argument
DisplaySwitch.exe launch replace the native DisplaySwitchUIWnd; direct commands such as
DisplaySwitch.exe /extend remain untouched.
Win+P input path
When enabled, the mod installs one narrow WH_KEYBOARD_LL hook in the main explorer.exe process.
It consumes only the physical Win+P sequence, passes injected input and every other key through,
and sends private messages to the panel. The hook is removed when the setting is disabled or the mod
is unloaded. If an elevated window or a secure desktop is active, the hook may not receive the input;
the native Windows Project flyout is intentionally preserved in that case.
The panel loads only in the Explorer process that owns the shell window, so separate folder-window
processes do not create duplicate panels.
Windows APIs
The panel uses documented public APIs:
| Purpose |
API |
| Read paths, topology, and monitor names |
QueryDisplayConfig, GetDisplayConfigBufferSizes, DisplayConfigGetDeviceInfo |
| Apply or validate a topology |
SetDisplayConfig with SDC_APPLY, SDC_VALIDATE, and the topology flags |
| Detect displays |
SetDisplayConfig with SDC_USE_DATABASE_CURRENT |
| Set the primary display |
ChangeDisplaySettingsEx with CDS_SET_PRIMARY and CDS_UPDATEREGISTRY |
| Monitor information and DPI |
EnumDisplayMonitors, GetMonitorInfo, EnumDisplaySettingsEx, GetDpiForMonitor |
| Other display settings |
ms-settings:display deep links |
| Replace another native Project flyout |
SetWinEventHook(EVENT_SYSTEM_FOREGROUND) and DisplaySwitchUIWnd detection |
| Error reporting |
documented return codes and FormatMessage |
The mod does not write arbitrary registry values, call driver-private interfaces, launch
DisplaySwitch.exe, or undo user-requested display changes when disabled. ERROR_ACCESS_DENIED
is shown in the panel when the current session cannot change the display configuration.
Settings
- Open with Win+P: replace the native Project flyout and supported native entry points.
- Panel color: accent, Charcoal, or Custom color.
- Full-height pane: use the Windows 8.1 full-height layout or fit the content.
- Validate before applying: validate the topology with
SDC_VALIDATE before applying it.
- Allow path persistence: add
SDC_PATH_PERSIST_IF_REQUIRED when applying a topology.
- Disable unavailable options: gray out modes that require more than one connected display.
Limitations
- The mod cannot make a topology work when the display driver does not support it.
- Wireless-display discovery remains part of the native Windows Connect experience.
- Resolution, refresh rate, orientation, HDR, and the embedded artwork are not re-created or changed.
Credits
- AdministratoX — Metro UI interface template.
- Meteoni —
IsMainExplorerProcess pattern.
- The Windows 8/8.1 Search Charm Recreation mod — panel, animation, light dismiss, z-band,
context-menu, and translation components.