GhostWin is your Windows setup automation sidekick, no more hackery to make a local Windows account - no account required!
A modern, secure, and Rust-powered Windows deployment toolkit designed for IT professionals. Built with simplicity, automation, and powerful customization in mind, GhostWin provides a fast and reliable interface for building custom Windows installer images with embedded scripts, tools, and user-driven options.
✅ Built for Resolve Technology in collaboration with Christopher Kelley
irm https://win.cktech.sh | iexghostwin guighostwin build --source-iso Windows11.iso --output-iso GhostWin.iso📖 Need setup details? Start with docs/getting-started/setup.md.
- Rust-native ISO builder for Windows-based WinPE environments
- CLI and GUI workflows for power users and technicians
- Built-in automation for post-install scripts, tool inclusion, driver injection
- Flexible folder-based config system for layout and tool registration
- Remote-friendly with optional VNC/mesh VPN integrations
- Better DX than DISM/Build.bat workflows
🎨 Modern GUI Interface
- Professional dark theme optimized for WinPE environments
- Intuitive sidebar navigation with build, install, and tools views
- Real-time progress tracking and toast notifications
🔧 Powerful Automation
- One-click deployment modes: Normal and Automated installation
- Integrated script execution for registry tweaks and system configuration
- Auto-detection and organization of tools across multiple directories
🌐 Remote Access Ready
- Built-in VNC server with connection management
- Secure remote assistance capabilities for complex deployments
- Real-time connectivity status and controls
⚡ Performance & Reliability
- Rust-native implementation for speed and memory safety
- Minimal dependencies optimized for WinPE environments
- Robust error handling and recovery mechanisms
- Windows 10/11 with Administrator privileges
- 20GB+ free disk space for ISO building
- Internet connection for dependency downloads
The installer automatically detects and installs required dependencies:
- 🔧 Visual Studio Build Tools — Required for Windows compilation
- 🦀 Rust Toolchain — For building from source
- 📦 Windows ADK — Assessment and Deployment Kit
- 🔌 Windows PE Add-on — Preinstallation Environment support
💡 Tip: The installer uses
wingetwhen available, with automatic fallback to direct downloads.
irm https://win.cktech.sh | iexThe installer handles dependency detection, Rust installation, ADK/WinPE setup, and builds GhostWin from source.
🎯 Installation Features:
- 🤖 Smart dependency detection — Checks for Rust, ADK, and WinPE components
- 📦 Winget integration — Uses winget for ADK/PE with fallback to direct downloads
- 🛡️ Error handling — Clear guidance when issues occur
- Install Rust: Download from rustup.rs
- Clone Repository:
git clone https://github.com/ghostkellz/ghostwin.git - Build Project:
cargo build --release - Verify:
./target/release/ghostwin.exe --version
📖 Detailed Setup Guide: Check docs/getting-started/setup.md.
The GhostWin GUI launches inside WinPE with a clean dark theme and sidebar-based navigation:
🎯 Main Features:
- Dashboard: Quick access to build, install, and tools with system status overview
- Build View: Create custom Windows ISOs with progress tracking
- Install View: Normal and Automated installation modes
- Tools View: Category-filtered tool browser with one-click execution
- VNC Control: Sidebar toggle with connection status
🎨 UI Framework:
- Slint: Native WinPE rendering, minimal dependencies, pure Rust
- Dark theme with consistent spacing and typography
- Responsive layout with compact and comfortable modes
GhostWin includes:
- 📦 7-Zip — Compression + ISO extraction
- 📁 Explorer++ — WinPE file browser
- 🧠 Sysinternals Suite — Disk2VHD, Autoruns, etc.
- 🔍 NirSoft Utilities — Device + event log explorers
- 💡 ReactOS Paint — Image viewer
- 🔧 NTPWEdit — Local account password reset
- 🧪 CrystalDisk, GSmartControl — Disk health & benchmarks
- 🔐 Optional: Netbird or Tailscale support for remote/mesh connectivity
GhostWin's ghostwin build CLI tool will:
- Mount the Windows boot.wim image
- 🔥 Auto-inject storage drivers (Intel VMD/RST, NVMe)
- Inject GhostWin helper + user scripts/tools
- Inject WinPE packages from ADK
- Modify registry if needed (e.g., DPI fix)
- Unmount and commit WIM changes
- Rebuild a bootable ISO using
oscdimg
For fresh Windows installs, just change one BIOS setting:
Dell: BIOS → System Configuration → SATA Operation → AHCI Lenovo: BIOS → Devices → SATA Controller Mode → AHCI
✅ No drivers needed ✅ Drives visible immediately ✅ Simplest solution
See VMD Bypass Guide for step-by-step instructions.
For systems requiring RAID or Intel Optane:
# Download Intel RST drivers automatically
.\scripts\Download-Drivers.ps1 -IntelRST
# Download all supported drivers
.\scripts\Download-Drivers.ps1 -AllSupported Hardware:
- ✅ Intel 15th Gen (Arrow Lake) with VMD
- ✅ Micron 3400 NVMe (common in Dell 2024+ systems)
- ✅ Samsung 980 PRO / 990 PRO / 970 EVO Plus
- ✅ Dell Optiplex 3000/5000/7000/9000 series
See Driver Guide for driver setup details.
- Windows ADK + WinPE Add-on
- Rust (1.94+) +
ghostwinCLI - Base Windows 11 ISO
- Storage drivers (auto-downloaded or manual)
- No modifications to install.wim by default
- Scripts and tools are user-injected and logged
- Optional remote access tools are encrypted & ephemeral
- ISO builds are reproducible via config file
ghostwin/
├── ghostwin.exe
├── ghostwin.toml # Configuration file
├── tools/ # System tools
├── scripts/ # Build scripts
├── pe_autorun/ # Auto-run scripts
├── resources/ # Fonts, icons, etc
└── config/ # Default configurations
| Feature | Status | Notes |
|---|---|---|
| Build custom WinPE ISOs | 🟨 In Progress | Clean Rust CLI instead of batch scripts |
| Integrate scripts & tools | 🟩 Done | Folder-based detection (/Tools, /Logon) |
| GUI frontend in WinPE | 🟩 Done | Slint-based native GUI with dark theme |
| VNC & remote access | 🟩 Done | TightVNC integration and status display |
| Driver injection | 🟨 Planned | PEAutoRun/Drivers/ detection |
| Logon script selector | 🟨 In Progress | With background/system context flags |
ghostwin build CLI tool |
🟨 In Progress | Replaces Build.bat completely |
MIT License — see LICENSE file.
The audit scripts and WinPE functionality in GhostWin were inspired by Windows Setup Helper created by jmclaren7. Windows Setup Helper provided valuable insights into automating Windows deployment and served as a foundation for our enhanced automation features.
- Resolve Technology
- Christopher Kelley (@ghostkellz / CK Technology)
- Jmclaren7 - Creator of Windows Setup Helper which inspired this project
📖 Documentation
- Setup
- Architecture
- Windows Build
- Command Reference
- Configuration Reference
- Troubleshooting
- VMD Bypass Guide
- Driver Guide
- ADK/WinPE Guide
- Project Docs Index
🌐 Online
- CK Technology - Professional IT services
- GhostKellz - Developer portfolio and tools
🛠️ Tools & Scripts
- Tool Collection - System utilities and diagnostic tools
- Automation Scripts - Deployment and configuration automation
- PE AutoRun - Boot-time script execution
GhostWin is your Windows setup automation sidekick, no more hackery to make a local Windows account - no account required! 🚀
