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
iwr -useb https://raw.githubusercontent.com/CK-Technology/ghostwin/main/install.ps1 | iexghostwin guighostwin build --source-iso Windows11.iso --output-iso GhostWin.isoπ Need detailed setup instructions? Check out GUNPOWDER.md for a step-by-step guide with personality!
- 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 ocean blue theme optimized for WinPE environments
- Intuitive tool management with organized system and automation sections
- Real-time status displays and deployment progress tracking
π§ 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 (skippable with
-PreBuilt) - π¦ Windows ADK β Assessment and Deployment Kit (via
wingetor manual download) - π Windows PE Add-on β Preinstallation Environment support (via
wingetor manual download)
π‘ Tip: The installer uses
wingetas the primary method for ADK/PE installation with automatic fallback to manual downloads ifwingetis unavailable.
# Full installation with dependency handling
iwr -useb https://raw.githubusercontent.com/CK-Technology/ghostwin/main/install.ps1 | iex
# Quick install with pre-built binaries (faster)
iwr -useb https://raw.githubusercontent.com/CK-Technology/ghostwin/main/install.ps1 | iex -PreBuilt
# Custom installation path
iwr -useb https://raw.githubusercontent.com/CK-Technology/ghostwin/main/install.ps1 | iex -InstallPath "C:\Tools\GhostWin"π― Installation Features:
- π€ Smart dependency detection β Checks for all required components
- π¦ Winget integration β Modern package management for ADK/PE installation
- π Automatic fallback β Direct downloads if winget unavailable
- β‘ Pre-built option β Skip compilation for faster setup
- π‘οΈ 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 GUNPOWDER.md for step-by-step instructions!
The GhostWin GUI launches inside WinPE with a professional dark ocean blue theme and intuitive layout:
π― Main Features:
- Installation Modes: "Normal Install" (no modifications) and "Automated Install" (full automation)
- Tool Management Center: System tools and automation scripts organized in dedicated sections
- VNC Remote Access: Integrated controls with real-time connection status
- Professional Theme: Deep ocean blue design optimized for deployment environments
- Real-time Status: System information panel showing tool count and deployment readiness
π¨ UI Framework:
- Slint: β Implemented β native WinPE rendering, minimal dependencies, pure Rust compatible
- Modern dark theme with professional branding
- Responsive layout optimized for various screen resolutions
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.78+) +
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 Guide - Step-by-step setup with personality
- Technical Documentation - Complete technical reference
- Command Reference - CLI command documentation
- VMD Bypass Guide - Disable Intel VMD (no drivers needed!) π₯
- Driver Guide - Auto-download drivers for Dell/Lenovo 15th Gen β‘
- Troubleshooting - Common issues and solutions
π 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! π
