Skip to content

Aknirex/winC2D

Repository files navigation

winC2D — Windows Storage Migration Assistant

Build .NET License Release Downloads GitHub stars

简体中文 · 繁體中文 · 日本語 · 한국어 · Русский · Português (Brasil)


About

winC2D is a Windows disk migration assistant that helps you move installed software and common user folders from your C drive to another disk. It also lets you change the system default installation path and user folder locations — freeing up C drive space without reinstalling anything.

⚠️ Important Notes

After migrating software, winC2D creates symbolic links (symlinks) at the original paths so they remain accessible. Most migrated software will continue to work from its new location without modifying the application or its shortcuts. Standard migration does not touch the registry.

The "Change default install location" option in Settings does modify the system registry to redirect where new apps are installed. If issues arise, restore the default value in Settings or roll back via a system restore point / backup.

Features

  • 📦 Scan installed software on C drive with size and status columns; select multiple entries for batch migration
  • 📁 Scan and migrate common user folders (Documents, Pictures, Downloads, etc.)
  • 🖱️ Graphical target path picker with auto-populated drive drop-down
  • 🔗 Symlinks created automatically after migration to preserve original paths
  • ↩️ Rollback support with full migration log
  • 🌏 In-app language switching — 7 languages supported
  • 🌙 Dark / Light theme follows system, switchable manually
  • 🛡️ Automatically requests administrator elevation on launch
  • 🤖 MCP Server mode — expose all migration capabilities to AI agents via the Model Context Protocol

Tech Stack

  • C# · .NET 8.0 · WPF
  • WPF-UI (Fluent Design)
  • CommunityToolkit.Mvvm · Microsoft.Extensions.DependencyInjection
  • ModelContextProtocol SDK (MCP Server mode)

Download & Run

  1. Download the latest release from Releases

    Version Size Use Case
    Standalone (-standalone.exe) ~70–80 MB ⭐ Recommended — includes .NET 8 runtime, works immediately
    Framework-Dependent (-framework-dependent.exe) ~10–15 MB Requires .NET 8 Runtime pre-installed
  2. Run as Administrator (the app will prompt for elevation automatically)

  3. Requires Windows 10 / 11

MCP Server Mode (for AI Agents)

winC2D v4.0 ships a built-in MCP (Model Context Protocol) server so that AI agents (Claude, GitHub Copilot, etc.) can scan software and drive space, then perform migrations autonomously.

Available MCP Tools

Tool Description Requires Elevation
get_privilege_status Check current privilege level and available operations No
get_disk_info List all fixed drives with free/total space No
scan_software Stream all installed software with size and migration status No
migrate_software Move software to another drive with symlink + optional dry-run Yes
get_task_status Poll migration progress by taskId No
rollback_migration Restore software to original path Yes
list_migrations List all migration tasks in the current session No

Agent Workflow

get_privilege_status → get_disk_info → scan_software
  → migrate_software(dryRun=true)    # validate first
  → migrate_software(dryRun=false)   # get taskId
  → get_task_status (poll every 3-5s until Completed/Failed)
  → rollback_migration (optional)

Privilege Requirements

Creating symbolic links requires either Administrator rights or Windows Developer Mode.

Privilege Level Scan Migrate
Administrator
Developer Mode
Restricted ❌ (returns structured error with fix instructions)

Enable Developer Mode: Settings → System → Developer Options → Developer Mode

Claude Desktop Configuration

{
  "mcpServers": {
    "winC2D": {
      "command": "C:\\path\\to\\winC2D.exe",
      "args": ["--mcp"]
    }
  }
}

Note: The process must run with symlink privileges. Options:

  • Start Claude Desktop as Administrator, or
  • Enable Windows Developer Mode (recommended — permanent, no UAC prompt), or
  • Use gsudo: "command": "gsudo", "args": ["C:\\path\\to\\winC2D.exe", "--mcp"]

VS Code / GitHub Copilot Configuration

Add to your VS Code settings.json:

{
  "mcp": {
    "servers": {
      "winC2D": {
        "type": "stdio",
        "command": "C:\\path\\to\\winC2D.exe",
        "args": ["--mcp"]
      }
    }
  }
}

Contributing

Pull requests are welcome! For major changes, please open an issue first.

License

MIT

About

软件迁移工具 Software Migration Tool for Windows

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages