22-Tool Non-Hooking Windows Control, Audio & Display in Pure Rust.
100% pure-Rust 22-tool non-hooking Windows command scripting, CoreAudio routing, DDC/CI & VESA EDID display topology, and HWND desktop inspection suite with dual Win32/Iced GUIs and 40-tool policy-gated MCP server.
Zero-GPU Native Win32 & Cross-Platform Iced 0.14
Built on guap-kit (guap-gui-win32 & guap-gui-iced), sharing zero-copy binary parsers, GuapQuery expressions, and 7-format guap-export Merkle custody across two purpose-built desktop binaries.
Native Win32 Virtual Grid Console
Authentic Windows Common Controls v6 interface powered by LVS_OWNERDATA virtual SysListView32 rendering — handles tens of thousands of rows smoothly over Windows Server RDP and headless VMs.
- Zero Electron / WebView2: No Chromium processes, zero GPU/OpenGL crashes
- DPI & Accessibility: Per-Monitor DPI v2 aware with
Microsoft.Windows.Common-Controls6.0.0.0 manifest - Detail + Hex Inspector: Side-by-side record properties and raw byte dump
Cross-Platform Retained Workstation
Identical offline forensic & diagnostic inspection across Linux, macOS, and Windows (winctl2rust gui --iced) with automatic tiny-skia CPU software rendering fallback.
- Cross-Platform Offline Triage: Analyze Windows binary artifacts natively on macOS/Linux
- Paginated Data Grid: Integrated
GuapQueryfilter bar, sorting, JSON tree, and hex pane - One-Click Audit Bundle: Exports 7 RFC-4180/CSP-safe formats with SHA-256/512 Merkle roots
Pure-Rust Binary Parsers & Chain-of-Custody Safety
Decoupled domain parsers verified against 79 deterministic fixtures, 360 E2E checks, and 52 automated R4 exclusion rules in guap-e2e.
Script DSL & Parent-Attributed Spawn (4 Tools)
Pure-Rust cmd script command DSL parser/runner, INI/JSON cmd run launch profiles, documented PROC_THREAD_ATTRIBUTE_PARENT_PROCESS spawning (cmd from-proc), and Task Scheduler v2 one-shot jobs (cmd atnow).
CoreAudio Inspector, CLI & Routing (4 Tools)
Inspect and control Windows CoreAudio endpoints (audio view, audio ctl), per-app default device routing via COM IPolicyConfig / PropertyStore (audio app-config), and safe WM_INPUT wheel volume rules.
CCD Multi-Monitor, DDC/CI & VESA EDID (4 Tools)
Query and apply CCD monitor layouts (display monitors), read/write hardware brightness/contrast/inputs via dxva2 VCP (display ddc), and decode raw binary VESA/CEA-861 EDID blocks offline (display edid).
Window Tree, Clipboard, Fonts & Webcam (10 Tools)
Inspect HWND trees and styles, safely copy data-only text from standard controls, view clipboard formats/history, probe hotkeys & key states, parse OpenType font tables offline (desktop fonts), and capture webcam frames.
PolicyMode::ReadOnlyOnly & --dry-run Gates
Read-only tools run immediately; all 16 mutating actions default to PolicyMode::ReadOnlyOnly (JSON-RPC -32003 SAFETY REFUSAL) and require --allow-mutating --confirm-destructive (or explicit --dry-run).
Strict Zero-Hooking & Zero-Injection Posture
Zero external DLL hooks, zero CreateRemoteThread / NtCreateThreadEx code injection, zero time-manipulation hooks, zero credential recovery, and zero retired legacy tools.
winctl2rust vs. Legacy Workflows
Comparing binary coverage, offline determinism, spreadsheet/XSS sanitization, chain-of-custody verification, and agent safety across common workflows.
| Capability / Metric | winctl2rust (WinSafe + Iced) | Legacy Ad-Hoc Utilities | Raw PowerShell / COM Scripts |
|---|---|---|---|
| Policy & Dry-Run Safety | WIN Mandatory --dry-run preview & ReadOnlyOnly (-32003 SAFETY REFUSAL) | Immediate unguarded OS mutation | Fragile manual -WhatIf checks |
| Offline Determinism | WIN Pure-Rust Script DSL, VESA EDID/CEA-861, OpenType & SHLLINK parsers | Coupled to live Win32 handles | Live Windows desktop required |
| Zero-Injection R4 Boundary | WIN Zero CreateRemoteThread, zero external-DLL hooks, zero credential dumps | Mixed hooking / legacy surface | Unmanaged P/Invoke risk |
| Audit & Chain of Custody | WIN 7 guap-export formats + SHA-256/512 Merkle CustodyManifest + JSONL log | Unverified plaintext output | Manual logging scripts |
| AI Agent Integration | WIN 40 structured MCP 2024-11-05 endpoints with safety schemas | Console stdout scraping only | Custom wrappers required |
Dual-GUI, CLI, Custody & MCP Workbench
Explore how winctl2rust-win32, winctl2rust-iced, pure-Rust CLI parsers, guap-export, and winctl2rust-mcp operate across the workspace.
Zero-GPU Native Win32 Control Console (winctl2rust-win32.exe)
Built with guap-gui-win32 (LVS_OWNERDATA virtual grid, ComCtl v6, Per-Monitor DPI v2) with split dry-run diff pane before committing any display, audio, or HWND action.
Cross-Platform Iced 0.14 Inspector (winctl2rust gui --iced)
Inspect binary VESA EDID dumps, OpenType font tables (.ttf/.otf), .lnk hotkeys, and cmd script DSL recipes across Linux, macOS, and Windows.
Offline EDID, Script DSL, OpenType & SHLLINK Decoders
Exercise display edid, desktop fonts, desktop hotkeys, and cmd script --dry-run deterministically with zero OS side effects.
Unified 7-Format Exports Across All 22 Control Tables
Snapshot window hierarchies, monitor topologies, installed fonts, and CoreAudio endpoints with SHA-256/SHA-512 Merkle provenance.
Policy-Gated MCP Server (winctl2rust-mcp, 40 Endpoints)
By default winctl2rust-mcp boots in ReadOnlyOnly: read-only providers return JSON cleanly while unconfirmed mutating calls return -32003 SAFETY REFUSAL.
The 10 Workspace Crates
Clean Rust 2024 Edition (MSRV 1.88) workspace powered by guap-kit and audited with cargo-deny (Apache-2.0).
ExecutionOptions, R4 non-hooking guards, privilege probe, and canonical 22-tool catalog.
guap-export integration across 7 formats plus tamper-evident JSONL action audit logging.
Command Script DSL parser/runner, launch profiles, PROC_THREAD_ATTRIBUTE_PARENT_PROCESS spawn, Task Scheduler v2.
CoreAudio endpoint inspector, CLI controller, COM PropertyStore app routing, and safe WM_INPUT wheel rules.
Windows CCD topology manager, dxva2 DDC/CI VCP controller, display info, and VESA EDID 1.4/CEA-861 decoder.
Window props, top-level lister, HWND tree, data-only ctrl-export, clipboard/history, hotkeys, keys, OpenType fonts, webcam.
Policy-gated MCP JSON-RPC 2.0 stdio server (`2024-11-05`) enforcing -32003 ReadOnlyOnly defaults.
Unified clap 4.6 CLI (`cmd`, `audio`, `display`, `desktop`, `export`, `mcp`, `gui`, `catalog`) with --dry-run.
Zero-GPU native Win32 virtual list console via WinSafe 0.0.29 & guap-gui-win32 with ComCtl v6 manifest.
Cross-platform Iced 0.14 GUI (`wgpu` + `tiny-skia`) supporting offline EDID/DSL/font/.lnk inspection.
40-Endpoint Policy-Gated stdio MCP Server (24 RO + 16 Mutating)
Exposes 24 read-only providers plus 16 policy-gated mutating actions enforcing PolicyMode::ReadOnlyOnly (-32003) unless explicitly permitted.
Standard Client Configuration (mcp.json / Smithery Ready)
Invoke winctl2rust-mcp directly or pass mcp to the unified CLI (all diagnostic logs route strictly to stderr so JSON-RPC stdout stays clean):
{
"mcpServers": {
"winctl2rust": {
"command": "winctl2rust-mcp",
"args": []
}
}
}
winctl2rust-cmd (4 Tools) 4 tools
| CLI Subcommand | Display Name | Read-Only Provider(s) | Policy-Gated Mutating Action(s) |
|---|---|---|---|
cmd script | Command Script Runner | cmd_script_preview, cmd_script_parse | cmd_script |
cmd run | Process Launch Profiles | cmd_run_profiles, cmd_run_validate | cmd_run |
cmd from-proc | Parent-Attributed Spawner | cmd_from_proc_candidates | cmd_from_proc |
cmd atnow | One-Shot Task Scheduler | cmd_atnow_tasks | cmd_atnow |
winctl2rust-audio (4 Tools) 4 tools
| CLI Subcommand | Display Name | Read-Only Provider | Policy-Gated Mutating Action |
|---|---|---|---|
audio view | CoreAudio Inspector | audio_view | audio_view_control |
audio ctl | CoreAudio CLI Controller | audio_ctl_status | audio_ctl |
audio app-config | Per-App Audio Routing | audio_app_config | audio_app_config_update |
audio wheel | Wheel Volume Rules | audio_wheel_rules | audio_wheel |
winctl2rust-display (4 Tools) 4 tools
| CLI Subcommand | Display Name | Read-Only Provider | Policy-Gated Mutating Action |
|---|---|---|---|
display monitors | Multi-Monitor Topology | display_monitors | display_monitors_apply |
display ddc | DDC/CI VCP Controller | display_ddc_vcp | display_ddc_set |
display info | Display & EDID Summary | display_info | (read-only) |
display edid | VESA EDID Decoder | display_edid | (read-only) |
winctl2rust-desktop (10 Tools) 10 tools
| CLI Subcommand | Display Name | Read-Only Provider | Policy-Gated Mutating Action |
|---|---|---|---|
desktop props | Window Property Inspector | desktop_props | desktop_props_control |
desktop windows | Top-Level Window Lister | desktop_windows | desktop_windows_control |
desktop tree | Control Hierarchy Explorer | desktop_tree | desktop_tree_control |
desktop ctrl-export | Control Data Exporter | desktop_ctrl_export | (read-only cross-process messaging) |
desktop clipboard | Clipboard Format Inspector | desktop_clipboard | desktop_clipboard_control |
desktop clip-hist | Clipboard History Archive | desktop_clip_hist | desktop_clip_hist_control |
desktop hotkeys | Global Hotkey Inspector | desktop_hotkeys | (read-only .lnk + RegisterHotKey probe) |
desktop keys | Keyboard State Inspector | desktop_keys | (read-only) |
desktop fonts | Installed Font Inspector | desktop_fonts | (read-only) |
desktop webcam | Webcam Frame Capture | desktop_webcam | desktop_webcam_capture |
Command-Line Interface Generator
Build deterministic winctl2rust CLI commands with GuapQuery expressions and Merkle custody manifests.
Pre-Compiled Standalone Binaries & Source Build
Self-contained executables compiled alongside SHA256SUMS.txt, SBOM-crates.txt, and ready-to-submit WinGet & Homebrew manifests under packaging/.
Windows (64-Bit)
MSVC
Ships winctl2rust.exe, winctl2rust-win32.exe, winctl2rust-iced.exe, and winctl2rust-mcp.exe with CFG & /CETCOMPAT.
Linux (64-Bit)
GNU
Native ELF binaries: winctl2rust CLI, winctl2rust-iced (wgpu + tiny-skia), and winctl2rust-mcp.
macOS Apple Silicon
ARM64Native Mach-O ARM64 binaries for Apple Silicon workstations (offline binary parsers, Iced GUI & MCP).
macOS Intel (64-Bit)
x86_64
Intel Mac Mach-O binaries plus full compilation from source on Rust 1.88+ (Edition 2024).
Source Compilation & E2E Verification
Build all 10 crates offline alongside sibling guap-kit, and browse full WinGet/Homebrew manifests inside packaging/.
git clone https://github.com/adpaolucci/guap-kit.git git clone https://github.com/adpaolucci/winctl2rust.git && cd winctl2rust cargo test --workspace --offline cargo build --workspace --release --offline