Skip to content

CK-Technology/ghostwin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GhostWin πŸ‘»

Windows Rust Automation Security CLI/GUI WinPE License

GhostWin Logo

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


πŸš€ Quick Start

One-Line Install (Windows)

iwr -useb https://raw.githubusercontent.com/CK-Technology/ghostwin/main/install.ps1 | iex

Launch GUI

ghostwin gui

Build Custom ISO

ghostwin 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!


✨ Goals

  • 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

✨ Key Features

🎨 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

πŸš€ Installation

Prerequisites

  • Windows 10/11 with Administrator privileges
  • 20GB+ free disk space for ISO building
  • Internet connection for dependency downloads

Dependencies (Automatically Handled)

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 winget or manual download)
  • πŸ”Œ Windows PE Add-on β€” Preinstallation Environment support (via winget or manual download)

πŸ’‘ Tip: The installer uses winget as the primary method for ADK/PE installation with automatic fallback to manual downloads if winget is unavailable.

Automated Installation (Recommended)

# 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

Manual Installation

  1. Install Rust: Download from rustup.rs
  2. Clone Repository: git clone https://github.com/ghostkellz/ghostwin.git
  3. Build Project: cargo build --release
  4. Verify: ./target/release/ghostwin.exe --version

πŸ“– Detailed Setup Guide: Check GUNPOWDER.md for step-by-step instructions!


πŸ–₯️ GUI Interface

GhostWin Screenshot

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

🧰 Toolkit

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

πŸ”§ ISO Creation

GhostWin's ghostwin build CLI tool will:

  1. Mount the Windows boot.wim image
  2. πŸ”₯ Auto-inject storage drivers (Intel VMD/RST, NVMe)
  3. Inject GhostWin helper + user scripts/tools
  4. Inject WinPE packages from ADK
  5. Modify registry if needed (e.g., DPI fix)
  6. Unmount and commit WIM changes
  7. Rebuild a bootable ISO using oscdimg

πŸš€ Two Options for Dell/Lenovo NVMe Systems:

Option 1: Disable Intel VMD in BIOS (Recommended - No Drivers Needed!)

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.

Option 2: Keep VMD Enabled + Auto-Load Drivers

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 -All

Supported 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.

Requirements:

  • Windows ADK + WinPE Add-on
  • Rust (1.78+) + ghostwin CLI
  • Base Windows 11 ISO
  • Storage drivers (auto-downloaded or manual)

πŸ”’ Security

  • 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

🧱 Project Structure

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

πŸ—ΊοΈ Development Roadmap

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

πŸ“œ License

MIT License β€” see LICENSE file.


🎯 Inspiration & Credits

Audit Scripts & WinPE Components

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.

🀝 Contributors

  • Resolve Technology
  • Christopher Kelley (@ghostkellz / CK Technology)
  • Jmclaren7 - Creator of Windows Setup Helper which inspired this project

πŸ”— Links & Resources

πŸ“– Documentation

🌐 Online

πŸ› οΈ Tools & Scripts


GhostWin is your Windows setup automation sidekick, no more hackery to make a local Windows account - no account required! πŸš€

About

a modern, secure, and Rust-powered Windows deployment toolkit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •