Windows Desktop Tool · WPF / .NET 8

AkiSpace

Create a second independent desktop session on a single Windows machine — run full-screen apps, games and automation in the clone while your main desktop keeps working normally.

License MITPlatform Windows 10 / 11Framework WPF · .NET 8Architecture Multi-session RDP · MSTSC ActiveX
Features

What it does

AkiSpace ("Desktop Clone") is built on Windows multi-session RDP (unlocked via RDP Wrapper/TermWrap), an embedded MSTSC ActiveX viewer and cross-session input forwarding, with two connection modes: Standard RDP over a separate local account, or a Windows child session (identical to BetterGI's technique). Ships as a WPF app with an Aurora Glass UI, bilingual interface and system tray integration.

🖥️

One-click clone

Click Connect or press Ctrl+Shift+D to instantly connect; the embedded window shows the clone desktop live.

📋

Clone screenshot

Toolbar button, tray item or Ctrl+Shift+S captures the clone desktop straight to the host clipboard (Bitmap + PNG formats).

🌌

Aurora Glass UI

Four switchable color packs — Aurora Dusk & Amber Afterglow (dark), Mint Fresh & Pearl Blush (light) — with live preview, an animated aurora backdrop and liquid-glass cards.

🌐

Bilingual UI (EN / 中文)

The entire interface — windows, dialogs, tray menu, even the elevated fix console — switches with one click on the toolbar globe button; the choice persists.

🔀

Dual connection modes

Standard RDP (separate local account) or Child Session (same user, BetterGI-style) — switch in Settings.

🖱️

Game mouse mode

Host relative mouse motion is captured and forwarded to the clone session by an auto-launched replay agent, with cursor auto-clip & hide; hold Alt to temporarily release the cursor back.

🩺

Environment check / repair

One-click detection & repair for RDP status, multi-session, RDP Wrapper, StartRCM and firewall, with a mode-aware verdict; standard RDP can be unlocked with one click (SHA-256-verified pinned download).

📊

Monitor, tray & launch

System-wide CPU & memory in the status bar; minimize to tray with global hotkeys, and launch programs inside the clone via Task Scheduler with admin rights.

Screenshot
AkiSpace main window
Details

Architecture

ComponentFileResponsibility
Session MgmtNative/WtsApi.csWTS session query/listen status
Input InteropNative/User32.csRaw Input, SendInput, ClipCursor, GUI thread info
RDP ViewerControls/RdpActiveXHost.csAxHost wraps MsRdpClient11, dual-mode connect (StdRDP/ChildSession), retry logic
IPCIpc/Pipes.cs, Ipc/IpcProtocol.csNamed Pipes + Binary Frame Protocol
Mouse CaptureInput/RawInputMonitor.csDedicated STA thread, RIDEV_INPUTSINK
Mouse ForwardInput/MouseForwarder.csAccumulate/direction-reverse flush/10ms batch/Alt release
Cursor MgmtInput/CursorCapture.csClipCursor + ShowCursor(false) paired restore
Elevated LaunchServices/ProcessLauncher.csTask Scheduler COM (TASK_RUN_USE_SESSION_ID)
Env CheckServices/EnvironmentVerifier.cs10 prerequisite checks/fixes
Quick Start

Set up the clone

  1. Download the latest release, or build from source with the command below (needs .NET 8 Desktop Runtime or SDK).
  2. Windows Home: install an RDP unlock layer, then run in-app Environment Check → One-Click Fix until every check passes.
  3. Create a password-protected local account for the clone (Standard RDP mode; Child Session uses your current account and needs none).
  4. Press Ctrl+Shift+D — the embedded window shows the clone desktop; click Launch Program to run apps inside it.
shell
dotnet build src/AkiSpace/AkiSpace.csproj

# Clone account (Standard RDP mode)
net user AkiSpaceUser <your-password> /add
net localgroup Administrators AkiSpaceUser /add
Windows 桌面工具 · WPF / .NET 8

项目简介

AkiSpace(桌面分身)构建于 Windows 多会话 RDP(经 RDP Wrapper/TermWrap 解锁)、内嵌 MSTSC ActiveX 查看器与跨会话输入转发之上,支持两种连接模式:独立本地账户的标准 RDP,或与 BetterGI 同款的 Windows 子会话。以 WPF 应用交付,配有 Aurora Glass 界面、中英双语与系统托盘集成。

🖥️

一键连接分身

点击「连接」或按 Ctrl+Shift+D 立即连接,内嵌窗口实时显示分身桌面。

📋

一键截屏分身

工具栏按钮、托盘菜单或 Ctrl+Shift+S 把分身桌面直接截取到主系统剪贴板(同时含 Bitmap 与 PNG 两种格式)。

🌌

Aurora Glass 界面

四套可切换配色包——极光暮色 / 琥珀霞光(深色)、薄荷清新 / 珍珠雾粉(浅色),设置内即时预览;极光动效背景与液态玻璃卡片。

🌐

中英双语界面

整个界面——窗口、对话框、托盘菜单乃至管理员修复控制台——由工具栏地球按钮一键切换,选择持久化。

🔀

双连接模式

「标准 RDP」(独立本地账户)与「子会话」(当前账户,BetterGI 同款)在设置中切换。

🖱️

游戏鼠标模式

捕获主桌面相对鼠标移动,由自动启动的回放 Agent 转发到分身会话,光标自动裁剪/隐藏;按住 Alt 临时释放光标回主桌面。

🩺

环境检查/修复

一键检测并修复 RDP 状态、多会话、RDP Wrapper、StartRCM、防火墙等前置条件,给出模式感知结论;标准 RDP 支持一键解锁(下载钉定版本并按 SHA-256 校验)。

📊

监控、托盘与启动

状态栏实时显示系统级 CPU 与内存;最小化到托盘、全局热键,并可通过 Task Scheduler 以管理员权限在分身中启动程序。

明细

技术架构

组件文件职责
会话管理Native/WtsApi.csWTS 会话查询/监听状态
输入互操作Native/User32.csRaw Input, SendInput, ClipCursor, GUI 线程信息
RDP 查看器Controls/RdpActiveXHost.csAxHost 封装 MsRdpClient11,双模式连接(标准RDP/子会话),重试连接
IPCIpc/Pipes.cs, Ipc/IpcProtocol.cs命名管道 + 二进制帧协议
鼠标捕获Input/RawInputMonitor.cs独立 STA 线程,RIDEV_INPUTSINK
鼠标转发Input/MouseForwarder.cs累积/方向反转即刷/10ms 批处理/Alt 释放
光标管理Input/CursorCapture.csClipCursor + ShowCursor(false) 配对恢复
提权启动Services/ProcessLauncher.csTask Scheduler COM (TASK_RUN_USE_SESSION_ID)
环境检查Services/EnvironmentVerifier.cs10 项前置条件检测/修复
  1. 下载最新版本,或用下方命令从源码构建(需要 .NET 8 Desktop Runtime 或 SDK)。
  2. Windows 家庭版:安装 RDP 解锁层,然后在应用内运行环境检查 → 一键修复,直至全部通过。
  3. 为分身创建一个带密码的本地账户(标准 RDP 模式;子会话模式使用当前账户,无需新建)。
  4. 按 Ctrl+Shift+D——内嵌窗口显示分身桌面;点击启动程序在分身中运行应用。
shell
dotnet build src/AkiSpace/AkiSpace.csproj

# Clone account (Standard RDP mode)
net user AkiSpaceUser <your-password> /add
net localgroup Administrators AkiSpaceUser /add